public function has_access_to_base($base_id)
    {
        $this->load_rights_bas();

        return (isset($this->_rights_bas[$base_id]) &&
            $this->_rights_bas[$base_id][self::ACTIF] === true);
    }
public function has_access_to_base($base_id)
    {
        $this->load_rights_bas();

        return (isset($this->_rights_bas[$base_id]) &&
            $this->_rights_bas[$base_id][self::ACTIF] === true);
    }
public function has_access_to_base ( $ base_id ) { $ this -> load_rights_bas ( ) ; return ( isset ( $ this -> _rights_bas [ $ base_id ] ) && $ this -> _rights_bas [ $ base_id ] [ self :: ACTIF ] === true ) ; }
Return true if access to base_id is granted

@param  int     $base_id
@return boolean
Return true if access to base_id is granted