Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_contentbank\output\bankcontent Class Reference
Inheritance diagram for core_contentbank\output\bankcontent:
renderable templatable

Public Member Functions

 __construct (array $contents, array $toolbar, ?\context $context, contentbank $cb)
 Construct this renderable.
 
 export_for_template (renderer_base $output)
 Export the data.
 

Constructor & Destructor Documentation

◆ __construct()

core_contentbank\output\bankcontent::__construct ( array $contents,
array $toolbar,
?\context $context,
contentbank $cb )

Construct this renderable.

Parameters
core_contentbank\content[]$contentsArray of content bank contents.
array$toolbarList of content bank toolbar options.
context | null$contextOptional context to check (default null)
contentbank$cbContenbank object.

Member Function Documentation

◆ export_for_template()

core_contentbank\output\bankcontent::export_for_template ( renderer_base $output)

Export the data.

Parameters
renderer_base$output
Return values
stdClass

Implements templatable.


The documentation for this class was generated from the following file: