PHP 클래스 SiteController

Date: 29.12.2015 Time: 22:14
상속: extends Controller
파일 보기 프로젝트 열기: charlesportwoodii/ciims 1 사용 예제들

공개 메소드들

메소드 설명
accessRules ( ) Setup access controls to prevent guests from changing their emaila ddress
actionAcceptInvite ( string $id = NULL ) Enables users who have recieved an invitation to setup a new account
actionActivation ( mixed $id = NULL ) Activates a new user's account
actionEmailChange ( string $key = null ) Allows the user to securely change their email address
actionError ( $code = NULL ) This is the action to handle external exceptions.
actionForgot ( ) Handles resetting a users password should they forgot it
actionLogin ( ) Provides functionality to log a user into the system
actionLogout ( ) Provides functionality to log a user out
actionRegister ( ) Handles the registration of new users on the site
actionResetPassword ( string $id = NULL ) Alows a user to reset their password if they initiated a forgot password request
actionSearch ( integer $id = 1 ) Provides basic searching functionality
actionSitemap ( ) Provides basic sitemap functionality via XML
beforeAction ( $action ) beforeAction method, performs operations before an action is presented
filters ( )

비공개 메소드들

메소드 설명
_getNext ( ) : mixed Returns a sanitized $_GET['next'] URL if it is set.

메소드 상세

accessRules() 공개 메소드

Setup access controls to prevent guests from changing their emaila ddress
public accessRules ( )

actionAcceptInvite() 공개 메소드

Enables users who have recieved an invitation to setup a new account
public actionAcceptInvite ( string $id = NULL )
$id string The activation id the of the user that we want to activate

actionActivation() 공개 메소드

Activates a new user's account
public actionActivation ( mixed $id = NULL )
$id mixed The activation key

actionEmailChange() 공개 메소드

Allows the user to securely change their email address
public actionEmailChange ( string $key = null )
$key string the user's secure key

actionError() 공개 메소드

This is the action to handle external exceptions.
public actionError ( $code = NULL )

actionForgot() 공개 메소드

Handles resetting a users password should they forgot it
public actionForgot ( )

actionLogin() 공개 메소드

Provides functionality to log a user into the system
public actionLogin ( )

actionLogout() 공개 메소드

Provides functionality to log a user out
public actionLogout ( )

actionRegister() 공개 메소드

Handles the registration of new users on the site
public actionRegister ( )

actionResetPassword() 공개 메소드

Alows a user to reset their password if they initiated a forgot password request
public actionResetPassword ( string $id = NULL )
$id string

actionSearch() 공개 메소드

Provides basic searching functionality
public actionSearch ( integer $id = 1 )
$id integer The search pagination id

actionSitemap() 공개 메소드

Provides basic sitemap functionality via XML
public actionSitemap ( )

beforeAction() 공개 메소드

beforeAction method, performs operations before an action is presented
또한 보기: http://www.yiiframework.com/doc/api/1.1/CController#beforeAction-detail
public beforeAction ( $action )

filters() 공개 메소드

public filters ( )