[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/htmlform/ -> HTMLAutoCompleteSelectField.php (summary)

(no description)

File Size: 165 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLAutoCompleteSelectField:: (5 methods):
  __construct()
  loadDataFromRequest()
  validate()
  getAttributes()
  getInputHTML()


Class: HTMLAutoCompleteSelectField  - X-Ref

Text field for selecting a value from a large list of possible values, with
auto-completion and optionally with a select dropdown for selecting common
options.

If one of 'options-messages', 'options', or 'options-message' is provided
and non-empty, the select dropdown will be shown. An 'other' key will be
appended using message 'htmlform-selectorother-other' if not already
present.

Besides the parameters recognized by HTMLTextField, the following are
recognized:
options-messages - As for HTMLSelectField
options - As for HTMLSelectField
options-message - As for HTMLSelectField
autocomplete - Associative array mapping display text to values.
autocomplete-messages - Like autocomplete, but keys are message names.
require-match - Boolean, if true the value must be in the options or the
autocomplete.
other-message - Message to use instead of htmlform-selectorother-other for
the 'other' message.
other - Raw text to use for the 'other' message

__construct( $params )   X-Ref
No description

loadDataFromRequest( $request )   X-Ref
No description

validate( $value, $alldata )   X-Ref
No description

getAttributes( array $list )   X-Ref
No description

getInputHTML( $value )   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1