PEAR Manual
Prev |  | Next

# HTML_QuickForm_group::getElementName()

HTML_QuickForm_group::getElementName() -- Returns the name of an element inside the group

## Synopsis

    require_once 'HTML/QuickForm/group.php';

``mixed HTML_QuickForm_group::getElementName` (mixed $index)`

## Description

Returns the name of an element inside the group. This is the name that will be shown in the form HTML output.

## Parameter

mixed `$index`

  Element name or element index in the group

## Return value

returns string with element name, false if not found

## Throws

throws no exceptions thrown

## Note

since 3.0

This function can not be called statically.

Prev | Home | Next
constructor HTML_QuickForm_group() | Up | HTML_QuickForm_group::getElements()