XOOPS  2.6.0
Xoops\Core\Kernel\XoopsModelFactory Class Reference

Public Member Functions

 loadHandler (XoopsPersistableObjectHandler $oHandler, $name, $args=null)
 

Static Public Member Functions

static getInstance ()
 

Static Private Attributes

static $handlers = array()
 

Detailed Description

Definition at line 28 of file XoopsModelFactory.php.

Member Function Documentation

static Xoops\Core\Kernel\XoopsModelFactory::getInstance ( )
static

Get singleton instance

public

Returns
XoopsModelFactory

Definition at line 41 of file XoopsModelFactory.php.

Referenced by Xoops\Core\Kernel\XoopsPersistableObjectHandler\loadHandler(), and Xoops\Core\Kernel\XoopsPersistableObjectHandler\setHandler().

Here is the caller graph for this function:

Xoops\Core\Kernel\XoopsModelFactory::loadHandler ( XoopsPersistableObjectHandler  $oHandler,
  $name,
  $args = null 
)

Load object handler

Parameters
XoopsPersistableObjectHandler$oHandlerreference to XoopsPersistableObjectHandler
string$namename
mixed$argsargs
Returns
null|XoopsModelAbstract

Definition at line 60 of file XoopsModelFactory.php.

References $name.

Member Data Documentation

Xoops\Core\Kernel\XoopsModelFactory::$handlers = array()
staticprivate

static private

Definition at line 33 of file XoopsModelFactory.php.


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