Static Public Member Functions | Private Member Functions | Static Private Attributes

lib Class Reference

Static Public Member Functions

static exists ($name)
static isLoaded ($name)
static load ($name)
static initFile ($name)

Private Member Functions

 __construct ()

Static Private Attributes

static $libFiles = array()

Detailed Description

To manage the library

Definition at line 10 of file lib.class.php.


Constructor & Destructor Documentation

__construct (  )  [private]

No instanciation for this class

Definition at line 22 of file lib.class.php.


Member Function Documentation

static exists ( name  )  [static]

Check if a library is accessible ie: if lib/$name/init.php exists

Parameters:
string $name The library name
Returns:
bool

Definition at line 31 of file lib.class.php.

static initFile ( name  )  [static]

Find the init file for a library ie: nyro/lib/$name/init.lib.php

Parameters:
string $name The library name
Returns:
false|string The file path or false if not found

Definition at line 68 of file lib.class.php.

static isLoaded ( name  )  [static]

Check if a library is still loaded

Parameters:
string $name The library name
Returns:
bool

Definition at line 41 of file lib.class.php.

static load ( name  )  [static]

Load a library

Parameters:
string $name The library name
Returns:
bool True if the library is loaded (just now or before)

Definition at line 51 of file lib.class.php.


Field Documentation

$libFiles = array() [static, private]

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


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations
Generated on Tue May 8 2012 16:02:25 for nyroFwk by doxygen 1.7.1