/** * Go to random page * * @param string $a_page page title */ function randomPageObject() { $this->checkPermission("read"); include_once "./Modules/Wiki/classes/class.ilWikiPage.php"; $page = ilWikiPage::getRandomPage($this->object->getId()); $this->gotoPageObject($page); }