PEAR Manual
Prev |  | Next

# HTML_QuickForm::getElementType()

HTML_QuickForm::getElementType() -- Returns the type of an element

## Synopsis

    require_once 'HTML/QuickForm.php';

``string HTML_QuickForm::getElementType` (string $element)`

## Description

Returns the type of the given element.

## Parameter

string `$element`

  Name of form element

## Return value

return element type or `FALSE` if element is not found

## Throws

throws no exceptions thrown

## Note

since 1.1

This function can not be called statically.

Prev | Home | Next
HTML_QuickForm::errorMessage() | Up | HTML_QuickForm::getElement()