Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_lp\url_resolver Class Reference

URL resolver class. More...

Public Member Functions

 competency ($competencyid, $pagecontextid)
 The URL where the competency can be found.
 
 framework ($frameworkid, $pagecontextid)
 The URL where the framework can be found.
 
 frameworks ($pagecontextid)
 The URL where the frameworks can be found.
 
 plan ($planid)
 The URL where the plan can be found.
 
 plans ($userid)
 The URL where the plans of a user can be found.
 
 template ($templateid, $pagecontextid)
 The URL where the template can be found.
 
 templates ($pagecontextid)
 The URL where the templates can be found.
 
 user_competency ($usercompetencyid)
 The URL where the user competency can be found.
 
 user_competency_in_course ($userid, $competencyid, $courseid)
 The URL where the user competency can be found in the context of a course.
 
 user_competency_in_plan ($userid, $competencyid, $planid)
 The URL where the user competency can be found in the context of a plan.
 
 user_evidence ($userevidenceid)
 The URL where the user evidence (of prior learning) can be found.
 

Detailed Description

URL resolver class.

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

Member Function Documentation

◆ competency()

tool_lp\url_resolver::competency ( $competencyid,
$pagecontextid )

The URL where the competency can be found.

Parameters
int$competencyidThe competency ID.
int$pagecontextidThe ID of the context we are in.
Return values
moodle_url

◆ framework()

tool_lp\url_resolver::framework ( $frameworkid,
$pagecontextid )

The URL where the framework can be found.

Parameters
int$frameworkidThe framework ID.
int$pagecontextidThe ID of the context we are in.
Return values
moodle_url

◆ frameworks()

tool_lp\url_resolver::frameworks ( $pagecontextid)

The URL where the frameworks can be found.

Parameters
int$pagecontextidThe ID of the context that we are browsing.
Return values
moodle_url

◆ plan()

tool_lp\url_resolver::plan ( $planid)

The URL where the plan can be found.

Parameters
int$planidThe plan ID.
Return values
moodle_url

◆ plans()

tool_lp\url_resolver::plans ( $userid)

The URL where the plans of a user can be found.

Parameters
int$useridThe user ID.
Return values
moodle_url

◆ template()

tool_lp\url_resolver::template ( $templateid,
$pagecontextid )

The URL where the template can be found.

Parameters
int$templateidThe template ID.
int$pagecontextidThe ID of the context we are in.
Return values
moodle_url

◆ templates()

tool_lp\url_resolver::templates ( $pagecontextid)

The URL where the templates can be found.

Parameters
int$pagecontextidThe ID of the context that we are browsing.
Return values
moodle_url

◆ user_competency()

tool_lp\url_resolver::user_competency ( $usercompetencyid)

The URL where the user competency can be found.

Parameters
int$usercompetencyidThe user competency ID
Return values
moodle_url

◆ user_competency_in_course()

tool_lp\url_resolver::user_competency_in_course ( $userid,
$competencyid,
$courseid )

The URL where the user competency can be found in the context of a course.

Parameters
int$useridThe user ID
int$competencyidThe competency ID.
int$courseidThe course ID.
Return values
moodle_url

◆ user_competency_in_plan()

tool_lp\url_resolver::user_competency_in_plan ( $userid,
$competencyid,
$planid )

The URL where the user competency can be found in the context of a plan.

Parameters
int$useridThe user ID
int$competencyidThe competency ID.
int$planidThe plan ID.
Return values
moodle_url

◆ user_evidence()

tool_lp\url_resolver::user_evidence ( $userevidenceid)

The URL where the user evidence (of prior learning) can be found.

Parameters
int$userevidenceidThe user evidence ID
Return values
moodle_url

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