fixed phpdocs param types
This commit is contained in:
+2
-2
@@ -1001,7 +1001,7 @@ class admin_externalpage implements part_of_admin_tree {
|
||||
* @param string $url The external URL that we should link to when someone requests this external page.
|
||||
* @param mixed $req_capability The role capability/permission a user must have to access this external page. Defaults to 'moodle/site:config'.
|
||||
* @param boolean $hidden Is this external page hidden in admin tree block? Default false.
|
||||
* @param context $context The context the page relates to. Not sure what happens
|
||||
* @param stdClass $context The context the page relates to. Not sure what happens
|
||||
* if you specify something other than system or front page. Defaults to system.
|
||||
*/
|
||||
public function __construct($name, $visiblename, $url, $req_capability='moodle/site:config', $hidden=false, $context=NULL) {
|
||||
@@ -1142,7 +1142,7 @@ class admin_settingpage implements part_of_admin_tree {
|
||||
* @param string $visiblename The displayed name for this external page. Usually obtained through get_string().
|
||||
* @param mixed $req_capability The role capability/permission a user must have to access this external page. Defaults to 'moodle/site:config'.
|
||||
* @param boolean $hidden Is this external page hidden in admin tree block? Default false.
|
||||
* @param context $context The context the page relates to. Not sure what happens
|
||||
* @param stdClass $context The context the page relates to. Not sure what happens
|
||||
* if you specify something other than system or front page. Defaults to system.
|
||||
*/
|
||||
public function __construct($name, $visiblename, $req_capability='moodle/site:config', $hidden=false, $context=NULL) {
|
||||
|
||||
@@ -654,10 +654,10 @@ function wiki_parser_table($table) {
|
||||
/**
|
||||
* Returns an absolute path link, unless there is no such link.
|
||||
*
|
||||
* @param url Link's URL
|
||||
* @param context filearea params
|
||||
* @param filearea
|
||||
* @param fileareaid
|
||||
* @param string url Link's URL
|
||||
* @param stdClass context filearea params
|
||||
* @param string filearea
|
||||
* @param int fileareaid
|
||||
*
|
||||
* @return File full path
|
||||
*/
|
||||
@@ -995,8 +995,8 @@ function wiki_delete_old_locks() {
|
||||
/**
|
||||
* Uploads files to permanent disk space.
|
||||
*
|
||||
* @param draftitemid Draft space ID
|
||||
* @param contextid
|
||||
* @param int draftitemid Draft space ID
|
||||
* @param int contextid
|
||||
*
|
||||
* @return array of files that have not been inserted.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user