IniParser

Implements DebugParserInterface

Language file parser for INI files

since

2.0

package

Joomla Framework

Methods

debugFile

Parse a file and check its contents for valid structure

debugFile( filename) : string||string|int
since

2.0

Arguments

filename

stringThe name of the file.

Response

array<string|int, string>Array containing a list of errors

getType

Get the type of parser

getType() : 
since

2.0

Response

string

loadFile

Load the strings from a file

loadFile( filename) : string||string|int
since

2.0

throws

RuntimeExceptionon a load/parse error

Arguments

filename

stringThe name of the file.

Response

array<string|int, string>