/** * Set the error for a spool record * * Method will set the error message and number for a spool record * * @access public * @param int $spoolId The spool ID * @param string $errmsg The error message * @param int $errno The error number * @return bool TRUE if the error message and number were set, FALSE if no record could be found */ public function setSpoolError($spoolId, $errmsg, $errno) { if (!isId($spoolId) || $errmsg == '' || !isId($errno)) { return false; } return parent::setSpoolError($this->getid(), $spoolId, $errmsg, $errno); }