Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Public Member Functions | List of all members
core_contentbank\output\bankcontent Class Reference
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.
 

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: