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 (  )  [private]

No instanciation for this class

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


Member Function Documentation

static getCfg (  )  [static]

Get the config object

Returns:
config

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

static getGlobalCfg ( name  )  [static]

Get a configuration setting

Parameters:
string $name Confirguration key needed
Returns:
array|mixed Array if not found

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

static handleError ( Exception $  err  )  [static, private]

Handle an error to be shown to the user

Parameters:
Exception $err
Returns:
string The debug to be shown

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

static init (  )  [static, private]

Initialize nyro

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

static main (  )  [static]

Website main

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


Field Documentation

$cfg [static, private]

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


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations
Generated on Thu Jan 26 2012 18:40:08 for nyroFwk by doxygen 1.7.1