PHP Class OphTrOperationbooking_Whiteboard

(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 .
Author: OpenEyes ([email protected])
Inheritance: extends BaseActiveRecordVersioned
Show file Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
isEditable ( ) : boolean Is the whiteboard editable.
loadData ( $id ) Collate the data and persist it to the table.
model ( $className = __CLASS__ ) : OphTrOperationbooking_Whiteboard Returns the static model of the specified AR class.
relations ( )
tableName ( ) : string

Method Details

isEditable() public method

Is the whiteboard editable.
public isEditable ( ) : boolean
return boolean

loadData() public method

Collate the data and persist it to the table.
public loadData ( $id )
$id

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : OphTrOperationbooking_Whiteboard
return OphTrOperationbooking_Whiteboard the static model class

relations() public method

public relations ( )

tableName() public method

public tableName ( ) : string
return string the associated database table name