/** * Get the spool return * * Method will return the stored executed spool return. The return will be in SimpleXML format * * @access public * @param int $spoolId The spool to retrieve from * @return object The return XML object if one was found and stored, FALSE is no return was stored */ public function getAccountingSpoolReturn($spoolId) { if (!isId($spoolId)) { return false; } $rtn = parent::getAccountingSpoolReturn($this->getid(), $spoolId); if ($rtn == '') { return false; } $rtn = simplexml_load_string($rtn); if (!$rtn) { return false; } return $rtn; }