HTML_QuickForm::isRuleRegistered()

HTML_QuickForm::isRuleRegistered() – 規則がサポートされているかどうかを返す

Synopsis

require_once 'HTML/QuickForm.php';

boolean HTML_QuickForm::isRuleRegistered ( string $name )

Description

指定した規則がサポートされているかどうかを返します。新しい規則は registerRule() メソッドを用いて登録します。

Parameter

string $name

検証規則名。

Throws

例外はスローされません。

Note

since 1.0

This function can not be called statically.