Class Sylar_ConfigBox

Description

Configuration Box

A class that conteins all Sylar Configuration values read from config and settings file.

Located in /sylar/classes/common/system/ConfigBox.php (line 35)


	
			
Method Summary
 Sylar_ConfigBox __construct ()
 void __destruct ()
 string getDefaultCharset ()
 string getLocaleFsRoot ()
 string getLogLevel ()
 string getSessionName ()
 string getSylarCssUrlPath ()
 string getSylarJsUrlPath ()
 boolean isSessionEnabled ()
 boolean isSylarInDebugMode ()
Methods
Constructor __construct (line 37)
Sylar_ConfigBox __construct ()
Destructor __destruct (line 40)
void __destruct ()
getDefaultCharset (line 55)

Return the Sylar default Charset set in the config file

string getDefaultCharset ()
getDefaultLocaleKey (line 70)

Return the Sylar default locale

string getDefaultLocaleKey ()
getLocaleFsRoot (line 109)

return the path of locale folder

string getLocaleFsRoot ()
getLogLevel (line 83)

Level of logger

string getLogLevel ()
getSessionName (line 96)

return the name of the PHP session

string getSessionName ()
getSylarCssUrlPath (line 135)

return the path root of Sylar javascript files

string getSylarCssUrlPath ()
getSylarDefaultLayout (line 161)

return the name of the default layout template set in Sylar

string getSylarDefaultLayout ()
getSylarJsUrlPath (line 122)

return the path root of Sylar javascript files

string getSylarJsUrlPath ()
isSessionEnabled (line 198)

Chek if a session is enable and required.

return true if a session is ON, false otherwise.

boolean isSessionEnabled ()
isSylarInDebugMode (line 181)

Debugmode Return true if Sylar is in debug mode, false otherwise

boolean isSylarInDebugMode ()

Documentation generated on Thu, 24 Apr 2008 16:14:13 +0200 by phpDocumentor 1.3.0RC3