SFListBoxInput Class Reference
[Form Inputs]

The SFListBoxInput class. More...

Inherits SFMultiEnumInput.

List of all members.

Public Member Functions

 getHtmlText ()
 Returns the HTML code to be included in the output page for this input.

Static Public Member Functions

static getName ()
 Returns the name of the input type this class handles.
static getHTML ($cur_value, $input_name, $is_mandatory, $is_disabled, $other_args)
 Method to make new style input types compatible with old-style call from the SF parser.
static getParameters ()
 Returns the set of parameters for this form input.


Detailed Description

The SFListBoxInput class.

Definition at line 14 of file SF_ListBoxInput.php.


Member Function Documentation

static SFListBoxInput::getName (  )  [static]

Returns the name of the input type this class handles.

This is the name to be used in the field definition for the "input type" parameter.

Returns:
String The name of the input type this class handles. Should be declared abstract. Static functions cannot be abstract. Do we need this method at all? The name should be set outside this class when the input type is registered.

Reimplemented from SFFormInput.

Definition at line 16 of file SF_ListBoxInput.php.

static SFListBoxInput::getHTML ( cur_value,
input_name,
is_mandatory,
is_disabled,
other_args 
) [static]

Method to make new style input types compatible with old-style call from the SF parser.

Deprecated:
Do not use/override this in new input type classes
TODO: remove/refactor once SF uses forminput objects properly

Reimplemented from SFFormInput.

Definition at line 20 of file SF_ListBoxInput.php.

References $sfgShowOnSelect, and SFUtils::getValuesArray().

static SFListBoxInput::getParameters (  )  [static]

Returns the set of parameters for this form input.

Reimplemented from SFMultiEnumInput.

Definition at line 90 of file SF_ListBoxInput.php.

SFListBoxInput::getHtmlText (  ) 

Returns the HTML code to be included in the output page for this input.

Reimplemented from SFFormInput.

Definition at line 103 of file SF_ListBoxInput.php.


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

Generated on Sun Mar 18 07:15:42 2012 for Semantic MediaWiki by  doxygen 1.5.6