PHP Class WhiteboardController

Inheritance: extends Controller
Afficher le fichier Open project: openeyes/openeyes

Protected Properties

Свойство Type Description
$headerTemplate
$whiteboard

Méthodes publiques

Méthode Description
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 )

Method Details

accessRules() public méthode

Define access rules for the controller.
public accessRules ( ) : array
Résultat array

actionConfirm() public méthode

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

actionReload() public méthode

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

actionSaveComment() public méthode

public actionSaveComment ( $id )
$id

actionView() public méthode

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() public méthode

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
Résultat boolean

getWhiteboard() public méthode

public getWhiteboard ( ) : null | OphTrOperationbooking_Whiteboard
Résultat null | OphTrOperationbooking_Whiteboard

init() public méthode

public init ( )

setWhiteboard() public méthode

public setWhiteboard ( OphTrOperationbooking_Whiteboard $whiteboard )
$whiteboard OphTrOperationbooking_Whiteboard

Property Details

$headerTemplate protected_oe property

protected $headerTemplate

$whiteboard protected_oe property

protected $whiteboard