PHP Class frontend\controllers\SiteController

Inheritance: extends yii\web\Controller
Datei anzeigen Open project: yiisoft/yii2-app-advanced Class Usage Examples

Public Methods

Method Description
actionAbout ( ) : mixed Displays about page.
actionContact ( ) : mixed Displays contact page.
actionIndex ( ) : mixed Displays homepage.
actionLogin ( ) : mixed Logs in a user.
actionLogout ( ) : mixed Logs out the current user.
actionRequestPasswordReset ( ) : mixed Requests password reset.
actionResetPassword ( string $token ) : mixed Resets password.
actionSignup ( ) : mixed Signs user up.
actions ( )
behaviors ( )

Method Details

actionAbout() public method

Displays about page.
public actionAbout ( ) : mixed
return mixed

actionContact() public method

Displays contact page.
public actionContact ( ) : mixed
return mixed

actionIndex() public method

Displays homepage.
public actionIndex ( ) : mixed
return mixed

actionLogin() public method

Logs in a user.
public actionLogin ( ) : mixed
return mixed

actionLogout() public method

Logs out the current user.
public actionLogout ( ) : mixed
return mixed

actionRequestPasswordReset() public method

Requests password reset.
public actionRequestPasswordReset ( ) : mixed
return mixed

actionResetPassword() public method

Resets password.
public actionResetPassword ( string $token ) : mixed
$token string
return mixed

actionSignup() public method

Signs user up.
public actionSignup ( ) : mixed
return mixed

actions() public method

public actions ( )

behaviors() public method

public behaviors ( )