Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
block_myprofile\output\myprofile Class Reference

Class containing data for myprofile block. More...

Inheritance diagram for block_myprofile\output\myprofile:
renderable templatable

Public Member Functions

 __construct ($config)
 Constructor. More...
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template. More...
 

Protected Attributes

object $config
 An object containing the configuration information for the current instance of this block.
 

Detailed Description

Class containing data for myprofile block.

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

Constructor & Destructor Documentation

◆ __construct()

block_myprofile\output\myprofile::__construct (   $config)

Constructor.

Parameters
object$configAn object containing the configuration information for the current instance of this block.

Member Function Documentation

◆ export_for_template()

block_myprofile\output\myprofile::export_for_template ( renderer_base  $output)

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$output
Return values
stdClass

Implements templatable.


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