Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | List of all members
core_contentbank\output\bankcontent Class Reference

Class containing data for bank content. More...

Inheritance diagram for core_contentbank\output\bankcontent:
renderable templatable

Public Member Functions

 __construct (array $contents, array $toolbar, context $context=null)
 Construct this renderable. More...
 
 export_for_template (renderer_base $output)
 Export the data. More...
 

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 = null 
)

Construct this renderable.

Parameters
core_contentbank::content[]$contentsArray of content bank contents.
array$toolbarList of content bank toolbar options.
context$contextOptional context to check (default null)

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: