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 TCallbackPageStateTracker

TCallbackPageStateTracker class.

Tracking changes to the page state during callback.

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/TActiveControlAdapter.php
Methods summary
public
# __construct( TControl $control )

Constructor. Add a set of default states to track.

Constructor. Add a set of default states to track.

Parameters

$control
TControl
control to track.
protected
# addStatesToTrack( )

Add a list of view states to track. Each state is added to the StatesToTrack property with the view state name as key. The value should be an array with two enteries. The first entery is the name of the class that will calculate the state differences. The second entry is a php function/method callback that handles the changes in the viewstate.

Add a list of view states to track. Each state is added to the StatesToTrack property with the view state name as key. The value should be an array with two enteries. The first entery is the name of the class that will calculate the state differences. The second entry is a php function/method callback that handles the changes in the viewstate.

protected TMap
# getStatesToTrack( )

Returns

TMap
list of viewstates to track.
public
# trackChanges( )

Start tracking view state changes. The clone function on objects are called for those viewstate having an object as value.

Start tracking view state changes. The clone function on objects are called for those viewstate having an object as value.

protected array
# getChanges( )

Returns

array
list of viewstate and the changed data.
public
# respondToChanges( )

For each of the changes call the corresponding change handlers.

For each of the changes call the corresponding change handlers.

protected TCallbackClientScript
# client( )

Returns

TCallbackClientScript
callback client scripting
protected
# updateToolTip( string $value )

Updates the tooltip.

Updates the tooltip.

Parameters

$value
string
new tooltip
protected
# updateTabIndex( integer $value )

Updates the tab index.

Updates the tab index.

Parameters

$value
integer
tab index
protected
# updateAccessKey( string $value )

Updates the modifier access key

Updates the modifier access key

Parameters

$value
string
access key
protected
# updateVisible( boolean $visible )

Hides or shows the control on the client-side. The control must be already rendered on the client-side.

Hides or shows the control on the client-side. The control must be already rendered on the client-side.

Parameters

$visible
boolean
true to show the control, false to hide.
protected
# updateEnabled( boolean $enable )

Enables or Disables the control on the client-side.

Enables or Disables the control on the client-side.

Parameters

$enable
boolean
true to enable the control, false to disable.
protected
# updateStyle( array $style )

Updates the CSS style on the control on the client-side.

Updates the CSS style on the control on the client-side.

Parameters

$style
array
list of new CSS style declarations.
protected
# updateAttributes( array $attributes )

Updates/adds a list of attributes on the control.

Updates/adds a list of attributes on the control.

Parameters

$attributes
array
list of attribute name-value pairs.
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