Interface IButtonControl

Description

IButtonControl interface

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

  • author: Qiang Xue <qiang.xue@gmail.com>
  • version: $Id: TControl.php 3078 2011-12-03 15:25:12Z ctrlaltca@gmail.com $
  • since: 3.0

Located in /Web/UI/TControl.php (line 2096)


	
			
Method Summary
boolean getCausesValidation ()
string getCommandName ()
boolean getIsDefaultButton ()
string getText ()
string getValidationGroup ()
void onClick (TEventParameter $param)
void setCausesValidation (boolean $value)
void setCommandName (string $value)
void setCommandParameter (string $value)
void setIsDefaultButton (boolean $value)
void setText (string $value)
void setValidationGroup (string $value)
Methods
getCausesValidation (line 2111)
  • return: whether postback event trigger by this button will cause input validation
  • access: public
boolean getCausesValidation ()
getCommandName (line 2121)
  • return: the command name associated with the OnCommand event.
  • access: public
string getCommandName ()
getCommandParameter (line 2131)
  • return: the parameter associated with the OnCommand event
  • access: public
string getCommandParameter ()
getIsDefaultButton (line 2168)
  • return: true if this button is registered as a default button for a panel.
  • access: public
boolean getIsDefaultButton ()
getText (line 2101)
  • return: caption of the button
  • access: public
string getText ()
getValidationGroup (line 2141)
  • return: the group of validators which the button causes validation upon postback
  • access: public
string getValidationGroup ()
onClick (line 2152)

Raises OnClick event.

  • access: public
void onClick (TEventParameter $param)
  • TEventParameter $param: event parameter to be passed to the event handlers
onCommand (line 2158)

Raises OnCommand event.

  • access: public
void onCommand (TCommandEventParameter $param)
setCausesValidation (line 2116)
  • access: public
void setCausesValidation (boolean $value)
  • boolean $value: whether postback event trigger by this button will cause input validation
setCommandName (line 2126)
  • access: public
void setCommandName (string $value)
  • string $value: the command name associated with the OnCommand event.
setCommandParameter (line 2136)
  • access: public
void setCommandParameter (string $value)
  • string $value: the parameter associated with the OnCommand event.
setIsDefaultButton (line 2163)
  • access: public
void setIsDefaultButton (boolean $value)
  • boolean $value: set by a panel to register this button as the default button for the panel.
setText (line 2106)
  • access: public
void setText (string $value)
  • string $value: caption of the button
setValidationGroup (line 2146)
  • access: public
void setValidationGroup (string $value)
  • string $value: the group of validators which the button causes validation upon postback

Documentation generated on Mon, 25 Jun 2012 14:37:39 +0200 by phpDocumentor 1.4.3