PHP Class OEModule\OphCoCvi\models\OphCoCvi_ClericalInfo_PatientFactor_Answer

The followings are the available columns in table:
Inheritance: extends BaseEventTypeElement
Show file Open project: openeyes/openeyes

Public Methods

Method Description
getComments ( $factor_id, $element_id ) : comments
getFactorAnswer ( $factor_id, $element_id ) : factor
model ( $className = __CLASS__ ) : the Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
tableName ( ) : string

Method Details

getComments() public method

public getComments ( $factor_id, $element_id ) : comments
$factor_id
$element_id
return comments for each factor to the clerical element

getFactorAnswer() public method

public getFactorAnswer ( $factor_id, $element_id ) : factor
$factor_id
$element_id
return factor status for each factor to the clerical element

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
return 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