PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TActiveListControlAdapter

TActiveListControlAdapter class.

Adapte the list controls to allows the selections on the client-side to be altered during callback response.

TComponent
Extended by TApplicationComponent
Extended by TControlAdapter
Extended by TActiveControlAdapter
Extended by TActiveListControlAdapter implements IListControlAdapter
Package: System\Web\UI\ActiveControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Web/UI/ActiveControls/TActiveListControlAdapter.php
Methods summary
protected boolean
# canUpdateClientSide( )

Returns

boolean
true if can update client-side attributes.
public
# setSelectedIndex( integer $index )

Selects an item based on zero-base index on the client side.

Selects an item based on zero-base index on the client side.

Parameters

$index
integer
the index (zero-based) of the item to be selected

Implementation of

IListControlAdapter::setSelectedIndex()
public
# setSelectedIndices( array $indices )

Selects a list of item based on zero-base indices on the client side.

Selects a list of item based on zero-base indices on the client side.

Parameters

$indices
array
list of index of items to be selected

Implementation of

IListControlAdapter::setSelectedIndices()
public
# setSelectedValue( string $value )

Sets selection by item value on the client side.

Sets selection by item value on the client side.

Parameters

$value
string
the value of the item to be selected.

Implementation of

IListControlAdapter::setSelectedValue()
public
# setSelectedValues( array $values )

Sets selection by a list of item values on the client side.

Sets selection by a list of item values on the client side.

Parameters

$values
array
list of the selected item values

Implementation of

IListControlAdapter::setSelectedValues()
public
# clearSelection( )

Clears all existing selections on the client side.

Clears all existing selections on the client side.

Implementation of

IListControlAdapter::clearSelection()
public
# updateListItems( )

Update the client-side list options.

Update the client-side list options.

Methods inherited from TActiveControlAdapter
__construct(), getBaseActiveControl(), getIsTrackingPageState(), getStateTracker(), onLoad(), onPreRender(), render(), renderCallbackClientScripts(), saveState(), setBaseActiveControl(), setBaseControlClass()
Methods inherited from TControlAdapter
createChildControls(), getControl(), getPage(), loadState(), onInit(), onUnload(), renderChildren()
Methods inherited from TApplicationComponent
getApplication(), getRequest(), getResponse(), getService(), getSession(), getUser(), publishAsset(), publishFilePath()
Methods inherited from TComponent
__call(), __destruct(), __get(), __isset(), __set(), __sleep(), __unset(), __wakeup(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Properties inherited from TControlAdapter
$_control
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO