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 TBaseActiveControl

TBaseActiveControl class provided additional basic property for every active control. An instance of TBaseActiveControl or its decendent TBaseActiveCallbackControl is created by TActiveControlAdapter::getBaseActiveControl() method.

The setEnableUpdate EnableUpdate property determines wether the active control is allowed to update the contents of the client-side when the callback response returns.

TComponent
Extended by TBaseActiveControl

Direct known subclasses

TBaseActiveCallbackControl
Package: System\Web\UI\ActiveControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gamil[dot]com>
Since: 3.1
Located at Web/UI/ActiveControls/TBaseActiveControl.php
Methods summary
public
# __construct( TControl $control )

Constructor. Attach a base active control to an active control instance.

Constructor. Attach a base active control to an active control instance.

Parameters

$control
TControl
active control

Overrides

TComponent::__construct()
protected mixed
# setOption( string $name, mixed $value, mixed $default = null )

Sets a named options with a value. Options are used to store and retrive named values for the base active controls.

Sets a named options with a value. Options are used to store and retrive named values for the base active controls.

Parameters

$name
string
option name.
$value
mixed
new value.
$default
mixed
default value.

Returns

mixed
options value.
protected mixed
# getOption( string $name, mixed $default = null )

Gets an option named value. Options are used to store and retrive named values for the base active controls.

Gets an option named value. Options are used to store and retrive named values for the base active controls.

Parameters

$name
string
option name.
$default
mixed
default value.

Returns

mixed
options value.
protected TMap
# getOptions( )

Returns

TMap
active control options
protected TPage
# getPage( )

Returns

TPage
the page containing the attached control.
protected TControl
# getControl( )

Returns

TControl
the attached control.
public
# setEnableUpdate( boolean $value )

Parameters

$value
boolean
true to allow fine grain callback updates.
public boolean
# getEnableUpdate( )

Returns

boolean
true to allow fine grain callback updates.
public boolean
# canUpdateClientSide( mixed $bDontRequireVisibility = false )

Returns true if callback response is allowed to update the browser contents. Is is true if the control is initilized, and is a callback request and the setEnableUpdate EnableUpdate property is true and the page is not loading post data.

Returns true if callback response is allowed to update the browser contents. Is is true if the control is initilized, and is a callback request and the setEnableUpdate EnableUpdate property is true and the page is not loading post data.

Returns

boolean
true if the callback response is allowed update client-side contents.
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
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