Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_contentbank\output\bankcontent Class Reference

Class containing data for bank content. More...

Inheritance diagram for core_contentbank\output\bankcontent:

Public Member Functions

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

Detailed Description

Class containing data for bank content.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

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: