PHP 클래스 Element_OphCoTherapyapplication_Therapydiagnosis

The followings are the available columns in table:
상속: extends SplitEventTypeElement
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$service

공개 메소드들

메소드 설명
attributeLabels ( ) : array
getDiagnosisStringForSide ( string $side ) : string return a string representation of the diagnoses set for the given side.
getLevel1Disorders ( ) : Disorder[] Get a list of level 1 disorders for this element (appends any level 1 disorder that has been selected for this element but aren't part of the default list).
getLevel2Disorders ( $disorder ) : Disorder[] retrieve a list of disorders that are defined as level 2 disorders for the given disorder.
model ( $className = __CLASS__ ) : the Returns the static model of the specified AR class.
relations ( ) : array
requiredIfSecondary ( $attribute, $params ) * check a level 2 diagnosis is provided for level 1 diagnoses that require it (need to check the side as well though)
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
sidedFields ( )
tableName ( ) : string

보호된 메소드들

메소드 설명
afterSave ( )
beforeSave ( )
beforeValidate ( )

메소드 상세

afterSave() 보호된 메소드

protected afterSave ( )

attributeLabels() 공개 메소드

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

beforeSave() 보호된 메소드

protected beforeSave ( )

beforeValidate() 보호된 메소드

protected beforeValidate ( )

getDiagnosisStringForSide() 공개 메소드

return a string representation of the diagnoses set for the given side.
public getDiagnosisStringForSide ( string $side ) : string
$side string 'left' or 'right'
리턴 string

getLevel1Disorders() 공개 메소드

Get a list of level 1 disorders for this element (appends any level 1 disorder that has been selected for this element but aren't part of the default list).
public getLevel1Disorders ( ) : Disorder[]
리턴 Disorder[]

getLevel2Disorders() 공개 메소드

retrieve a list of disorders that are defined as level 2 disorders for the given disorder.
public getLevel2Disorders ( $disorder ) : Disorder[]
리턴 Disorder[]

model() 공개 정적인 메소드

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

relations() 공개 메소드

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

requiredIfSecondary() 공개 메소드

* check a level 2 diagnosis is provided for level 1 diagnoses that require it (need to check the side as well though)
public requiredIfSecondary ( $attribute, $params )

rules() 공개 메소드

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

sidedFields() 공개 메소드

public sidedFields ( )

tableName() 공개 메소드

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

프로퍼티 상세

$service 공개적으로 프로퍼티

public $service