Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
6669669f
Commit
6669669f
authored
Apr 16, 2012
by
Sam Hemelryk
Browse files
Merge branch 'MDL-29174-master' of
git://github.com/raymanuk/moodle
parents
2e70e457
8e6530d8
Changes
7
Hide whitespace changes
Inline
Side-by-side
mod/folder/lib.php
View file @
6669669f
...
...
@@ -326,26 +326,6 @@ function folder_pluginfile($course, $cm, $context, $filearea, $args, $forcedownl
send_stored_file
(
$file
,
86400
,
0
,
true
);
}
/**
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The folder node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function
folder_extend_navigation
(
$navigation
,
$course
,
$module
,
$cm
)
{
/**
* This is currently just a stub so that it can be easily expanded upon.
* When expanding just remove this comment and the line below and then add
* you content.
*/
$navigation
->
nodetype
=
navigation_node
::
NODETYPE_LEAF
;
}
/**
* Return a list of page types
* @param string $pagetype current page type
...
...
mod/imscp/lib.php
View file @
6669669f
...
...
@@ -390,26 +390,6 @@ function imscp_pluginfile($course, $cm, $context, $filearea, $args, $forcedownlo
}
}
/**
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The imscp node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function
imscp_extend_navigation
(
$navigation
,
$course
,
$module
,
$cm
)
{
/**
* This is currently just a stub so that it can be easily expanded upon.
* When expanding just remove this comment and the line below and then add
* you content.
*/
$navigation
->
nodetype
=
navigation_node
::
NODETYPE_LEAF
;
}
/**
* Return a list of page types
* @param string $pagetype current page type
...
...
mod/lesson/lib.php
View file @
6669669f
...
...
@@ -788,26 +788,6 @@ function lesson_supports($feature) {
}
}
/**
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The lesson node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function
lesson_extend_navigation
(
$navigation
,
$course
,
$module
,
$cm
)
{
/**
* This is currently just a stub so that it can be easily expanded upon.
* When expanding just remove this comment and the line below and then add
* you content.
*/
$navigation
->
nodetype
=
navigation_node
::
NODETYPE_LEAF
;
}
/**
* This function extends the settings navigation block for the site.
*
...
...
mod/page/lib.php
View file @
6669669f
...
...
@@ -420,27 +420,6 @@ function page_pluginfile($course, $cm, $context, $filearea, $args, $forcedownloa
}
}
/**
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The page node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function
page_extend_navigation
(
$navigation
,
$course
,
$module
,
$cm
)
{
/**
* This is currently just a stub so that it can be easily expanded upon.
* When expanding just remove this comment and the line below and then add
* you content.
*/
$navigation
->
nodetype
=
navigation_node
::
NODETYPE_LEAF
;
}
/**
* Return a list of page types
* @param string $pagetype current page type
...
...
mod/scorm/lib.php
View file @
6669669f
...
...
@@ -1000,26 +1000,6 @@ function scorm_supports($feature) {
}
}
/**
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The scorm node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function
scorm_extend_navigation
(
$navigation
,
$course
,
$module
,
$cm
)
{
/**
* This is currently just a stub so that it can be easily expanded upon.
* When expanding just remove this comment and the line below and then add
* you content.
*/
$navigation
->
nodetype
=
navigation_node
::
NODETYPE_LEAF
;
}
/**
* Get the filename for a temp log file
*
...
...
mod/survey/lib.php
View file @
6669669f
...
...
@@ -813,26 +813,6 @@ function survey_supports($feature) {
}
}
/**
* This fucntion extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The quiz node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function
survey_extend_navigation
(
$navigation
,
$course
,
$module
,
$cm
)
{
/**
* This is currently just a stub so that it can be easily expanded upon.
* When expanding just remove this comment and the line below and then add
* you content.
*/
$navigation
->
nodetype
=
navigation_node
::
NODETYPE_LEAF
;
}
/**
* This function extends the settings navigation block for the site.
*
...
...
mod/url/lib.php
View file @
6669669f
...
...
@@ -296,26 +296,6 @@ function url_get_coursemodule_info($coursemodule) {
return
$info
;
}
/**
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The url node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function
url_extend_navigation
(
$navigation
,
$course
,
$module
,
$cm
)
{
/**
* This is currently just a stub so that it can be easily expanded upon.
* When expanding just remove this comment and the line below and then add
* you content.
*/
$navigation
->
nodetype
=
navigation_node
::
NODETYPE_LEAF
;
}
/**
* Return a list of page types
* @param string $pagetype current page type
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment