src/acdhOeaw/fedora/acl/WebAclRule.php
static public function checkMode(int $mode) {
        if (!in_array($mode, array(self::NONE, self::READ, self::WRITE))) {
            throw new AclException('wrong mode');
        }
    }
static public function checkMode(int $mode) {
        if (!in_array($mode, array(self::NONE, self::READ, self::WRITE))) {
            throw new AclException('wrong mode');
        }
    }
static public function checkMode ( int $ mode ) { if ( ! in_array ( $ mode , array ( self :: NONE , self :: READ , self :: WRITE ) ) ) { throw new AclException ( 'wrong mode' ) ; } }
Checks the access mode enumaration
@param int $mode WebAclRule::READ or WebAclRule::WRITE
@throws AclException
Checks the access mode enumaration