Prado\Data\ActiveRecord\TActiveRecordGateway::onExecuteCommand PHP Method

onExecuteCommand() public method

The parameter object is TDataGatewayResultEventParameter of which the {@link TDataGatewayEventParameter::getResult Result} property contains the data return from the database. The data returned can be changed by setting the {@link TDataGatewayEventParameter::setResult Result} property. This method also raises the OnCreateCommand event on the ActiveRecord object calling this gateway.
public onExecuteCommand ( $sender, $param )
    public function onExecuteCommand($sender, $param)
    {
        $this->raiseEvent('OnExecuteCommand', $this, $param);
        if ($this->_currentRecord !== null) {
            $this->_currentRecord->onExecuteCommand($param);
        }
    }