Class CriticalI_ConfigFile

Description

Utilities for working with config files used by criticali.

Located in /Core/lib/CriticalI/ConfigFile.php (line 36)


	
			
Class Constant Summary
Method Summary
 static string quote (mixed $value)
 static array read (string $filename)
 static void write (string $filename, array $data, [string $msg = null])
Methods
static quote (line 133)

Quotes a value for output to an ini file

  • access: public
string quote (mixed $value)
  • mixed $value: The value to quote
static read (line 54)

Read a config file and return the resulting array of data.

  • access: public
array read (string $filename)
  • string $filename: The filename to read
static write (line 74)

Write configuration data to a file.

  • access: public
void write (string $filename, array $data, [string $msg = null])
  • string $filename: The filename to write to
  • array $data: Structured data as returned by CriticalI_ConfigFile::read()
  • string $msg: Optional warning message to include at the beginning of the file
Class Constants
CONFIG_VERSION = 1 (line 37)

Documentation generated on Wed, 25 Apr 2012 09:46:42 -0700 by phpDocumentor 1.4.3