Prado\Data\DataGateway\TDataGatewayCommand::onCreateCommand PHP Method

onCreateCommand() public method

The parameter object is TDataGatewayEventParameter of which the {@link TDataGatewayEventParameter::getCommand Command} property can be inspected to obtain the sql query to be executed.
public onCreateCommand ( $command, $criteria )
    public function onCreateCommand($command, $criteria)
    {
        $this->raiseEvent('OnCreateCommand', $this, new TDataGatewayEventParameter($command, $criteria));
    }