/** * Set the spool return * * Method will set the stored executed spool return * * @access public * @param int $spoolId The spool ID to set the return to * @param string $return The spool return * @return bool TRUE if the spool exists and the return was set, FALSE otherwise */ public function setAccountingSpoolReturn($spoolId, $return) { if (!isId($spoolId)) { return false; } if (is_object($return) && method_exists($return, 'asXML')) { $return = $return->asXML(); } return parent::setAccountingSpoolReturn($this->getid(), $spoolId, $return); }