/**
  * Init set page layout form.
  */
 public function initSetPageLayoutForm()
 {
     global $lng, $ilCtrl;
     include_once "Services/Form/classes/class.ilPropertyFormGUI.php";
     $this->form = new ilPropertyFormGUI();
     if (is_array($_POST["id"])) {
         foreach ($_POST["id"] as $id) {
             $hi = new ilHiddenInputGUI("id[]");
             $hi->setValue($id);
             $this->form->addItem($hi);
         }
     }
     $layout = ilObjContentObjectGUI::getLayoutOption($lng->txt("cont_layout"), "layout", $this->content_object->getLayout());
     $this->form->addItem($layout);
     $this->form->addCommandButton("savePageLayout", $lng->txt("save"));
     $this->form->addCommandButton("showHierarchy", $lng->txt("cancel"));
     $this->form->setTitle($lng->txt("cont_set_layout"));
     $this->form->setFormAction($ilCtrl->getFormAction($this));
 }