PHP 클래스 AuthModule

저자: Fred ([email protected])
상속: extends CWebModule
파일 보기 프로젝트 열기: yinhe/yincart 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$appLayout the application layout. Change this if you wish to use a different layout with the module.
$defaultController string the id of the default controller for this module.
$flashKeys map of flash message keys to use for the module.
$forceCopyAssets whether to force copying of assets. Useful during development and when upgrading the module.
$strictMode whether to enable the RBAC strict mode. When enabled items cannot be assigned children of the same type.
$userClass name of the user model class. Change this if your user model name is different than the default value.
$userIdColumn name of the user id column. Change this if the id column in your user table is different than the default value.
$userNameColumn name of the user name column. Change this if the name column in your user table is different than the default value.
$viewDir path to view files for this module. Specify this to use your own views instead of those shipped with the module.

공개 메소드들

메소드 설명
beforeControllerAction ( CController $controller, CAction $action ) : boolean The pre-filter for controller actions.
getVersion ( ) : string Returns the module version number.
init ( ) Initializes the module.
registerCss ( ) Registers the module CSS.

보호된 메소드들

메소드 설명
getAssetsUrl ( ) : string Returns the URL to the published assets folder.

메소드 상세

beforeControllerAction() 공개 메소드

The pre-filter for controller actions.
public beforeControllerAction ( CController $controller, CAction $action ) : boolean
$controller CController the controller.
$action CAction the action.
리턴 boolean whether the action should be executed.

getAssetsUrl() 보호된 메소드

Returns the URL to the published assets folder.
protected getAssetsUrl ( ) : string
리턴 string the URL.

getVersion() 공개 메소드

Returns the module version number.
public getVersion ( ) : string
리턴 string the version.

init() 공개 메소드

Initializes the module.
public init ( )

registerCss() 공개 메소드

Registers the module CSS.
public registerCss ( )

프로퍼티 상세

$appLayout 공개적으로 프로퍼티

the application layout. Change this if you wish to use a different layout with the module.
public $appLayout

$defaultController 공개적으로 프로퍼티

string the id of the default controller for this module.
public $defaultController

$flashKeys 공개적으로 프로퍼티

map of flash message keys to use for the module.
public $flashKeys

$forceCopyAssets 공개적으로 프로퍼티

whether to force copying of assets. Useful during development and when upgrading the module.
public $forceCopyAssets

$strictMode 공개적으로 프로퍼티

whether to enable the RBAC strict mode. When enabled items cannot be assigned children of the same type.
public $strictMode

$userClass 공개적으로 프로퍼티

name of the user model class. Change this if your user model name is different than the default value.
public $userClass

$userIdColumn 공개적으로 프로퍼티

name of the user id column. Change this if the id column in your user table is different than the default value.
public $userIdColumn

$userNameColumn 공개적으로 프로퍼티

name of the user name column. Change this if the name column in your user table is different than the default value.
public $userNameColumn

$viewDir 공개적으로 프로퍼티

path to view files for this module. Specify this to use your own views instead of those shipped with the module.
public $viewDir