PHP Class OEModule\OphCiExamination\models\Element_OphCiExamination_LaserManagement

The followings are the available columns in table:
Inheritance: extends SplitEventTypeElement
Afficher le fichier Open project: openeyes/openeyes

Méthodes publiques

Свойство Type Description
$service

Méthodes publiques

Méthode 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

Méthodes protégées

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

Method Details

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

canCopy() public méthode

public canCopy ( )

getLaserDeferralReasonForSide() public méthode

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
Résultat mixed | string

getLaserTypeStringForSide() public méthode

returns the laser type for the given side.
public getLaserTypeStringForSide ( string $side ) : string
$side string
Résultat string

getLetterStringForSide() protected méthode

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

getLetter_lmp() public méthode

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

getLetter_string() public méthode

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

laserDeferralReasonDependencyValidation() public méthode

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

laserDependencyDeferralValidation() public méthode

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 méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
Résultat the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

requiredIfLaserTypeOther() public méthode

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

requiredIfTreatmentNeeded() public méthode

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

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

sidedFields() public méthode

public sidedFields ( )

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name

Property Details

$service public_oe property

public $service