PHP 클래스 OEModule\OphCiExamination\models\Element_OphCiExamination_Diagnoses

The followings are the available columns in table:
상속: extends BaseEventTypeElement
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 메소드들

메소드 설명
afterValidate ( ) Ensure a principal diagnosis is set for the episode.
attributeLabels ( ) : array
getCommonOphthalmicDisorders ( integer $firm_id ) : array Gets the common ophthalmic disorders for the given firm.
getEyeForDisorder ( $disorder_id, $disorder_ids )
getLetter_string ( )
getPrint_view ( )
getSelectedDisorderIDs ( ) : int[] Returns the disorder ids for the element diagnoses.
model ( string $className = __CLASS__ ) : the 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
updateDiagnoses ( $update_disorders ) Update the diagnoses for this element using a hash structure of [{ 'disorder_id' => integer, 'eye_id' => \Eye::LEFT|\Eye::RIGHT|\Eye::BOTH, 'principal' => boolean }, .

보호된 메소드들

메소드 설명
beforeDelete ( ) : boolean Delete the related diagnoses for this element.

메소드 상세

afterValidate() 공개 메소드

Ensure a principal diagnosis is set for the episode.
public afterValidate ( )

attributeLabels() 공개 메소드

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

beforeDelete() 보호된 메소드

Delete the related diagnoses for this element.
protected beforeDelete ( ) : boolean
리턴 boolean

getCommonOphthalmicDisorders() 공개 메소드

Gets the common ophthalmic disorders for the given firm.
public getCommonOphthalmicDisorders ( integer $firm_id ) : array
$firm_id integer
리턴 array

getEyeForDisorder() 공개 메소드

public getEyeForDisorder ( $disorder_id, $disorder_ids )

getLetter_string() 공개 메소드

public getLetter_string ( )

getPrint_view() 공개 메소드

public getPrint_view ( )

getSelectedDisorderIDs() 공개 메소드

Returns the disorder ids for the element diagnoses.
public getSelectedDisorderIDs ( ) : int[]
리턴 int[]

model() 공개 정적인 메소드

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : the
$className string
리턴 the static model class

relations() 공개 메소드

public relations ( ) : array
리턴 array relational rules.

rules() 공개 메소드

public rules ( ) : array
리턴 array validation rules for model attributes.

tableName() 공개 메소드

public tableName ( ) : string
리턴 string the associated database table name

updateDiagnoses() 공개 메소드

.. ].
public updateDiagnoses ( $update_disorders )
$update_disorders