Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/wiki/overridelocks.php File Reference

Go to the source code of this file.

Namespaces

namespace  mod
 

Local Library of functions for module scorm.


Variables

 $pageid = required_param('pageid', PARAM_INT)
 $section = optional_param('section', '', PARAM_TEXT)
if(!$page=wiki_get_page($pageid))
if(!$subwiki=wiki_get_subwiki($page->
subwikiid)) if(!$wiki=wiki_get_wiki($subwiki->
wikiid)) if(!$cm=get_coursemodule_from_instance('wiki',
$wiki->id)) 
$course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST)
 $context = get_context_instance(CONTEXT_MODULE, $cm->id)
if(!confirm_sesskey()) $wikipage = new page_wiki_overridelocks($wiki, $subwiki, $cm)

Variable Documentation

Definition at line 67 of file overridelocks.php.

if (!$page=wiki_get_page($pageid)) if (!$subwiki=wiki_get_subwiki($page->subwikiid)) if (!$wiki=wiki_get_wiki($subwiki->wikiid)) if (!$cm=get_coursemodule_from_instance('wiki', $wiki->id)) $course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST)

Definition at line 59 of file overridelocks.php.

Definition at line 40 of file overridelocks.php.

$section = optional_param('section', '', PARAM_TEXT)

Definition at line 41 of file overridelocks.php.

if (!confirm_sesskey()) $wikipage = new page_wiki_overridelocks($wiki, $subwiki, $cm)

Definition at line 76 of file overridelocks.php.

 All Data Structures Namespaces Files Functions Variables Enumerations