Frontend\Modules\Profiles\Engine\Authentication::getProfile PHP Méthode

getProfile() public static méthode

Get a profile object with information about a profile.
public static getProfile ( ) : Profile
Résultat Profile
    public static function getProfile()
    {
        return self::$profile;
    }

Usage Example

Exemple #1
0
 /**
  * Parse
  */
 private function parse()
 {
     $this->tpl->assign('isLoggedIn', FrontendProfilesAuthentication::isLoggedIn());
     if (FrontendProfilesAuthentication::isLoggedIn()) {
         $profile = FrontendProfilesAuthentication::getProfile();
         $this->tpl->assign('profile', $profile->toArray());
     }
 }
All Usage Examples Of Frontend\Modules\Profiles\Engine\Authentication::getProfile