PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
HTML_QuickForm::isError() | Up | HTML_QuickForm::registerElementType()