Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
core_user\output\myprofile\manager Class Reference

Defines MAnager class for myprofile navigation tree. More...

Static Public Member Functions

static build_tree ($user, $iscurrentuser, $course=null)
 Parse all callbacks and builds the tree. More...
 

Detailed Description

Defines MAnager class for myprofile navigation tree.

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

Member Function Documentation

◆ build_tree()

static core_user\output\myprofile\manager::build_tree (   $user,
  $iscurrentuser,
  $course = null 
)
static

Parse all callbacks and builds the tree.

Parameters
integer$userID of the user for which the profile is displayed.
bool$iscurrentusertrue if the profile being viewed is of current user, else false.
stdClass$courseCourse object
Return values
treeFully build tree to be rendered on my profile page.

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