PHP 클래스 Element_OphTrIntravitrealinjection_Treatment

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

공개 프로퍼티들

프로퍼티 타입 설명
$service

공개 메소드들

메소드 설명
attributeLabels ( ) : array
getInfoText ( ) : string returns information text summarising the event (eye and drug used).
getIopLoweringDrugValues ( ) Get ids of IOP lowering drugs currently associated with the element.
model ( $className = __CLASS__ ) : the Returns the static model of the specified AR class.
relations ( ) : array
requiredIfBoolean ( $attribute, $params )
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
setDefaultOptions ( ) (non-PHPdoc).
sidedFields ( )
tableName ( ) : string
todayOrFutureValidation ( string $attribute, array $params ) checks if the given attribute on the element is today or in the future.
todayOrFutureValidationIfSide ( string $attribute, array $params ) wrapper around the todayOrFutureValidation that only checks the attribute if the element is for the given side.
typeIfSide ( $attribute, $params )
updateIOPLoweringDrugs ( string $side, boolean $is_pre = true, int[] $ioplowering_ids = [] ) update the ioplowering assignments for the given side and stage.

보호된 메소드들

메소드 설명
afterSave ( )
beforeSave ( )
beforeValidate ( ) clear out sided fields to prevent validation of irrelevant data.

메소드 상세

afterSave() 보호된 메소드

protected afterSave ( )

attributeLabels() 공개 메소드

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

beforeSave() 보호된 메소드

protected beforeSave ( )

beforeValidate() 보호된 메소드

(non-PHPdoc)
또한 보기: CModel::beforeValidate()
protected beforeValidate ( )

getInfoText() 공개 메소드

returns information text summarising the event (eye and drug used).
public getInfoText ( ) : string
리턴 string $info_text

getIopLoweringDrugValues() 공개 메소드

Get ids of IOP lowering drugs currently associated with the element.

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.

requiredIfBoolean() 공개 메소드

public requiredIfBoolean ( $attribute, $params )

rules() 공개 메소드

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

setDefaultOptions() 공개 메소드

(non-PHPdoc).
또한 보기: SplitEventTypeElement::setDefaultOptions()
public setDefaultOptions ( )

sidedFields() 공개 메소드

public sidedFields ( )

tableName() 공개 메소드

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

todayOrFutureValidation() 공개 메소드

checks if the given attribute on the element is today or in the future.
public todayOrFutureValidation ( string $attribute, array $params )
$attribute string
$params array

todayOrFutureValidationIfSide() 공개 메소드

wrapper around the todayOrFutureValidation that only checks the attribute if the element is for the given side.
public todayOrFutureValidationIfSide ( string $attribute, array $params )
$attribute string
$params array

typeIfSide() 공개 메소드

public typeIfSide ( $attribute, $params )

updateIOPLoweringDrugs() 공개 메소드

update the ioplowering assignments for the given side and stage.
public updateIOPLoweringDrugs ( string $side, boolean $is_pre = true, int[] $ioplowering_ids = [] )
$side string
$is_pre boolean
$ioplowering_ids int[] - array of ioplowering ids to assign to the element

프로퍼티 상세

$service 공개적으로 프로퍼티

public $service