Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | List of all members
tool_lp\url_resolver Class Reference

URL resolver class. More...

Public Member Functions

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

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: