Defines a node in my profile page navigation.
More...
|
| __construct ($parentcat, $name, $title, $after=null, $url=null, $content=null, $icon=null, $classes=null) |
| Constructor for the node. More...
|
|
| __get ($prop) |
| Magic get method. More...
|
|
Defines a node in my profile page navigation.
- Since
- Moodle 2.9
- Copyright
- 2015 onwards Ankit Agarwal
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_user\output\myprofile\node::__construct |
( |
|
$parentcat, |
|
|
|
$name, |
|
|
|
$title, |
|
|
|
$after = null , |
|
|
|
$url = null , |
|
|
|
$content = null , |
|
|
|
$icon = null , |
|
|
|
$classes = null |
|
) |
| |
Constructor for the node.
- Parameters
-
string | $parentcat | Name of parent category. |
string | $name | Name of this node. |
string | $title | Title of this node. |
null | string | $after | Name of the node after which this node should appear. |
null | string | moodle_url | $url | Url that this node should link to. |
null | string | $content | Content to display under this node. |
null | string | pix_icon | $icon | Icon for this node. |
null | string | $classes | a list of css classes. |
◆ __get()
core_user\output\myprofile\node::__get |
( |
|
$prop | ) |
|
Magic get method.
- Parameters
-
string | $prop | property to get. |
- Return values
-
- Exceptions
-
The documentation for this class was generated from the following file: