/** * Saves the content rights */ function Save() { if (!$this->rights) { $this->rights = new BackendContentRights(); } $this->rights->SetCreateIn($this->Value('CreateIn')); $this->rights->SetEdit($this->Value('Edit')); $this->rights->SetMove($this->Value('Move')); $this->rights->SetRemove($this->Value('Remove')); $this->rights->Save(); }