function RulesPHPEvaluator::prepare

Overrides RulesDataInputEvaluator::prepare().

Overrides RulesDataInputEvaluator::prepare

File

modules/php.eval.inc, line 47

Class

RulesPHPEvaluator
A class implementing a rules input evaluator processing PHP.

Code

public function prepare($text, $var_info) {
    // A returned NULL skips the evaluator.
    $this->setting = self::getUsedVars($text, $var_info);
}