PHP Class Procedure

Inheritance: extends DataObjectBase
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Protected Properties

Свойство Type Description
$auto_update_relations

Méthodes publiques

Méthode Description
__get ( string $prop ) : mixed | null
__isset ( string $prop ) : boolean
attributeLabels ( ) : array
behaviors ( )
getList ( string $term, string $restrict = null ) : array Get a list of procedures.
getListBySubspecialty ( $subspecialtyId, boolean $restrict = false ) : array
getProceduresByOpNote ( $opNoteElementId ) : array
model ( $className = __CLASS__ ) : Procedure 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
validateOpNotes ( $attribute, $params )

Méthodes protégées

Méthode Description
addOpNoteElementRelation ( )
afterConstruct ( ) Add relation to OphTrOperationnote_ProcedureListOperationElement if it exists.
afterFind ( ) Add relation to OphTrOperationnote_ProcedureListOperationElement if it exists.
get_has_benefits ( ) : boolean
get_has_complications ( ) : boolean

Method Details

__get() public méthode

public __get ( string $prop ) : mixed | null
$prop string
Résultat mixed | null

__isset() public méthode

public __isset ( string $prop ) : boolean
$prop string
Résultat boolean

addOpNoteElementRelation() protected méthode

protected addOpNoteElementRelation ( )

afterConstruct() protected méthode

Add relation to OphTrOperationnote_ProcedureListOperationElement if it exists.
protected afterConstruct ( )

afterFind() protected méthode

Add relation to OphTrOperationnote_ProcedureListOperationElement if it exists.
protected afterFind ( )

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

behaviors() public méthode

public behaviors ( )

getList() public static méthode

Get a list of procedures.
public static getList ( string $term, string $restrict = null ) : array
$term string term to search by
$restrict string Set to 'booked' or 'unbooked' to restrict results to procedures of that type
Résultat array

getListBySubspecialty() public méthode

public getListBySubspecialty ( $subspecialtyId, boolean $restrict = false ) : array
$subspecialtyId
$restrict boolean
Résultat array

getProceduresByOpNote() public méthode

public getProceduresByOpNote ( $opNoteElementId ) : array
$opNoteElementId
Résultat array

get_has_benefits() protected méthode

protected get_has_benefits ( ) : boolean
Résultat boolean

get_has_complications() protected méthode

protected get_has_complications ( ) : boolean
Résultat boolean

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Procedure
Résultat Procedure the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name

validateOpNotes() public méthode

public validateOpNotes ( $attribute, $params )

Property Details

$auto_update_relations protected_oe property

protected $auto_update_relations