Exemplo n.º 1
0
 /**
  * Set the currently active accountingspool record
  *
  * Method will set the currenctly active accountingspool record
  *
  * @access public
  * @param int $spoolId The spool to be set as the currently active spool
  * @return bool TRUE if the record was set, FALSE on error
  */
 public function setCurrentSpool($spoolId)
 {
     if (!isId($spoolId)) {
         return false;
     }
     $lock = $this->getAccountingSessionKey('UUID');
     if (!$lock || $lock == '') {
         return false;
     }
     return parent::setCurrentSpool($this->getid(), $lock, $spoolId);
 }