Class jIniFile

Description

utility class to read and write an ini file

  • since: 1.0b1

Located in /utils/jIniFile.class.php (line 18)


	
			
Method Summary
static array read (string $filename)
static void write (array $array, string $filename, [string $header = ''])
Methods
static read (line 25)

read an ini file

  • return: the content of the file or false
  • access: public
static array read (string $filename)
  • string $filename: the path and the name of the file to read
static write (line 41)

write some data in an ini file

the data array should follow the same structure returned by the read method (or parse_ini_file)

  • access: public
static void write (array $array, string $filename, [string $header = ''])
  • array $array: the content of an ini file
  • string $filename: the path and the name of the file use to store the content
  • string $header: some content to insert at the begining of the file

Documentation generated on Wed, 04 Jan 2017 22:55:08 +0100 by phpDocumentor 1.4.3