コード例 #1
0
 /**
  * Saves the container rights
  */
 function Save()
 {
     $this->contentRights->Save();
     if (!$this->rights) {
         $this->rights = new BackendContainerRights();
     }
     $this->rights->SetEdit($this->Value('Edit'));
     $this->rights->SetRemove($this->Value('Remove'));
     $this->rights->SetContentRights($this->contentRights->Rights());
     $this->rights->Save();
 }