public function isUserLogged()
    {
        return ($this->nb_user !== null && $this->nb_role !== null && $this->nb_site_user !== null);
    }
public function isUserLogged()
    {
        return ($this->nb_user !== null && $this->nb_role !== null && $this->nb_site_user !== null);
    }
public function isUserLogged ( ) { return ( $ this -> nb_user !== null && $ this -> nb_role !== null && $ this -> nb_site_user !== null ) ; }
Check if the user is logged.
@return bool Returns true if the user is logged.
Check if the user is logged .