PHP Class BaseLabResultElement

Inheritance: extends BaseEventTypeElement
Mostrar archivo Open project: openeyes/openeyes Class Usage Examples

Protected Properties

Property Type Description
$htmlOptions

Public Methods

Method Description
findPatientResultByType ( $patientId, $type )
getHtmlOptionsForInput ( $input ) : array | mixed

Protected Methods

Method Description
overrideRules ( $parentRules, $rules ) : array Overrides a set of rules with those of a child class.

Method Details

findPatientResultByType() public method

public findPatientResultByType ( $patientId, $type )

getHtmlOptionsForInput() public method

public getHtmlOptionsForInput ( $input ) : array | mixed
$input
return array | mixed

overrideRules() protected method

When we override a model we should be able to override it's rules without redefining the entire rule array. Because of the terrible format in which Yii declares it's rules this requires looping both sets of rules to look for matches.
protected overrideRules ( $parentRules, $rules ) : array
$parentRules
$rules
return array

Property Details

$htmlOptions protected_oe property

protected $htmlOptions