XRL  latest
Simple XML-RPC Library (both client and server)
fpoirotte\XRL\Autoload Class Reference

An helper class that wraps XRL's autoloader. More...

Static Public Member Functions

static load ($class)
 
static register ()
 

Detailed Description

An helper class that wraps XRL's autoloader.

Authors
François Poirotte click.nosp@m.y@er.nosp@m.ebot..nosp@m.net

Definition at line 20 of file Autoload.php.

Member Function Documentation

static fpoirotte\XRL\Autoload::load (   $class)
static

Load an XRL class or interface.

Parameters
string$className of the class/interface to load.
Note
The autoloader will only try to load classes/interfaces whose name starts with "fpoirotte\\XRL\\" (case-sensitive).
Warning
The autoloader will throw an exception (which will most likely result in a fatal error in your application) in case the class or interface's name contains a colon. This is a protection against a possible remote inclusion vulnerability introduced in PHP 5.3.8 using is_a().
Return values
booltrue if the class or interface could be loaded, false otherwise.

Definition at line 43 of file Autoload.php.

static fpoirotte\XRL\Autoload::register ( )
static

Register XRL's autoloader.

Returns
This method does not return any meaningful value.
Examples:
client.php, and server.php.

Definition at line 77 of file Autoload.php.


The documentation for this class was generated from the following file: