auFormContainer

From auWiki
Jump to navigation Jump to search

The auFormContainer abstract class is part of the auLib package. It is defined in the auForm.php file and used as the base class for other classes in that file that may contain other auFormElements.

Hierarchy

Usage

There is not generally a reason to use auFormContainer directly, so a list of descendant classes is also included on this page:

Public Functions

Add

Add($element)

Adds an element to the container. This normally does not need to be overridden.

Protected Data

Protected data from auFormElement are also available, but not listed here.

$elements

Array of elements contained by this object.

$hasfile

Whether this object contains an auFormFile element.

$submit

Name used by the submit buttons.

Protected Functions

Protected Functions from auFormElement are also available, but not listed here unless overridden.

CheckInput()

CheckInput()

Checks the elements in the container for errors. Overrides auFormElement implementation.

  • @return = Whether there are any errors in any of this object’s contained elements.