|
Moodle
2.2.1
http://www.collinsharper.com
|
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) | |
| 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) |
| $wikipage = new page_wiki_comments($wiki, $subwiki, $cm) | |
| Print the page header. | |
| 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 58 of file comments.php.
| $pageid = required_param('pageid', PARAM_TEXT) |
Definition at line 40 of file comments.php.
| $wikipage = new page_wiki_comments($wiki, $subwiki, $cm) |
Print the page header.
Definition at line 65 of file comments.php.