QuickBooks/Driver.php
abstract public function __construct($dsn, $config);
	
	/**
	 * Register the set of user-defined hook functions
	 * 
	 * @param array $hooks
	 * @return void
	 */
	final public function registerHooks($hooks)
	{
		if (!is_array($hooks))
		{
			$hooks = array();
		}
		
		foreach ($hooks as $hook => $funcs)
		{
			if (!is_array($funcs))
			{
				$funcs = array( $funcs );
			}
			
			$this->_hooks[$hook] = $funcs;
		}
	}
abstract public function __construct($dsn, $config);
	
	/**
	 * Register the set of user-defined hook functions
	 * 
	 * @param array $hooks
	 * @return void
	 */
	final public function registerHooks($hooks)
	{
		if (!is_array($hooks))
		{
			$hooks = array();
		}
		
		foreach ($hooks as $hook => $funcs)
		{
			if (!is_array($funcs))
			{
				$funcs = array( $funcs );
			}
			
			$this->_hooks[$hook] = $funcs;
		}
	}
Constructor

@param string $dsn		A DSN-style connection string
@param array $config		An array of configuration information