PHP 클래스 Practice

파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$use_pas

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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.

메소드 상세

afterFind() 보호된 메소드

Raise event to allow external data sources to update practice.
또한 보기: CActiveRecord::afterFind()
protected afterFind ( )

attributeLabels() 공개 메소드

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

beforeDelete() 보호된 메소드

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.
protected beforeDelete ( ) : boolean
리턴 boolean

behaviors() 공개 메소드

public behaviors ( )

delete() 공개 메소드

Extend parent behaviour to enforce a transaction so that we don't lose commissioning body assignments if the delete fails part way through.
public delete ( ) : boolean
리턴 boolean

getCommissioningBodyOfType() 공개 메소드

get the CommissioningBody of the CommissioningBodyType $type currently assumes there would only ever be one commissioning body of a given type.
public getCommissioningBodyOfType ( CommissioningBodyType $type ) : CommissioningBody
$type CommissioningBodyType
리턴 CommissioningBody

getCorrespondenceName() 공개 메소드

getSalutationName() 공개 메소드

public getSalutationName ( )

instantiate() 보호된 메소드

Pass through use_pas flag to allow pas supression.
또한 보기: CActiveRecord::instantiate()
protected instantiate ( $attributes )

model() 공개 정적인 메소드

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

noPas() 공개 메소드

Suppress PAS integration.
public noPas ( ) : Practice
리턴 Practice

relations() 공개 메소드

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

rules() 공개 메소드

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

tableName() 공개 메소드

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

프로퍼티 상세

$use_pas 공개적으로 프로퍼티

public $use_pas