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

Class: htmlTable

Source Location: /lib/html.inc

Class Overview

htmlElement
   |
   --htmlTable

Structures elements using a table.


Constants

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: htmlElement

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

Class Details

[line 68]
Structures elements using a table.



[ Top ]


Class Methods


method addElement [line 89]

void addElement( mixed $element, [boolean $newLine = false], array $options)

Adds an element to the table. The element may be a htmlElement object or a simple String.



Tags:

access:  public


Parameters:

mixed   $element   htmlElement object or a simple String
boolean   $newLine   adds a new line after the element (optional, default false)
array   $options   list of options (e.g. htmlElement::OPTION_ALIGN => htmlElement::ALIGN_TOP)

[ Top ]

method addNewLine [line 139]

void addNewLine( )

Adds another line to the table.



Tags:

access:  public


[ Top ]

method generateHTML [line 159]

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 ]


Class Constants

footer =  "</table>\n"

[line 73]

table footer


[ Top ]

header =  "<table>\n"

[line 71]

table header


[ Top ]

newLine =  "</tr><tr>\n"

[line 75]

new line


[ Top ]



Documentation generated on Fri, 25 Jun 2010 18:49:09 +0200 by phpDocumentor 1.4.1