PHP Класс WhiteboardController

Наследование: extends Controller
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$headerTemplate
$whiteboard

Открытые методы

Метод Описание
accessRules ( ) : array Define access rules for the controller.
actionConfirm ( $id ) Confirms the checks.
actionReload ( $id ) Reload the data for the whiteboard.
actionSaveComment ( $id )
actionView ( $id ) View the whiteboard.
beforeAction ( CAction $action ) : boolean Set up the CSS.
getWhiteboard ( ) : null | OphTrOperationbooking_Whiteboard
init ( )
setWhiteboard ( OphTrOperationbooking_Whiteboard $whiteboard )

Описание методов

accessRules() публичный Метод

Define access rules for the controller.
public accessRules ( ) : array
Результат array

actionConfirm() публичный Метод

Confirms the checks.
public actionConfirm ( $id )
$id

actionReload() публичный Метод

If the data is wrong we can reload it and update the database.
public actionReload ( $id )
$id

actionSaveComment() публичный Метод

public actionSaveComment ( $id )
$id

actionView() публичный Метод

View the whiteboard data, if there is no data for this event we will collate and persist it in the model.
public actionView ( $id )
$id

beforeAction() публичный Метод

We need to set up the CSS here, after the parent is called, because the parent class removes the previously registered scripts.
public beforeAction ( CAction $action ) : boolean
$action CAction
Результат boolean

getWhiteboard() публичный Метод

public getWhiteboard ( ) : null | OphTrOperationbooking_Whiteboard
Результат null | OphTrOperationbooking_Whiteboard

init() публичный Метод

public init ( )

setWhiteboard() публичный Метод

public setWhiteboard ( OphTrOperationbooking_Whiteboard $whiteboard )
$whiteboard OphTrOperationbooking_Whiteboard

Описание свойств

$headerTemplate защищенное свойство

protected $headerTemplate

$whiteboard защищенное свойство

protected $whiteboard