## 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: $Revision: $ $Date: $
- author: Qiang Xue <qiang.xue@gmail.com>

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

Method Summary
boolean getCausesValidation ()
string getCommandName ()
string getCommandParameter ()
string getText ()
string getValidationGroup ()
void onClick (TEventParameter $param)
void onCommand (TCommandEventParameter $param)
void setCausesValidation (boolean $value)
void setCommandName (string $value)
void setCommandParameter (string $value)
void setText (string $value)
void setValidationGroup (string $value)
Methods
getCausesValidation (line 1978)

- return: whether postback event trigger by this button will cause input validation
- access: public

boolean getCausesValidation ()
getCommandName (line 1988)

- return: the command name associated with the OnCommand event.
- access: public

string getCommandName ()
getCommandParameter (line 1998)

- return: the parameter associated with the OnCommand event
- access: public

string getCommandParameter ()
getText (line 1968)

- return: caption of the button
- access: public

string getText ()
getValidationGroup (line 2008)

- return: the group of validators which the button causes validation upon postback
- access: public

string getValidationGroup ()
onClick (line 2019)

Raises OnClick event.

- access: public

void onClick (TEventParameter $param)

- TEventParameter $param: event parameter to be passed to the event handlers

onCommand (line 2025)

Raises OnCommand event.

- access: public

void onCommand (TCommandEventParameter $param)

- TCommandEventParameter $param: event parameter to be passed to the event handlers

setCausesValidation (line 1983)

- access: public

void setCausesValidation (boolean $value)

- boolean $value: whether postback event trigger by this button will cause input validation

setCommandName (line 1993)

- access: public

void setCommandName (string $value)

- string $value: the command name associated with the OnCommand event.

setCommandParameter (line 2003)

- access: public

void setCommandParameter (string $value)

- string $value: the parameter associated with the OnCommand event.

setText (line 1973)

- access: public

void setText (string $value)

- string $value: caption of the button

setValidationGroup (line 2013)

- access: public

void setValidationGroup (string $value)

- string $value: the group of validators which the button causes validation upon postback

Documentation generated on Mon, 01 May 2006 23:03:02 -0400 by phpDocumentor 1.3.0RC4