function savePublicSection()
 {
     //var_dump($_POST["lm_public_mode"]);exit;
     $this->object->setPublicAccessMode($_POST["lm_public_mode"]);
     $this->object->updateProperties();
     ilLMObject::_writePublicAccessStatus($_POST["pages"], $this->object->getId());
     ilUtil::sendSuccess($this->lng->txt("msg_obj_modified"), true);
     $this->ctrl->redirect($this, "editPublicSection");
 }
 /**
  * Saves public lm pages
  */
 function savePublicSectionPages()
 {
     ilLMObject::_writePublicAccessStatus($_POST["pages"], $this->object->getId());
     ilUtil::sendSuccess($this->lng->txt("msg_obj_modified"), true);
     $this->ctrl->redirect($this, "editPublicSection");
 }