metaHTML
[ class tree: metaHTML ] [ index: metaHTML ] [ all elements ]

Class: htmlGroup

Source Location: /lib/html.inc

Class Overview

htmlElement
   |
   --htmlGroup

Groups multiple htmlElements.


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: htmlElement

htmlElement::generateHTML()
Prints the HTML code for this element.
htmlElement::getAlignmentString()
Returns the HTML attributes for the alignment.
htmlElement::getColspanString()
Returns the HTML attribute for the colspan.
htmlElement::getRowspanString()
Returns the HTML attribute for the rowspan.

Class Details

[line 2013]
Groups multiple htmlElements.

This is useful if multiple elements should be included in a single table cell. The HTML code of the subelements is printed in the order they were added. No additional code is added.




[ Top ]


Class Methods


method addElement [line 2042]

void addElement( htmlElement $sub)

Adds a subelement.



Tags:

access:  public


Parameters:

htmlElement   $sub   subelement

[ Top ]

method generateHTML [line 2029]

array generateHTML( string $module, array $input, array $values, boolean $restricted, &$tabindex, string $scope, integer $tabindex)

Prints the HTML code for this element.



Tags:

return:  List of input field names and their type (name => type)


Overrides htmlElement::generateHTML() (Prints the HTML code for this element.)

Parameters:

string   $module   Name of account module
array   $input   List of meta-HTML elements
array   $values   List of values which override the defaults in $input (name => value)
boolean   $restricted   If true then no buttons will be displayed
integer   $tabindex   Start value of tabulator index for input fields
string   $scope   Account type
   &$tabindex  

[ Top ]


Documentation generated on Sat, 12 Feb 2011 16:36:17 +0100 by phpDocumentor 1.4.1