HTML_QuickForm::isRuleRegistered()

HTML_QuickForm::isRuleRegistered()

HTML_QuickForm::isRuleRegistered() -- Returns whether the rule is supported

Synopsis

require_once 'HTML/QuickForm.php';

boolean HTML_QuickForm::isRuleRegistered (string $name)

Description

Returns whether or not the given rule is supported. New rules are registered via registerRule() method.

Parameter

string $name

Validation rule name

Throws

throws no exceptions thrown

Note

since 1.0

This function can not be called statically.