API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsPreload Class Reference

Public Member Functions

 setPreloads ()
 
 setEvents ()
 
 triggerEvent ($event_name, $args=array())
 

Static Public Member Functions

static getInstance ()
 

Data Fields

 $_preloads = array()
 
 $_events = array()
 

Protected Member Functions

 __construct ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )
protected

Constructor

Here is the call graph for this function:

Member Function Documentation

◆ getInstance()

static getInstance ( )
static

Allow one instance only!

Returns
object
Here is the caller graph for this function:

◆ setEvents()

setEvents ( )

Get available events and set them to go!

Returns
void
Here is the caller graph for this function:

◆ setPreloads()

setPreloads ( )

Get available preloads information and set them to go!

Returns
void
Here is the call graph for this function:
Here is the caller graph for this function:

◆ triggerEvent()

triggerEvent (   $event_name,
  $args = array() 
)

Triggers a specific event

Parameters
string$event_nameName of the event to trigger
array$argsMethod arguments
Returns
void

Field Documentation

◆ $_events

$_events = array()

◆ $_preloads

$_preloads = array()

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