src/acdhOeaw/fedora/acl/WebAclRule.php
public function delete(bool $deep = false, bool $children = false,
                           bool $references = false) {
        if ($this->uri != '') {
            parent::delete($deep, $children, $references);
        }
        $this->uri       = '';
        $this->resources = $this->classes   = array();
        $this->roles     = array(
            self::USER  => array(),
            self::GROUP => array()
        );
    }
public function delete(bool $deep = false, bool $children = false,
                           bool $references = false) {
        if ($this->uri != '') {
            parent::delete($deep, $children, $references);
        }
        $this->uri       = '';
        $this->resources = $this->classes   = array();
        $this->roles     = array(
            self::USER  => array(),
            self::GROUP => array()
        );
    }
public function delete ( bool $ deep = false , bool $ children = false , bool $ references = false ) { if ( $ this -> uri != '' ) { parent :: delete ( $ deep , $ children , $ references ) ; } $ this -> uri = '' ; $ this -> resources = $ this -> classes = array ( ) ; $ this -> roles = array ( self :: USER => array ( ) , self :: GROUP => array ( ) ) ; }
Removes the ACL rule from the Fedora
@param bool $deep should tombstone resource will be deleted?
@param bool $children should children be removed?
@param bool $references should references to the resource be removed?
(applies also for children when `$children == true`)
Removes the ACL rule from the Fedora