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: Mon, 01 Sep 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.