nyroFwk  0.2
Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes
nyro Class Reference

Static Public Member Functions

static main ()
 
static getGlobalCfg ($name)
 
static getCfg ()
 

Private Member Functions

 __construct ()
 

Static Private Member Functions

static init ()
 
static handleError (Exception $err)
 

Static Private Attributes

static $cfg
 

Detailed Description

It's the website main Singleton

Definition at line 11 of file nyro.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )
private

No instanciation for this class

Definition at line 23 of file nyro.class.php.

Member Function Documentation

◆ getCfg()

static getCfg ( )
static

Get the config object

Returns
config

Definition at line 133 of file nyro.class.php.

◆ getGlobalCfg()

static getGlobalCfg (   $name)
static

Get a configuration setting

Parameters
string$nameConfirguration key needed
Returns
array|mixed Array if not found

Definition at line 122 of file nyro.class.php.

◆ handleError()

static handleError ( Exception  $err)
staticprivate

Handle an error to be shown to the user

Parameters
Exception$err
Returns
string The debug to be shown

Definition at line 143 of file nyro.class.php.

◆ init()

static init ( )
staticprivate

Initialize nyro

Definition at line 28 of file nyro.class.php.

◆ main()

static main ( )
static

Website main

Definition at line 45 of file nyro.class.php.

Field Documentation

◆ $cfg

$cfg
staticprivate

Definition at line 18 of file nyro.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Oct 15 2017 22:25:21 for nyroFwk by doxygen 1.8.13