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 IButtonControl

IButtonControl interface

IButtonControl specifies the common properties and events that must be implemented by a button control, such as TButton, TLinkButton, TImageButton.

Direct known implementers

TButton, TImageButton, TLinkButton

Indirect known implementers

TActiveButton, TActiveImageButton, TActiveLinkButton
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 string
# getText( )

Returns

string
caption of the button
public
# setText( string $value )

Parameters

$value
string
caption of the button
public boolean
# getCausesValidation( )

Returns

boolean
whether postback event trigger by this button will cause input validation
public
# setCausesValidation( boolean $value )

Parameters

$value
boolean
whether postback event trigger by this button will cause input validation
public string
# getCommandName( )

Returns

string
the command name associated with the onCommand OnCommand event.
public
# setCommandName( string $value )

Parameters

$value
string
the command name associated with the onCommand OnCommand event.
public string
# getCommandParameter( )

Returns

string
the parameter associated with the onCommand OnCommand event
public
# setCommandParameter( string $value )

Parameters

$value
string
the parameter associated with the onCommand OnCommand event.
public string
# getValidationGroup( )

Returns

string
the group of validators which the button causes validation upon postback
public
# setValidationGroup( string $value )

Parameters

$value
string
the group of validators which the button causes validation upon postback
public
# onClick( TEventParameter $param )

Raises OnClick event.

Raises OnClick event.

Parameters

$param
TEventParameter
event parameter to be passed to the event handlers
public
# onCommand( TCommandEventParameter $param )

Raises OnCommand event.

Raises OnCommand event.

Parameters

$param
TCommandEventParameter
event parameter to be passed to the event handlers
public
# setIsDefaultButton( boolean $value )

Parameters

$value
boolean
set by a panel to register this button as the default button for the panel.
public boolean
# getIsDefaultButton( )

Returns

boolean
true if this button is registered as a default button for a panel.
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