protected function _configRead($user, $module, $key, &$type, &$opts)
	{
		$errnum = 0;
		$errmsg = '';

		$sql = "
			SELECT
				cfgval,
				cfgtype,
				cfgopts
			FROM
				" . $this->_mapTableName(QUICKBOOKS_DRIVER_SQL_CONFIGTABLE) . "
			WHERE
				qb_username = '" . $this->_escape($user) . "' AND
				module = '" . $this->_escape($module) . "' AND
				cfgkey = '" . $this->_escape($key) . "' ";

		//print($sql);

		if ($arr = $this->_fetch($this->_query($sql, $errnum, $errmsg, 0, 1)))
		{
			$type = $arr['cfgtype'];
			$opts = $arr['cfgopts'];

			//print_r($arr);

			return $arr['cfgval'];
		}

		$type = null;
		$opts = null;

		return null;
	}
protected function _configRead($user, $module, $key, &$type, &$opts)
	{
		$errnum = 0;
		$errmsg = '';

		$sql = "
			SELECT
				cfgval,
				cfgtype,
				cfgopts
			FROM
				" . $this->_mapTableName(QUICKBOOKS_DRIVER_SQL_CONFIGTABLE) . "
			WHERE
				qb_username = '" . $this->_escape($user) . "' AND
				module = '" . $this->_escape($module) . "' AND
				cfgkey = '" . $this->_escape($key) . "' ";

		//print($sql);

		if ($arr = $this->_fetch($this->_query($sql, $errnum, $errmsg, 0, 1)))
		{
			$type = $arr['cfgtype'];
			$opts = $arr['cfgopts'];

			//print_r($arr);

			return $arr['cfgval'];
		}

		$type = null;
		$opts = null;

		return null;
	}
protected function _configRead ( $ user , $ module , $ key , & $ type , & $ opts ) { $ errnum = 0 ; $ errmsg = '' ; $ sql = "
			SELECT
				cfgval,
				cfgtype,
				cfgopts
			FROM
				" . $ this -> _mapTableName ( QUICKBOOKS_DRIVER_SQL_CONFIGTABLE ) . "
			WHERE
				qb_username = '" . $ this -> _escape ( $ user ) . "' AND
				module = '" . $ this -> _escape ( $ module ) . "' AND
				cfgkey = '" . $ this -> _escape ( $ key ) . "' " ; //print($sql); if ( $ arr = $ this -> _fetch ( $ this -> _query ( $ sql , $ errnum , $ errmsg , 0 , 1 ) ) ) { $ type = $ arr [ 'cfgtype' ] ; $ opts = $ arr [ 'cfgopts' ] ; //print_r($arr); return $ arr [ 'cfgval' ] ; } $ type = null ; $ opts = null ; return null ; }
Read configuration information

@param string $user		The username to store this for
@param string $module	The module to store this for
@param string $key		The key to store this by
@param string $type
@param array $opts
@return mixed			The value read from the SQL database
Read configuration information