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 (qiang.xue@gmail.com)
Inheritance: extends Prado\TEventParameter
 /**
  * Constructor.
  * @param TDataGridItem datagrid item responsible for the event
  * @param TControl original event sender
  * @param \Prado\Web\UI\TCommandEventParameter original event parameter
  */
 public function __construct($item, $source, \Prado\Web\UI\TCommandEventParameter $param)
 {
     $this->_item = $item;
     $this->_source = $source;
     parent::__construct($param->getCommandName(), $param->getCommandParameter());
 }