QuickBooks/Callbacks/API/Callbacks.php
static protected function _mapToApplicationID($func, $user, $type, $ListID_or_TxnID)
	{
		if (strlen($func))
		{
			if (false === strpos($func, '::'))
			{
				return $func($type, $ListID_or_TxnID); 
			}
			else
			{
				$tmp = explode('::', $func);
				
				return call_user_func(array( $tmp[0], $tmp[1] ), $type, $ListID_or_TxnID);
			}
		}
		else
		{
			$extra = null;
			
			$Driver = QuickBooks_Driver_Singleton::getInstance();
			return $Driver->identToApplication($user, $type, $ListID_or_TxnID, $extra);
		}
	}
static protected function _mapToApplicationID($func, $user, $type, $ListID_or_TxnID)
	{
		if (strlen($func))
		{
			if (false === strpos($func, '::'))
			{
				return $func($type, $ListID_or_TxnID); 
			}
			else
			{
				$tmp = explode('::', $func);
				
				return call_user_func(array( $tmp[0], $tmp[1] ), $type, $ListID_or_TxnID);
			}
		}
		else
		{
			$extra = null;
			
			$Driver = QuickBooks_Driver_Singleton::getInstance();
			return $Driver->identToApplication($user, $type, $ListID_or_TxnID, $extra);
		}
	}
Map a QuickBooks ListID or TxnID to an application primary key

@param string $type					The type of object
@param string $ListID_or_TxnID		The ListID or TxnID of the object within QuickBooks
@return string						The application record primary key