PHP 클래스 OEModule\OphCoCvi\models\Element_OphCoCvi_Demographics

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

공개 메소드들

메소드 설명
attributeLabels ( ) : array
getCompleteName ( ) : string Use the stored values to make a decent stab at putting together the patient name in its normalised form.
getStructuredDataForPrint ( ) : array Return the element data
initFromPatient ( Patient $patient ) Initialises the element from the patient model.
model ( null | string $className = __CLASS__ ) : Element_OphCoCvi_Demographics | mixed
relations ( ) : array
rules ( ) : array
tableName ( ) : string

보호된 메소드들

메소드 설명
generateStructuredGenderHeader ( ) : array
generateStructuredPostcodeHeader ( ) : array
generateStructuredSummaryTable ( ) : array
generateStructuredYearHeader ( ) : array
mapGenderFromPatient ( Patient $patient )
mapNamesFromPatient ( Patient $patient )

메소드 상세

attributeLabels() 공개 메소드

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

generateStructuredGenderHeader() 보호된 메소드

protected generateStructuredGenderHeader ( ) : array
리턴 array

generateStructuredPostcodeHeader() 보호된 메소드

generateStructuredSummaryTable() 보호된 메소드

protected generateStructuredSummaryTable ( ) : array
리턴 array

generateStructuredYearHeader() 보호된 메소드

protected generateStructuredYearHeader ( ) : array
리턴 array

getCompleteName() 공개 메소드

Use the stored values to make a decent stab at putting together the patient name in its normalised form.
public getCompleteName ( ) : string
리턴 string

getStructuredDataForPrint() 공개 메소드

Return the element data
public getStructuredDataForPrint ( ) : array
리턴 array

initFromPatient() 공개 메소드

Initialises the element from the patient model.
public initFromPatient ( Patient $patient )
$patient Patient

mapGenderFromPatient() 보호된 메소드

protected mapGenderFromPatient ( Patient $patient )
$patient Patient

mapNamesFromPatient() 보호된 메소드

protected mapNamesFromPatient ( Patient $patient )
$patient Patient

model() 공개 정적인 메소드

public static model ( null | string $className = __CLASS__ ) : Element_OphCoCvi_Demographics | mixed
$className null | string
리턴 Element_OphCoCvi_Demographics | mixed

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