function get_var_names($file_name, $section = NULL)
	{
		if (empty($file_name)) {
			$this->_trigger_error_msg('Empty config file name');
			return;
		} else if (!isset($this->_config_data[$file_name])) {
			$this->_trigger_error_msg("Unknown config file '$file_name'");
			return;
		}

		if (empty($section))
		return array_keys($this->_config_data[$file_name]["vars"]);
		else
		return array_keys($this->_config_data[$file_name]["sections"][$section]["vars"]);
	}
function get_var_names($file_name, $section = NULL)
	{
		if (empty($file_name)) {
			$this->_trigger_error_msg('Empty config file name');
			return;
		} else if (!isset($this->_config_data[$file_name])) {
			$this->_trigger_error_msg("Unknown config file '$file_name'");
			return;
		}

		if (empty($section))
		return array_keys($this->_config_data[$file_name]["vars"]);
		else
		return array_keys($this->_config_data[$file_name]["sections"][$section]["vars"]);
	}
function get_var_names ( $ file_name , $ section = NULL ) { if ( empty ( $ file_name ) ) { $ this -> _trigger_error_msg ( 'Empty config file name' ) ; return ; } else if ( ! isset ( $ this -> _config_data [ $ file_name ] ) ) { $ this -> _trigger_error_msg ( "Unknown config file '$file_name'" ) ; return ; } if ( empty ( $ section ) ) return array_keys ( $ this -> _config_data [ $ file_name ] [ "vars" ] ) ; else return array_keys ( $ this -> _config_data [ $ file_name ] [ "sections" ] [ $ section ] [ "vars" ] ) ; }
Get all global or section variable names.

@param string $file_name config file to get info for
@param string $section_name (optional) section to get info for
@return array an array of variables names from the specified file/section
Get all global or section variable names .