Class TAutoCompleteEventParameter

Description

TAutCompleteEventParameter contains the getToken requested by the user for a partial match of the suggestions.

The SelectedIndex is a zero-based index of the suggestion selected by the user, -1 if not suggestion is selected.

  • author: Wei Zhuo <weizhuo[at]gmail[dot]com>
  • version: $Id: TAutoComplete.php 3118 2012-03-24 22:52:29Z ctrlaltca@gmail.com $
  • since: 3.1

Located in /Web/UI/ActiveControls/TAutoComplete.php (line 381)

TComponent
   |
   --TEventParameter
      |
      --TCallbackEventParameter
         |
         --TAutoCompleteEventParameter
Method Summary
TAutoCompleteEventParameter __construct ( $response,  $parameter, [ $index = -1])
string getToken ()
Methods
Constructor __construct (line 388)

Creates a new TCallbackEventParameter.

  • access: public
TAutoCompleteEventParameter __construct ( $response,  $parameter, [ $index = -1])
  • $response
  • $parameter
  • $index

Redefinition of:
TCallbackEventParameter::__construct()
Creates a new TCallbackEventParameter.
getSelectedIndex (line 397)
  • return: selected suggestion zero-based index, -1 if not selected.
  • access: public
int getSelectedIndex ()
getToken (line 405)
  • return: token for matching a list of suggestions.
  • access: public
string getToken ()

Inherited Methods

Inherited From TCallbackEventParameter

TCallbackEventParameter::__construct()
TCallbackEventParameter::getCallbackParameter()
TCallbackEventParameter::getNewWriter()
TCallbackEventParameter::getResponseData()
TCallbackEventParameter::setResponseData()

Inherited From TComponent

TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()

Documentation generated on Mon, 25 Jun 2012 14:37:21 +0200 by phpDocumentor 1.4.3