Flourish PHP Unframework

fLoader

static class, v1.0.0b3

A class that loads Flourish

Changes:
1.0.0b3Added fEmail() constructor function 9/12/11
1.0.0b2Added fPagination 9/6/11
1.0.0bThe initial implementation 8/26/11

Static Methods

::autoload() internal public

Please note: this method is public, however it is primarily intended for internal use by Flourish and will normally not be useful in site/application code

Tries to load a Flourish class

Signature

void autoload( string $class )

Parameters

string $class The class to load

::best() public

Performs eager loading if an op-code cache is present, otherwise lazy

Signature

void best( )

::eager() public

Loads all Flourish classes when called

Signature

void eager( )

::hasOpcodeCache() public

Check if a PHP opcode cache is installed

The following opcode caches are currently detected:

Signature

boolean hasOpcodeCache( )

Returns

If a PHP opcode cache is loaded

::lazy() public

Registers an autoloader for Flourish via spl_autoload_register()

Signature

void lazy( )