/** * split page to next page at specified position */ function splitPageNext() { global $ilErr; if ($this->pg_obj->getParentType() != "lm" && $this->pg_obj->getParentType() != "dbk") { $ilErr->raiseError("Split method called for wrong parent type (" . $this->pg_obj->getParentType() . ")", $ilErr->FATAL); } else { $succ_id = ilLMPageObject::_splitPageNext($this->pg_obj->getId(), $this->pg_obj->getParentType(), $this->hier_id); // jump to successor page if ($succ_id > 0) { $this->ctrl->setParameterByClass("illmpageobjectgui", "obj_id", $succ_id); $this->ctrl->redirectByClass("illmpageobjectgui", "edit"); } } $this->ctrl->returnToParent($this, "jump" . ($this->hier_id - 1)); }