Prado\Data\DataGateway\TDataGatewayCommand::onExecuteCommand PHP Метод

onExecuteCommand() публичный Метод

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.
public onExecuteCommand ( $command, $result )
    public function onExecuteCommand($command, $result)
    {
        $parameter = new TDataGatewayResultEventParameter($command, $result);
        $this->raiseEvent('OnExecuteCommand', $this, $parameter);
        return $parameter->getResult();
    }