MediaWiki  REL1_24
HTMLHiddenField Class Reference
Inheritance diagram for HTMLHiddenField:
Collaboration diagram for HTMLHiddenField:

List of all members.

Public Member Functions

 __construct ($params)
 Initialise the object.
 getDiv ($value)
 getInputHTML ($value)
 This function must be implemented to return the HTML to generate the input object itself.
 getRaw ($value)
 getTableRow ($value)
 Get the complete table row for the input, including help text, labels, and whatever.

Detailed Description

Definition at line 3 of file HTMLHiddenField.php.


Constructor & Destructor Documentation

Initialise the object.

Parameters:
array$paramsAssociative Array. See HTMLForm doc for syntax.
Since:
1.22 The 'label' attribute no longer accepts raw HTML, use 'label-raw' instead
Exceptions:
MWException

Reimplemented from HTMLFormField.

Definition at line 4 of file HTMLHiddenField.php.

References $params.


Member Function Documentation

Parameters:
string$value
Returns:
string
Since:
1.20

Reimplemented from HTMLFormField.

Definition at line 28 of file HTMLHiddenField.php.

References $value, and getTableRow().

This function must be implemented to return the HTML to generate the input object itself.

It should not implement the surrounding table cells/rows, or labels/help messages.

Parameters:
string$valueThe value to set the input to; eg a default text for a text input.
Returns:
string Valid HTML.

Reimplemented from HTMLFormField.

Definition at line 41 of file HTMLHiddenField.php.

Parameters:
string$value
Returns:
string
Since:
1.20

Reimplemented from HTMLFormField.

Definition at line 37 of file HTMLHiddenField.php.

References $value, and getTableRow().

Get the complete table row for the input, including help text, labels, and whatever.

Parameters:
string$valueThe value to set the input to.
Returns:
string Complete HTML table row.

Reimplemented from HTMLFormField.

Definition at line 12 of file HTMLHiddenField.php.

References $params, and array().

Referenced by getDiv(), and getRaw().


The documentation for this class was generated from the following file: