Property | Type | Description | |
---|---|---|---|
$use_pas |
Method | Description | |
---|---|---|
attributeLabels ( ) : array | ||
behaviors ( ) | ||
delete ( ) : boolean | Extend parent behaviour to enforce a transaction so that we don't lose commissioning body assignments if the delete fails part way through. | |
getCommissioningBodyOfType ( CommissioningBodyType $type ) : CommissioningBody | get the CommissioningBody of the CommissioningBodyType $type currently assumes there would only ever be one commissioning body of a given type. | |
getCorrespondenceName ( ) | ||
getSalutationName ( ) | ||
model ( $className = __CLASS__ ) : Practice | Returns the static model of the specified AR class. | |
noPas ( ) : Practice | Suppress PAS integration. | |
relations ( ) : array | ||
rules ( ) : array | ||
search ( ) : CActiveDataProvider | Retrieves a list of models based on the current search/filter conditions. | |
tableName ( ) : string |
Method | Description | |
---|---|---|
afterFind ( ) | Raise event to allow external data sources to update practice. | |
beforeDelete ( ) : boolean | Delete commissioning body assignments for referential integrity Note if patients are assigned to the practice, there will still be a referential integrity error and the delete will fail. | |
instantiate ( $attributes ) | Pass through use_pas flag to allow pas supression. |
protected afterFind ( ) |
public attributeLabels ( ) : array | ||
return | array | customized attribute labels (name=>label) |
protected beforeDelete ( ) : boolean | ||
return | boolean |
public getCommissioningBodyOfType ( CommissioningBodyType $type ) : CommissioningBody | ||
$type | CommissioningBodyType | |
return | CommissioningBody |
protected instantiate ( $attributes ) |
public static model ( $className = __CLASS__ ) : Practice | ||
return | Practice | the static model class |
public search ( ) : CActiveDataProvider | ||
return | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |