PHP Class OphCoTherapyapplication_DecisionTreeNodeRule

Each rule applies to its specified node to determine if that node is the next point in the decision tree, based on the response given for its parent node. More than one rule may apply for a given node (to allow specific ranges)
Inheritance: extends BaseActiveRecordVersioned
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode Description
checkValue ( $val )
displayParentCheck ( )
displayParentCheckValue ( ) : string generate the display value of the parent check value on this rule.
getDefinition ( ) * Works out a full abstract definition of the rule.
model ( $className = __CLASS__ ) : the Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
tableName ( ) : string

Method Details

checkValue() public méthode

public checkValue ( $val )

displayParentCheck() public méthode

public displayParentCheck ( )

displayParentCheckValue() public méthode

generate the display value of the parent check value on this rule.
public displayParentCheckValue ( ) : string
Résultat string display value

getDefinition() public méthode

* Works out a full abstract definition of the rule.
public getDefinition ( )

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.

rules() public méthode

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

tableName() public méthode

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

Property Details

$COMPARATORS public_oe property

public $COMPARATORS