PHP Class Prado\Web\UI\WebControls\TDataGridSortCommandEventParameter

TDataGridSortCommandEventParameter encapsulates the parameter data for {@link TDataGrid::onSortCommand SortCommand} event of {@link TDataGrid} controls. The {@link getCommandSource CommandSource} property refers to the control that originally raises the OnCommand event, while {@link getSortExpression SortExpression} gives the sort expression carried with the sort command.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\TEventParameter
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
__construct ( $source, TDataGridCommandEventParameter $param ) Constructor.
getCommandSource ( ) : TControl
getSortExpression ( ) : string

Method Details

__construct() public method

Constructor.
public __construct ( $source, TDataGridCommandEventParameter $param )
$param TDataGridCommandEventParameter

getCommandSource() public method

public getCommandSource ( ) : TControl
return TControl the control originally raises the OnCommand event.

getSortExpression() public method

public getSortExpression ( ) : string
return string sort expression