utility class to read and write an ini file
| package |
jelix |
|---|---|
| subpackage |
utils |
| since | 1.0b1 |
_iniValue( $key, string $value) : string
stringthe value
stringthe formated value
read(string $filename) : array|false
stringthe path and the name of the file to read
array|falsethe content of the file or false if the ini format is invalid
write(array $array, string $filename, string $header = '', integer $chmod = null)
| Throws |
|
|---|
arraythe content of an ini file
stringthe path and the name of the file use to store the content
stringsome content to insert at the begining of the file
integer