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.

  • since: 3.0
  • version: $Id: TControl.php 1532 2006-12-01 12:28:55Z xue $
  • author: Qiang Xue <qiang.xue@gmail.com>

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


	
			
Method Summary
boolean getCausesValidation ()
string getCommandName ()
string getText ()
string getValidationGroup ()
void onClick (TEventParameter $param)
void setCausesValidation (boolean $value)
void setCommandName (string $value)
void setCommandParameter (string $value)
void setText (string $value)
void setValidationGroup (string $value)
Methods
getCausesValidation (line 2044)
  • return: whether postback event trigger by this button will cause input validation
  • access: public
boolean getCausesValidation ()
getCommandName (line 2054)
  • return: the command name associated with the OnCommand event.
  • access: public
string getCommandName ()
getCommandParameter (line 2064)
  • return: the parameter associated with the OnCommand event
  • access: public
string getCommandParameter ()
getText (line 2034)
  • return: caption of the button
  • access: public
string getText ()
getValidationGroup (line 2074)
  • return: the group of validators which the button causes validation upon postback
  • access: public
string getValidationGroup ()
onClick (line 2085)

Raises OnClick event.

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

Raises OnCommand event.

  • access: public
void onCommand (TCommandEventParameter $param)
setCausesValidation (line 2049)
  • access: public
void setCausesValidation (boolean $value)
  • boolean $value: whether postback event trigger by this button will cause input validation
setCommandName (line 2059)
  • access: public
void setCommandName (string $value)
  • string $value: the command name associated with the OnCommand event.
setCommandParameter (line 2069)
  • access: public
void setCommandParameter (string $value)
  • string $value: the parameter associated with the OnCommand event.
setText (line 2039)
  • access: public
void setText (string $value)
  • string $value: caption of the button
setValidationGroup (line 2079)
  • access: public
void setValidationGroup (string $value)
  • string $value: the group of validators which the button causes validation upon postback

Documentation generated on Sun, 14 Jan 2007 21:41:42 -0500 by phpDocumentor 1.3.0RC4