HTML_QuickForm::isTypeRegistered()

HTML_QuickForm::isTypeRegistered() – Checks whether the form element type is supported

Synopsis

require_once 'HTML/QuickForm.php';

boolean HTML_QuickForm::isTypeRegistered ( string $type )

Description

Returns whether or not the form element type is supported. New types are added via HTML_QuickForm::registerElementType().

Parameter

string $type

Form element type

Throws

throws no exceptions thrown

Note

since 1.0

This function can be called statically.

Tells whether a result is an error (Previous) Registers a new element type (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.