Defines a node in my profile page navigation.
Copyright: | 2015 onwards Ankit Agarwal |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 120 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
node:: (2 methods):
__construct()
__get()
__construct($parentcat, $name, $title, $after = null, $url = null, $content = null, $icon = null,$classes = null) X-Ref |
Constructor for the node. param: string $parentcat Name of parent category. param: string $name Name of this node. param: string $title Title of this node. param: null|string $after Name of the node after which this node should appear. param: null|string|\moodle_url $url Url that this node should link to. param: null|string $content Content to display under this node. param: null|string|\pix_icon $icon Icon for this node. param: null|string $classes a list of css classes. |
__get($prop) X-Ref |
Magic get method. param: string $prop property to get. return: mixed |