XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsPreload Class Reference

Public Member Functions

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

Static Public Member Functions

static & getInstance ()
 

Public Attributes

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

Detailed Description

Definition at line 40 of file preload.php.

Member Function Documentation

static& XoopsPreload::getInstance ( )
static

Allow one instance only!

Returns
object

Definition at line 68 of file preload.php.

Referenced by b_system_user_show(), XoopsFormDhtmlTextArea\codeIcon(), XoopsDatabaseFactory\getDatabaseConnection(), XoopsSystemGui\header(), redirect_header(), xos_logos_PageBuilder\retrieveBlocks(), and smarty_function_xoInboxCount().

Here is the caller graph for this function:

XoopsPreload::setEvents ( )

Get available events and set them to go!

Returns
void

Definition at line 108 of file preload.php.

References $method.

XoopsPreload::setPreloads ( )

Get available preloads information and set them to go!

Returns
void

Definition at line 82 of file preload.php.

References $dir, $file, $i, $module, and XoopsCache\read().

Here is the call graph for this function:

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

Triggers a specific event

Parameters
$event_namestring Name of the event to trigger
$argsarray Method arguments
Returns
void

Definition at line 135 of file preload.php.

XoopsPreload::XoopsPreload ( )

Constructor

Returns
void

Definition at line 57 of file preload.php.

Member Data Documentation

XoopsPreload::$_events = array()

Definition at line 50 of file preload.php.

XoopsPreload::$_preloads = array()

Definition at line 45 of file preload.php.


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