PHP Class OEModule\OphCiExamination\models\OphCiExamination_PostOpComplications

Inheritance: extends BaseActiveRecordVersioned
Show file Open project: openeyes/openeyes Class Usage Examples

Protected Properties

Property Type Description
$auto_update_relations

Public Methods

Method Description
assign ( array $item_ids, integer | null $subspecialty_id = null ) Assign the given items to the given episode summary.
attributeLabels ( )
available ( integer | null $subspecialty_id = null ) : EpisodeSummaryItem Named scope to fetch available (non-enabled) items for the given subspecialty.
defaultScope ( )
enabled ( integer | null $subspecialty_id = null ) : EpisodeSummaryItem Named scope to fetch enabled items for the given subspecialty.
getPostOpComplicationsList ( $element_id, $operation_note_id, $subspecialty_id, $eye_id, $term = null )
model ( $className = __CLASS__ ) : OphCiExamination_Comorbidities_Item 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.
tableName ( ) : string

Method Details

assign() public method

Assign the given items to the given episode summary.
public assign ( array $item_ids, integer | null $subspecialty_id = null )
$item_ids array
$subspecialty_id integer | null

attributeLabels() public method

public attributeLabels ( )

available() public method

Named scope to fetch available (non-enabled) items for the given subspecialty.
public available ( integer | null $subspecialty_id = null ) : EpisodeSummaryItem
$subspecialty_id integer | null Null for default episode summary
return EpisodeSummaryItem

defaultScope() public method

public defaultScope ( )

enabled() public method

Named scope to fetch enabled items for the given subspecialty.
public enabled ( integer | null $subspecialty_id = null ) : EpisodeSummaryItem
$subspecialty_id integer | null Null for default episode summary
return EpisodeSummaryItem

getPostOpComplicationsList() public method

public getPostOpComplicationsList ( $element_id, $operation_note_id, $subspecialty_id, $eye_id, $term = null )

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : OphCiExamination_Comorbidities_Item
return OphCiExamination_Comorbidities_Item 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 OphCiExamination_Comorbidities_Item.

tableName() public method

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

Property Details

$auto_update_relations protected property

protected $auto_update_relations