PHP Class Prado\Web\UI\TCommandEventParameter

TCommandEventParameter encapsulates the parameter data for Command event of button controls. You can access the name of the command via {@link getCommandName CommandName} property, and the parameter carried with the command via {@link getCommandParameter CommandParameter} property.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\TEventParameter
Datei anzeigen Open project: pradosoft/prado Class Usage Examples

Public Methods

Method Description
__construct ( $name = '', $parameter = '' ) Constructor.
getCommandName ( ) : string
getCommandParameter ( ) : string

Method Details

__construct() public method

Constructor.
public __construct ( $name = '', $parameter = '' )

getCommandName() public method

public getCommandName ( ) : string
return string name of the command

getCommandParameter() public method

public getCommandParameter ( ) : string
return string parameter of the command