/** * Does child service already exist in parent spool $parentSpoolId * * Method will check to see if the child service $service already exists in the parent spool $parentSpoolId. Will only look * in the first level (will not recurse). * * @access public * @param int $parentSpoolId The parent spool ID * @param string $service The child service * @return array The accountingspool child record if the child service exists, NULL if not, FALSE on error */ public function isChildServiceInSpool($parentSpoolId, $service) { if (!isId($parentSpoolId) || $service == '') { return false; } return parent::isChildServiceInSpool($this->getid(), $parentSpoolId, $service); }