Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: