QuickBooks/WebConnector/Handlers.php
public function closeConnection($obj)
	{
		//$this->_driver->log('closeConnection()', $obj->ticket, QUICKBOOKS_LOG_VERBOSE);
		$this->_log('closeConnection()', $obj->ticket, QUICKBOOKS_LOG_VERBOSE);

		if ($this->_driver->authCheck($obj->ticket))
		{
			$user = $this->_driver->authResolve($obj->ticket);

			$hookdata = array(
				'username' => $user,
				'ticket' => $obj->ticket,
				);
			$hookerr = '';
			$this->_callHook($obj->ticket, QUICKBOOKS_HANDLERS_HOOK_CLOSECONNECTION, null, null, null, null, $hookerr, null, array(), $hookdata);

			//
			return new QuickBooks_WebConnector_Result_CloseConnection('Complete!');
		}

		// Bad ticket
		return new QuickBooks_WebConnector_Result_CloseConnection('Bad ticket.');
	}
public function closeConnection($obj)
	{
		//$this->_driver->log('closeConnection()', $obj->ticket, QUICKBOOKS_LOG_VERBOSE);
		$this->_log('closeConnection()', $obj->ticket, QUICKBOOKS_LOG_VERBOSE);

		if ($this->_driver->authCheck($obj->ticket))
		{
			$user = $this->_driver->authResolve($obj->ticket);

			$hookdata = array(
				'username' => $user,
				'ticket' => $obj->ticket,
				);
			$hookerr = '';
			$this->_callHook($obj->ticket, QUICKBOOKS_HANDLERS_HOOK_CLOSECONNECTION, null, null, null, null, $hookerr, null, array(), $hookdata);

			//
			return new QuickBooks_WebConnector_Result_CloseConnection('Complete!');
		}

		// Bad ticket
		return new QuickBooks_WebConnector_Result_CloseConnection('Bad ticket.');
	}
QuickBooks Web Connector ->closeConnection() SOAP method

The stdClass object passed in as a parameter has these members:
- ->ticket 		The ticket string

The sole member of the returned object should be a string describing the reason for closing the connection

@todo The "Complete!" message should probably be based on a configuration variable, user configurable

The following user-defined hooks are invoked:
- QUICKBOOKS_HANDLERS_HOOK_CLOSECONNECTION

@return QuickBooks_Result_CloseConnection