Exemple #1
0
 /**
  * Saves the site rights
  */
 function Save()
 {
     $this->pageRights->Save();
     if (!$this->rights) {
         $this->rights = new BackendSiteRights();
     }
     $this->rights->SetEdit($this->Value('Edit'));
     $this->rights->SetRemove($this->Value('Remove'));
     $this->rights->SetPageRights($this->pageRights->Rights());
     $this->rights->Save();
 }