Frontend\Modules\Profiles\Engine\Authentication::getProfile PHP Метод

getProfile() публичный статический Метод

Get a profile object with information about a profile.
public static getProfile ( ) : Profile
Результат Profile
    public static function getProfile()
    {
        return self::$profile;
    }

Usage Example

Пример #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