frontend/controllers/SiteController.php
/**
     * Special page for display login form after user logout from member
     * If not view not exist in current design than will be redirect to index
     * @return string
     */
Special page for display login form after user logout from member
If not view not exist in current design than will be redirect to index
@return string
Special page for display login form after user logout from member If not view not exist in current design than will be redirect to index @return string
public function actionEntrance()
    {
        $this->model_login = null;
        try {
            return $this->render('entrance', [
                'form_signup' => new SignupForm(),
                'form_login' => new LoginForm(),
            ]);
        } catch (ViewNotFoundException $e) {
            return $this->redirect(['/']);
        }
    }
public function actionEntrance ( ) { $ this -> model_login = null ; try { return $ this -> render ( 'entrance' , [ 'form_signup' => new SignupForm ( ) , 'form_login' => new LoginForm ( ) , ] ) ; } catch ( ViewNotFoundException $ e ) { return $ this -> redirect ( [ '/' ] ) ; } }
Special page for display login form after user logout from member
 If not view not exist in current design than will be redirect to index
 @return string
Special page for display login form after user logout from member If not view not exist in current design than will be redirect to index @return string