XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XCube_IniHandler Class Reference

Public Member Functions

 __construct ($filePath, $section=false)
 
 getConfig ($key, $section='')
 
 getSectionConfig ($section)
 
 getAllConfig ()
 

Protected Member Functions

 _loadIni ()
 

Protected Attributes

 $_mConfig = []
 
 $_mFilePath
 
 $_mSectionFlag = false
 

Detailed Description

Definition at line 13 of file IniHandler.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $filePath,
$section = false )

__construct

Parameters
string$filePath
bool$section
Returns
void
Parameters
$filePath* string **
$section* bool **

Definition at line 29 of file IniHandler.class.php.

Member Function Documentation

◆ _loadIni()

_loadIni ( )
protected

_loadIni

Parameters
void
Returns
void

Definition at line 42 of file IniHandler.class.php.

◆ getAllConfig()

getAllConfig ( )

getAllConfig

Parameters
void
Returns
string[]

Definition at line 110 of file IniHandler.class.php.

◆ getConfig()

getConfig ( $key,
$section = '' )

getConfig

Parameters
string$key
string$section
Returns
string
Parameters
$key* string **
$section* string **

Definition at line 84 of file IniHandler.class.php.

◆ getSectionConfig()

getSectionConfig ( $section)

getSectionConfig

Parameters
string$section
Returns
string[]
Parameters
$section* string **

Definition at line 99 of file IniHandler.class.php.

Field Documentation

◆ $_mConfig

$_mConfig = []
protected

Definition at line 15 of file IniHandler.class.php.

◆ $_mFilePath

$_mFilePath
protected

Definition at line 17 of file IniHandler.class.php.

◆ $_mSectionFlag

$_mSectionFlag = false
protected

Definition at line 19 of file IniHandler.class.php.


The documentation for this class was generated from the following file: