Frontend\Modules\Profiles\Widgets\SecurePage::execute PHP Метод

execute() публичный Метод

Execute the extra
public execute ( )
    public function execute()
    {
        parent::execute();
        $this->loadTemplate();
        // Check if we're logged in, else redirect to the login form.
        if (!FrontendProfilesAuthentication::isLoggedIn()) {
            $queryString = $this->URL->getQueryString();
            throw new RedirectException('Redirect', new RedirectResponse(Navigation::getURLForBlock('Profiles', 'Login') . '?queryString=' . $queryString));
        }
    }
SecurePage