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
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

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

Method Details

__construct() public méthode

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

getCommandSource() public méthode

public getCommandSource ( ) : TControl
Résultat TControl the control originally raises the OnCommand event.

getSortExpression() public méthode

public getSortExpression ( ) : string
Résultat string sort expression