public function addAccessLevel(AccessLevel $accessLevel)
    {
        // Add the access level
        $this->accessLevels[$accessLevel->getKey()] = $accessLevel;
        
        // Save the access levels
        $this->saveAccessLevels();
    }
public function addAccessLevel(AccessLevel $accessLevel)
    {
        // Add the access level
        $this->accessLevels[$accessLevel->getKey()] = $accessLevel;
        
        // Save the access levels
        $this->saveAccessLevels();
    }
public function addAccessLevel ( AccessLevel $ accessLevel ) { // Add the access level $ this -> accessLevels [ $ accessLevel -> getKey ( ) ] = $ accessLevel ; // Save the access levels $ this -> saveAccessLevels ( ) ; }
Adds a new access level.

@access public
@param AccessLevel $accessLevel
@return boolean
Adds a new access level .