Метод | Описание | |
---|---|---|
attributeLabels ( ) : array | ||
commonDrugs ( ) : Drug[] | Get the common drugs for session firm. | |
commonDrugsBySiteAndSpec ( $site_id, $subspecialty_id ) : SiteSubspecialtyDrug[] | Get the drug list for a specified site and subspecialty. | |
drugSets ( ) : DrugSet[] | Get the drug sets for the current firm. | |
drugSetsAll ( ) : mixed | Get all drug sets for admin page. | |
drugTypes ( ) : CHtml::listData | Gets listdata for the drugtypes. | |
getContainer_form_view ( ) | ||
getContainer_print_view ( ) | ||
getInfotext ( ) : string | Returns string status to indicate if the prescription is draft or not. | |
getLetterText ( ) : string | Generates string for inclusion in letters that describes the prescription. | |
getPrint_view ( ) | ||
isEditable ( ) : boolean | Prescription is always editable. | |
model ( $className = __CLASS__ ) : Element_OphDrPrescription_Details | 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 | ||
updateItems ( array() $items ) | Create and save appropriate Element_OphDrPrescription_Item and Element_OphDrPrescription_Item_Taper models for this prescription based on the $items structure passed in. |
Метод | Описание | |
---|---|---|
afterValidate ( ) | Validate prescription items. |
public attributeLabels ( ) : array | ||
Результат | array | customized attribute labels (name=>label) |
public commonDrugs ( ) : Drug[] | ||
Результат | Drug[] |
public commonDrugsBySiteAndSpec ( $site_id, $subspecialty_id ) : SiteSubspecialtyDrug[] | ||
$site_id | ||
$subspecialty_id | ||
Результат | SiteSubspecialtyDrug[] |
public drugSets ( ) : DrugSet[] | ||
Результат | DrugSet[] |
public drugSetsAll ( ) : mixed | ||
Результат | mixed |
public drugTypes ( ) : CHtml::listData | ||
Результат | CHtml::listData |
public getInfotext ( ) : string | ||
Результат | string |
public getLetterText ( ) : string | ||
Результат | string |
public isEditable ( ) : boolean | ||
Результат | boolean |
public static model ( $className = __CLASS__ ) : Element_OphDrPrescription_Details | ||
Результат | Element_OphDrPrescription_Details | the static model class |
public search ( ) : CActiveDataProvider | ||
Результат | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |
public updateItems ( array() $items ) | ||
$items | array() |