Exemplo n.º 1
0
 /**
  * Get the next spool
  *
  * Method will either get the next available sibling spool, the available parent spool or FALSE based upon the spool ID $spoolId
  *
  * @access public
  * @param int $spoolId The spool ID to search from
  * @return array The next available spool if successful, FALSE if there is none
  */
 public function getNextSpool($spoolId)
 {
     if (!isId($spoolId)) {
         return false;
     }
     $lock = $this->getAccountingSessionKey('UUID');
     if (!$lock || $lock == '') {
         return false;
     }
     return parent::getNextSpool($this->getid(), $lock, $spoolId);
 }