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

Class: htmlElement

Source Location: /lib/html.inc

Class Overview


Represents a HTML element.


Author(s):

Variables

Constants

Methods


Child classes:

htmlTable
Structures elements using a table.
htmlTableRow
A row inside a htmlTable.
htmlTableExtendedInputField
An extended input field that combines label, input field and help.
htmlHelpLink
Renders a help link.
htmlButton
Simple button.
htmlSelect
Represents a select box.
htmlOutputText
Prints the text and escapes contained HTML code by default.
htmlInputCheckbox
Prints the HTML code for a checkbox.
htmlInputFileUpload
Prints the HTML code for a file upload field.
htmlInputTextarea
Prints the HTML code for a textarea.
htmlImage
Prints the HTML code for an image.
htmlSpacer
Adds an empty space with given width and height.

Class Details

[line 37]
Represents a HTML element.

This is used to build HTML code by using objects.




Tags:

abstract:  


[ Top ]


Class Variables

$alignment =  null

[line 46]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


method generateHTML [line 59]

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)
abstract:  


Overridden in child classes as:

htmlTable::generateHTML()
Prints the HTML code for this element.
htmlTableRow::generateHTML()
Prints the HTML code for this element.
htmlTableExtendedInputField::generateHTML()
Prints the HTML code for this element.
htmlHelpLink::generateHTML()
Prints the HTML code for this element.
htmlButton::generateHTML()
Prints the HTML code for this element.
htmlSelect::generateHTML()
Prints the HTML code for this element.
htmlTableExtendedSelect::generateHTML()
Prints the HTML code for this element.
htmlOutputText::generateHTML()
Prints the HTML code for this element.
htmlInputCheckbox::generateHTML()
Prints the HTML code for this element.
htmlTableExtendedInputCheckbox::generateHTML()
Prints the HTML code for this element.
htmlInputFileUpload::generateHTML()
Prints the HTML code for this element.
htmlTableExtendedInputFileUpload::generateHTML()
Prints the HTML code for this element.
htmlInputTextarea::generateHTML()
Prints the HTML code for this element.
htmlTableExtendedInputTextarea::generateHTML()
Prints the HTML code for this element.
htmlImage::generateHTML()
Prints the HTML code for this element.
htmlSpacer::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

ALIGN_BOTTOM =  3

[line 44]


[ Top ]

ALIGN_LEFT =  1

[line 42]


[ Top ]

ALIGN_RIGHT =  2

[line 43]


[ Top ]

ALIGN_TOP =  0

[line 41]


[ Top ]

OPTION_ALIGN =  0

[line 39]


[ Top ]



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