Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

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: