Lines Matching defs:rev
396 * @param int $rev Revision timestamp to access an older revision
401 public function getPage($page, $rev = 0)
403 $page = $this->checkPage($page, $rev, false);
405 $text = rawWiki($page, $rev);
406 if (!$text && !$rev) {
425 * @param int $rev revision timestamp
430 public function getPageHTML($page, $rev = 0)
432 $page = $this->checkPage($page, $rev);
434 return (string)p_wiki_xhtml($page, $rev, false);
445 * @param int $rev revision timestamp
452 public function getPageInfo($page, $rev = 0, $author = false, $hash = false)
454 $page = $this->checkPage($page, $rev);
456 $result = new Page($page, $rev);
489 foreach ($revisions as $rev) {
490 if (!page_exists($page, $rev)) continue; // skip non-existing revisions
491 $info = $pagelog->getRevisionInfo($rev);
495 $rev,
823 * @param int $rev revision timestamp
830 public function getMedia($media, $rev = 0)
837 $file = mediaFN($media, $rev);
854 * @param int $rev revision timestamp
862 public function getMediaInfo($media, $rev = 0, $author = false, $hash = false)
868 if (!media_exists($media, $rev)) {
872 $info = new Media($media, $rev);
1004 * @param int $rev page revision
1011 private function checkPage($id, $rev = 0, $existCheck = true, $minAccess = AUTH_READ)
1018 if ($existCheck && !page_exists($id, $rev)) {