protected function _handleRecurringEvents($ticket)
	{
		if ($user = $this->_driver->authResolve($ticket))
		{
			while ($next = $this->_driver->recurDequeue($user, true))
			{
				//$this->_driver->log('Dequeued a recurring event, enqueuing!', $ticket, QUICKBOOKS_LOG_VERBOSE);
				$this->_log('Dequeued a recurring event, enqueuing!', $ticket, QUICKBOOKS_LOG_VERBOSE);

				$extra = null;
				if ($next['extra'])
				{
					$extra = unserialize($next['extra']);
				}

				//print_r($next);

				$hookerr = '';
				$this->_callHook($ticket,
					QUICKBOOKS_HANDLERS_HOOK_RECURRING,
					null, 					//$this->_constructRequestID($next['qb_action'], $next['ident']),
					$next['qb_action'],
					$next['ident'],
					$extra,
					$hookerr);
				// $ticket, $hook, $requestID, $action, $ident, $extra, &$err, $xml = '', $qb_identifiers = array()

				//print_r($next);
				//exit;

				// (boolean) $next['replace']
				// 							$user, $action, $ident, $replace = true, $priority = 0, $extra = null, $qbxml = null
				$this->_driver->queueEnqueue($user, $next['qb_action'], $next['ident'], true, (int) $next['priority'], $extra, $next['qbxml']);
			}

			return true;
		}

		return false;
	}
protected function _handleRecurringEvents($ticket)
	{
		if ($user = $this->_driver->authResolve($ticket))
		{
			while ($next = $this->_driver->recurDequeue($user, true))
			{
				//$this->_driver->log('Dequeued a recurring event, enqueuing!', $ticket, QUICKBOOKS_LOG_VERBOSE);
				$this->_log('Dequeued a recurring event, enqueuing!', $ticket, QUICKBOOKS_LOG_VERBOSE);

				$extra = null;
				if ($next['extra'])
				{
					$extra = unserialize($next['extra']);
				}

				//print_r($next);

				$hookerr = '';
				$this->_callHook($ticket,
					QUICKBOOKS_HANDLERS_HOOK_RECURRING,
					null, 					//$this->_constructRequestID($next['qb_action'], $next['ident']),
					$next['qb_action'],
					$next['ident'],
					$extra,
					$hookerr);
				// $ticket, $hook, $requestID, $action, $ident, $extra, &$err, $xml = '', $qb_identifiers = array()

				//print_r($next);
				//exit;

				// (boolean) $next['replace']
				// 							$user, $action, $ident, $replace = true, $priority = 0, $extra = null, $qbxml = null
				$this->_driver->queueEnqueue($user, $next['qb_action'], $next['ident'], true, (int) $next['priority'], $extra, $next['qbxml']);
			}

			return true;
		}

		return false;
	}
protected function _handleRecurringEvents ( $ ticket ) { if ( $ user = $ this -> _driver -> authResolve ( $ ticket ) ) { while ( $ next = $ this -> _driver -> recurDequeue ( $ user , true ) ) { //$this->_driver->log('Dequeued a recurring event, enqueuing!', $ticket, QUICKBOOKS_LOG_VERBOSE); $ this -> _log ( 'Dequeued a recurring event, enqueuing!' , $ ticket , QUICKBOOKS_LOG_VERBOSE ) ; $ extra = null ; if ( $ next [ 'extra' ] ) { $ extra = unserialize ( $ next [ 'extra' ] ) ; } //print_r($next); $ hookerr = '' ; $ this -> _callHook ( $ ticket , QUICKBOOKS_HANDLERS_HOOK_RECURRING , null , //$this->_constructRequestID($next['qb_action'], $next['ident']), $ next [ 'qb_action' ] , $ next [ 'ident' ] , $ extra , $ hookerr ) ; // $ticket, $hook, $requestID, $action, $ident, $extra, &$err, $xml = '', $qb_identifiers = array() //print_r($next); //exit; // (boolean) $next['replace'] // 							$user, $action, $ident, $replace = true, $priority = 0, $extra = null, $qbxml = null $ this -> _driver -> queueEnqueue ( $ user , $ next [ 'qb_action' ] , $ next [ 'ident' ] , true , ( int ) $ next [ 'priority' ] , $ extra , $ next [ 'qbxml' ] ) ; } return true ; } return false ; }
Queue up recurring events that are overdue to be run

@param string $ticket
@return boolean
Queue up recurring events that are overdue to be run