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
.
Показать файл
Открыть проект
Примеры использования класса
Открытые свойства
Свойство |
Тип |
Описание |
|
$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.
getEvent_type()
публичный Метод
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.
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.
Описание свойств
$assetPath публичное свойство
* @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