function RulesDataInputEvaluator::prepare
Prepares the evaluation.
For example, to determine whether the input evaluator has been used. If this evaluator should be skipped just unset $this->setting.
Parameters
string $text: The text to evaluate later on.
array $variables: An array of info about available variables.
array $param_info: (optional) An array of information about the handled parameter value. For backward compatibility, this parameter is not required.
1 call to RulesDataInputEvaluator::prepare()
- RulesDataInputEvaluator::__construct in includes/
rules.processor.inc - Overridden to invoke prepare().
5 methods override RulesDataInputEvaluator::prepare()
- RulesDateInputEvaluator::prepare in modules/
rules_core.eval.inc - Overrides RulesDataInputEvaluator::prepare().
- RulesI18nStringEvaluator::prepare in rules_i18n/
rules_i18n.rules.inc - Overrides RulesDataInputEvaluator::prepare().
- RulesPHPEvaluator::prepare in modules/
php.eval.inc - Overrides RulesDataInputEvaluator::prepare().
- RulesTokenEvaluator::prepare in modules/
system.eval.inc - Overrides RulesDataInputEvaluator::prepare().
- RulesURIInputEvaluator::prepare in modules/
rules_core.eval.inc - Overrides RulesDataInputEvaluator::prepare().
File
-
includes/
rules.processor.inc, line 347
Class
- RulesDataInputEvaluator
- A base processor for use by input evaluators.
Code
public abstract function prepare($text, $variables);