PHP Class OEModule\OphCiExamination\models\Element_OphCiExamination_OCT

The followings are the available columns in table:
Inheritance: extends SplitEventTypeElement
Show file Open project: openeyes/openeyes Class Usage Examples

Protected Properties

Property Type Description
$auto_update_relations
$relation_defaults

Public Methods

Method Description
attributeLabels ( ) : array
getFluidTypeValues ( )
getLeftFluidString ( ) : string get the fluid findings string for the left.
getLetter_string ( ) : string get the letter string for the element used by correspondence if installed.
getRightFluidString ( ) : string get the fluid findings string for the right.
model ( $className = __CLASS__ ) : Element_OphCiExamination_AnteriorSegment_CCT Returns the static model of the specified AR class.
notAllowedIfTrue ( $attribute, $params ) validate that attribute is not set if dependency is true - should never arise through the forms requires side param.
relations ( ) : array
requiredIfFalse ( $attribute, $params ) validate that attribute is set if dependency is false requires side param.
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
sidedDefaults ( )
sidedFields ( )
tableName ( ) : string

Protected Methods

Method Description
getFluidString ( string $side, boolean $notrecorded = true ) : string returns the appropriate string for displaying the fluid finding value(s) for the given side.
getLetterStringForSide ( $side ) : string get the letter string for the given side.

Method Details

attributeLabels() public method

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

getFluidString() protected method

returns the appropriate string for displaying the fluid finding value(s) for the given side.
protected getFluidString ( string $side, boolean $notrecorded = true ) : string
$side string left or right
$notrecorded boolean - flag to indicate whether we want a string for it not being recorded
return string

getFluidTypeValues() public method

public getFluidTypeValues ( )

getLeftFluidString() public method

get the fluid findings string for the left.
public getLeftFluidString ( ) : string
return string

getLetterStringForSide() protected method

get the letter string for the given side.
protected getLetterStringForSide ( $side ) : string
$side
return string

getLetter_string() public method

get the letter string for the element used by correspondence if installed.
public getLetter_string ( ) : string
return string

getRightFluidString() public method

get the fluid findings string for the right.
public getRightFluidString ( ) : string
return string

model() public static method

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

notAllowedIfTrue() public method

validate that attribute is not set if dependency is true - should never arise through the forms requires side param.
public notAllowedIfTrue ( $attribute, $params )
$attribute
$params

relations() public method

public relations ( ) : array
return array relational rules.

requiredIfFalse() public method

validate that attribute is set if dependency is false requires side param.
public requiredIfFalse ( $attribute, $params )
$attribute
$params

rules() public method

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

sidedDefaults() public method

public sidedDefaults ( )

sidedFields() public method

public sidedFields ( )

tableName() public method

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

Property Details

$auto_update_relations protected property

protected $auto_update_relations

$relation_defaults protected property

protected $relation_defaults