PHP Class OEModule\OphCiExamination\models\Element_OphCiExamination_LaserManagement

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

Public Properties

Property Type Description
$service

Public Methods

Method Description
attributeLabels ( ) : array
canCopy ( )
getLaserDeferralReasonForSide ( string $side ) : mixed | string returns the reason the injection has been deferred (switches between text value of fk, or the entered 'other' reason).
getLaserTypeStringForSide ( string $side ) : string returns the laser type for the given side.
getLetter_lmp ( ) : string Returns the laser management plan section for use in correspondence.
getLetter_string ( ) : string get the string of this element for use in correspondence.
laserDeferralReasonDependencyValidation ( string $attribute, $params ) only need a text "other" reason for reasons that are flagged "other".
laserDependencyDeferralValidation ( string $attribute, $params ) deferral reason is only required for laser status that are flagged deferred.
model ( $className = __CLASS__ ) : the Returns the static model of the specified AR class.
relations ( ) : array
requiredIfLaserTypeOther ( $attribute, $params )
requiredIfTreatmentNeeded ( $attribute, $params ) validate for status that indicate treatment required.
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
sidedFields ( )
tableName ( ) : string

Protected Methods

Method Description
getLetterStringForSide ( $side ) : string gets a string of the information contained in this element for the given side.

Method Details

attributeLabels() public method

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

canCopy() public method

public canCopy ( )

getLaserDeferralReasonForSide() public method

returns the reason the injection has been deferred (switches between text value of fk, or the entered 'other' reason).
public getLaserDeferralReasonForSide ( string $side ) : mixed | string
$side string
return mixed | string

getLaserTypeStringForSide() public method

returns the laser type for the given side.
public getLaserTypeStringForSide ( string $side ) : string
$side string
return string

getLetterStringForSide() protected method

gets a string of the information contained in this element for the given side.
protected getLetterStringForSide ( $side ) : string
$side
return string

getLetter_lmp() public method

Returns the laser management plan section for use in correspondence.
Deprecation: since 1.4.10 - use getLetter_string()
public getLetter_lmp ( ) : string
return string

getLetter_string() public method

get the string of this element for use in correspondence.
public getLetter_string ( ) : string
return string

laserDeferralReasonDependencyValidation() public method

only need a text "other" reason for reasons that are flagged "other".
public laserDeferralReasonDependencyValidation ( string $attribute, $params )
$attribute string attribute to validate

laserDependencyDeferralValidation() public method

deferral reason is only required for laser status that are flagged deferred.
public laserDependencyDeferralValidation ( string $attribute, $params )
$attribute string attribute to validate

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.

requiredIfLaserTypeOther() public method

public requiredIfLaserTypeOther ( $attribute, $params )
$attribute
$params

requiredIfTreatmentNeeded() public method

validate for status that indicate treatment required.
public requiredIfTreatmentNeeded ( $attribute, $params )
$attribute

rules() public method

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

sidedFields() public method

public sidedFields ( )

tableName() public method

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

Property Details

$service public property

public $service