프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
public attributeLabels ( ) : array | ||
리턴 | array | customized attribute labels (name=>label) |
public getInfoText ( ) : string | ||
리턴 | string | $info_text |
public getIopLoweringDrugValues ( ) |
public static model ( $className = __CLASS__ ) : the | ||
리턴 | the | static model class |
public search ( ) : CActiveDataProvider | ||
리턴 | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |
public todayOrFutureValidation ( string $attribute, array $params ) | ||
$attribute | string | |
$params | array |
public todayOrFutureValidationIfSide ( string $attribute, array $params ) | ||
$attribute | string | |
$params | array |
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 |