PHP Class Prado\Web\UI\ActiveControls\TAutoCompleteEventParameter

The {@link getSelectedIndex SelectedIndex} is a zero-based index of the suggestion selected by the user, -1 if not suggestion is selected.
Since: 3.1
Inheritance: extends TCallbackEventParameter
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
__construct ( $response, $parameter, $index ) Creates a new TCallbackEventParameter.
getSelectedIndex ( ) : integer
getToken ( ) : string

Method Details

__construct() public method

Creates a new TCallbackEventParameter.
public __construct ( $response, $parameter, $index )

getSelectedIndex() public method

public getSelectedIndex ( ) : integer
return integer selected suggestion zero-based index, -1 if not selected.

getToken() public method

public getToken ( ) : string
return string token for matching a list of suggestions.