a ChoiceValidatorRule checks a value against a certain given number of choices
Located in /harmoni/core/utilities/FieldSetValidator/rules/ChoiceValidatorRule.class.php (line 15)
ValidatorRuleInterface | --ChoiceValidatorRule
an array of choices to allow
the concstructor
checks a given value against the given choices
This is a static method to return an already-created instance of a validator rule. There are at most about a hundred unique rule objects in use durring any given execution cycle, but rule objects are instantiated hundreds of thousands of times.
This method follows a modified Singleton pattern
Return a key that can be used to identify this Rule for caching purposes.
If this rule takes no arguments, the class name should be sufficient. otherwise, append the arguments.
This method should only be called by ValidatorRules.
Inherited From ValidatorRuleInterface
ValidatorRuleInterface::check()
ValidatorRuleInterface::getRule()
ValidatorRuleInterface::getRuleKey()
Documentation generated on Wed, 19 Sep 2007 10:22:01 -0400 by phpDocumentor 1.3.0RC3