PHP Class Element_OphTrOperationnote_Surgeon

The followings are the available columns in table 'element_operation':
Inheritance: extends Element_OpNote
Show file Open project: openeyes/openeyes Class Usage Examples

Public Properties

Property Type Description
$service
$surgeonlist

Public Methods

Method Description
attributeLabels ( ) : array
getSurgeons ( ) : User[] wrapper function for retrieving surgeon list.
model ( $className = __CLASS__ ) : ElementOperation Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
setDefaultOptions ( ) Set default values for forms on create.
tableName ( ) : string

Method Details

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

getSurgeons() public method

wrapper function for retrieving surgeon list.
See also: User::getSurgeons()
public getSurgeons ( ) : User[]
return User[]

model() public static method

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

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

setDefaultOptions() public method

Set default values for forms on create.
public setDefaultOptions ( )

tableName() public method

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

Property Details

$service public property

public $service

$surgeonlist public property

public $surgeonlist