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

Interface IPostBackDataHandler

IPostBackDataHandler interface

If a control wants to load post data, it must implement this interface.

Direct known implementers

TAccordion, TCheckBox, TTextBox, TCheckBoxList, TDropDownList, TFileUpload, THiddenField, TImageButton, TListBox, TSlider, TTabPanel

Indirect known implementers

TActiveCheckBox, TActiveCheckBoxList, TActiveRatingList, TActiveTextBox, TAutoComplete, TColorPicker, TDatePicker, THtmlArea, THtmlArea4, TInPlaceTextBox, TRadioButton, TRadioButtonList, TActiveDatePicker, TRatingList, TActiveDropDownList, TActiveFileUpload, TActiveHiddenField, TActiveImageButton, TActiveListBox, TActiveRadioButton, TActiveRadioButtonList
Package: System\Web\UI
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Web/UI/TControl.php
Methods summary
public boolean
# loadPostData( string $key, array $values )

Loads user input data. The implementation of this function can use $values[$key] to get the user input data that are meant for the particular control.

Loads user input data. The implementation of this function can use $values[$key] to get the user input data that are meant for the particular control.

Parameters

$key
string
the key that can be used to retrieve data from the input data collection
$values
array
the input data collection

Returns

boolean
whether the data of the control has been changed
public
# raisePostDataChangedEvent( )

Raises postdata changed event. The implementation of this function should raise appropriate event(s) (e.g. OnTextChanged) indicating the control data is changed.

Raises postdata changed event. The implementation of this function should raise appropriate event(s) (e.g. OnTextChanged) indicating the control data is changed.

public boolean
# getDataChanged( )

Returns

boolean
whether postback causes the data change. Defaults to false for non-postback state.
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