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

List of all members.

Public Member Functions

 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.

Protected Member Functions

 formatMsg ()

Detailed Description

Definition at line 3 of file HTMLEditTools.php.


Member Function Documentation

HTMLEditTools::formatMsg ( ) [protected]

Definition at line 38 of file HTMLEditTools.php.

References empty, and HTMLFormField\msg().

Referenced by getDiv(), and getTableRow().

HTMLEditTools::getDiv ( value)
Parameters:
string$value
Returns:
string
Since:
1.20

Reimplemented from HTMLFormField.

Definition at line 23 of file HTMLEditTools.php.

References formatMsg().

Referenced by getRaw().

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 4 of file HTMLEditTools.php.

HTMLEditTools::getRaw ( value)
Parameters:
string$value
Returns:
string
Since:
1.20

Reimplemented from HTMLFormField.

Definition at line 34 of file HTMLEditTools.php.

References $value, and getDiv().

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 8 of file HTMLEditTools.php.

References formatMsg().


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