nyroFwk  0.2
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()

__construct ( )
private

No instanciation for this class

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

Member Function Documentation

◆ exists()

static exists (   $name)
static

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

Parameters
string$nameThe library name
Returns
bool

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

◆ initFile()

static initFile (   $name)
static

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

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

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

◆ isLoaded()

static isLoaded (   $name)
static

Check if a library is still loaded

Parameters
string$nameThe library name
Returns
bool

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

◆ load()

static load (   $name)
static

Load a library

Parameters
string$nameThe 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

$libFiles = array()
staticprivate

Definition at line 17 of file lib.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