protected function _sqlDefaults($config)
	{
		$tmp = array(
			//'only_query',
			//'dont_query',
			'only_import',
			'dont_import',			
			'only_add',
			'dont_add',
			'only_modify',
			'dont_modify', 
			'only_misc', 
			'dont_misc', 
			);
		
		foreach ($tmp as $filter)
		{
			if (empty($config[$filter]) or
				(!empty($config[$filter]) and !is_array($config[$filter])))
			{
				$config[$filter] = array();
			}
		}
		
		// Any other configuration defaults go here 
		$defaults = array(
						  
			);
		
		return array_merge($defaults, $config);
	}
protected function _sqlDefaults($config)
	{
		$tmp = array(
			//'only_query',
			//'dont_query',
			'only_import',
			'dont_import',			
			'only_add',
			'dont_add',
			'only_modify',
			'dont_modify', 
			'only_misc', 
			'dont_misc', 
			);
		
		foreach ($tmp as $filter)
		{
			if (empty($config[$filter]) or
				(!empty($config[$filter]) and !is_array($config[$filter])))
			{
				$config[$filter] = array();
			}
		}
		
		// Any other configuration defaults go here 
		$defaults = array(
						  
			);
		
		return array_merge($defaults, $config);
	}
protected function _sqlDefaults ( $ config ) { $ tmp = array ( //'only_query', //'dont_query', 'only_import' , 'dont_import' , 'only_add' , 'dont_add' , 'only_modify' , 'dont_modify' , 'only_misc' , 'dont_misc' , ) ; foreach ( $ tmp as $ filter ) { if ( empty ( $ config [ $ filter ] ) or ( ! empty ( $ config [ $ filter ] ) and ! is_array ( $ config [ $ filter ] ) ) ) { $ config [ $ filter ] = array ( ) ; } } // Any other configuration defaults go here  $ defaults = array ( ) ; return array_merge ( $ defaults , $ config ) ; }
Apply default options to an array of configuration options

@param array $config
@return array
Apply default options to an array of configuration options