PHP 클래스 BaseModuleController

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2013 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
저자: OpenEyes ([email protected])
상속: extends BaseController
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$assetPath * @var string path to asset files for the module
$assetPathAlias * @var string alias path to asset files for the module
$firm * @var Firm - the firm that user is logged in as for current action action
$moduleNameCssClass * @var string css class for the module
$modulePathAlias * @var string alias path for the module of this controller

공개 메소드들

메소드 설명
getEvent_type ( ) : EventType The EventType class for this module.
init ( ) Determines the assetPath for the controller from the module.

보호된 메소드들

메소드 설명
beforeAction ( CAction $action ) : boolean Sets up various standard js and css files for modules.
redirectToPatientEpisodes ( ) Redirect to the patient episodes when the controller determines the action cannot be carried out.
registerAssets ( ) Automatic include of various standard assets based on class and module name (including module inheritance).
setFirmFromSession ( ) Sets the firm property on the controller from the session.

메소드 상세

beforeAction() 보호된 메소드

Sets up various standard js and css files for modules.
protected beforeAction ( CAction $action ) : boolean
$action CAction
리턴 boolean (non-phpdoc)

getEvent_type() 공개 메소드

The EventType class for this module.
public getEvent_type ( ) : EventType
리턴 EventType

init() 공개 메소드

Determines the assetPath for the controller from the module.
public init ( )

redirectToPatientEpisodes() 보호된 메소드

Redirect to the patient episodes when the controller determines the action cannot be carried out.

registerAssets() 보호된 메소드

Automatic include of various standard assets based on class and module name (including module inheritance).
protected registerAssets ( )

setFirmFromSession() 보호된 메소드

Sets the firm property on the controller from the session.
protected setFirmFromSession ( )

프로퍼티 상세

$assetPath 공개적으로 프로퍼티

* @var string path to asset files for the module
public $assetPath

$assetPathAlias 공개적으로 프로퍼티

* @var string alias path to asset files for the module
public $assetPathAlias

$firm 공개적으로 프로퍼티

* @var Firm - the firm that user is logged in as for current action action
public $firm

$moduleNameCssClass 공개적으로 프로퍼티

* @var string css class for the module
public $moduleNameCssClass

$modulePathAlias 공개적으로 프로퍼티

* @var string alias path for the module of this controller
public $modulePathAlias