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

Class: htmlTableExtendedInputField

Source Location: /lib/html.inc

Class Overview

htmlElement
   |
   --htmlTableExtendedInputField

An extended input field that combines label, input field and help.


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: htmlElement

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

Class Details

[line 235]
An extended input field that combines label, input field and help.



[ Top ]


Class Methods


constructor __construct [line 260]

htmlTableExtendedInputField __construct( String $label, String $fieldName, [String $fieldValue = null], [String $helpID = null])

Constructor



Parameters:

String   $label   descriptive label
String   $fieldName   unique field name
String   $fieldValue   value of input field (optional)
String   $helpID   help ID (optional)

[ Top ]

method generateHTML [line 278]

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 ]

method setFieldMaxLength [line 316]

void setFieldMaxLength( int $fieldMaxLength)

Sets the maximum field length.



Tags:

access:  public


Parameters:

int   $fieldMaxLength   length

[ Top ]

method setFieldSize [line 325]

void setFieldSize( int $fieldSize)

Sets the field size.



Tags:

access:  public


Parameters:

int   $fieldSize   size

[ Top ]

method setRequired [line 334]

void setRequired( boolean $required)

Specifies if this input field must be filled.



Tags:

access:  public


Parameters:

boolean   $required   required or not

[ Top ]


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