ZExt\Datagate: Query criteria added for the PhalconTable + minor changes