/** * Constructs an instance of the CPS_StaticRequest class. * @param string $xml the full XML string to send * @param string $command specifies which command is being sent. This is not mandatory for sending * the request per se, but how the response will be parsed will depend on this setting, so if you * want full response parsing from the API, you should specify the command here. Note that setting this * parameter will not change the XML being sent to the database */ public function __construct($xml, $command = '') { parent::__construct($command); $this->_renderedXml = $xml; }
/** * Constructs an instance of the CPS_RollbackTransactionRequest class. */ public function __construct() { parent::__construct("rollback-transaction"); }