/** * create new page or chapter in chapter */ function create() { if ($_GET["obj_id"] != "") { $this->setTabs(); } parent::create(); }