public function removeAccessLevel($key)
    {
        if (!isset($this->accessLevels[$key])) {
            return false;
        }
        
        // Remove the access level
        unset($this->accessLevels[$key]);
        
        // Save the access levels
        $this->saveAccessLevels();
        
        // Revoke all permissions for the given access level key
        $runtimeManager = $this->framework->getRuntimeManager();
        $runtimeManager->executeFilter('\\Zepi\\Core\\AccessControl\\Filter\\AccessLevelManager\\RemoveAccessLevel', $key);
    }
public function removeAccessLevel($key)
    {
        if (!isset($this->accessLevels[$key])) {
            return false;
        }
        
        // Remove the access level
        unset($this->accessLevels[$key]);
        
        // Save the access levels
        $this->saveAccessLevels();
        
        // Revoke all permissions for the given access level key
        $runtimeManager = $this->framework->getRuntimeManager();
        $runtimeManager->executeFilter('\\Zepi\\Core\\AccessControl\\Filter\\AccessLevelManager\\RemoveAccessLevel', $key);
    }
public function removeAccessLevel ( $ key ) { if ( ! isset ( $ this -> accessLevels [ $ key ] ) ) { return false ; } // Remove the access level unset ( $ this -> accessLevels [ $ key ] ) ; // Save the access levels $ this -> saveAccessLevels ( ) ; // Revoke all permissions for the given access level key $ runtimeManager = $ this -> framework -> getRuntimeManager ( ) ; $ runtimeManager -> executeFilter ( '\\Zepi\\Core\\AccessControl\\Filter\\AccessLevelManager\\RemoveAccessLevel' , $ key ) ; }
Removes the access level.

@access public
@param string $key
Removes the access level .