Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/wiki/history.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_TEXT)
 $paging = optional_param('page', 0, PARAM_INT)
 $allversion = optional_param('allversion', 0, PARAM_INT)
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)
 $wikipage = new page_wiki_history($wiki, $subwiki, $cm)
 Print the page header.

Variable Documentation

$allversion = optional_param('allversion', 0, PARAM_INT)

Definition at line 41 of file history.php.

Definition at line 62 of file history.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 history.php.

Definition at line 39 of file history.php.

$paging = optional_param('page', 0, PARAM_INT)

Definition at line 40 of file history.php.

$wikipage = new page_wiki_history($wiki, $subwiki, $cm)

Print the page header.

Definition at line 67 of file history.php.

 All Data Structures Namespaces Files Functions Variables Enumerations