PHP Class FamilyHistory

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see .
Show file Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
getConditionName ( ) : mixed | string Wrapper function for getting the condition name for this family history (checks for other value).
getRelativeName ( ) : mixed | string Wrapper function for getting the relative name for this family history (checks for other value).
model ( $className = __CLASS__ ) : FamilyHistory 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

Method Details

attributeLabels() public method

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

getConditionName() public method

Wrapper function for getting the condition name for this family history (checks for other value).
public getConditionName ( ) : mixed | string
return mixed | string

getRelativeName() public method

Wrapper function for getting the relative name for this family history (checks for other value).
public getRelativeName ( ) : mixed | string
return mixed | string

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : FamilyHistory
return FamilyHistory the static model class

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

tableName() public method

public tableName ( ) : string
return string the associated database table name