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/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. |
|
메소드 상세
Sets up various standard js and css files for modules.
The EventType class for this module.
Determines the assetPath for the controller from the module.
redirectToPatientEpisodes()
보호된 메소드
Redirect to the patient episodes when the controller determines the action cannot be carried out.
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.
프로퍼티 상세
* @var string path to asset files for the module
$assetPathAlias 공개적으로 프로퍼티
* @var string alias path to asset files for the module
* @var Firm - the firm that user is logged in as for current action action
$moduleNameCssClass 공개적으로 프로퍼티
* @var string css class for the module
public $moduleNameCssClass |
$modulePathAlias 공개적으로 프로퍼티
* @var string alias path for the module of this controller