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.

Returns registered validation rules (Previous) Applies a filter for the given field(s) (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.