|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| initialise_default_pagetype ($script=null) | |
| url_to_class_name ($url) | |
| all_editing_caps () | |
Test-specific subclass to make some protected things public.
Definition at line 41 of file testpagelib_moodlepage.php.
| all_editing_caps | ( | ) |
Reimplemented from moodle_page.
Definition at line 48 of file testpagelib_moodlepage.php.
| initialise_default_pagetype | ( | $ | script = null | ) |
Sets ->pagetype from the script name. For example, if the script that was run is mod/quiz/view.php, ->pagetype will be set to 'mod-quiz-view'.
| string | $script | the path to the script that should be used to initialise ->pagetype. If not passed the $SCRIPT global will be used. If legacy code has set $CFG->pagepath that will be used instead, and a developer warning issued. |
Reimplemented from moodle_page.
Definition at line 42 of file testpagelib_moodlepage.php.
| url_to_class_name | ( | $ | url | ) |
Reimplemented from moodle_page.
Definition at line 45 of file testpagelib_moodlepage.php.