XOOPS 2.5.6
Final
|
Public Member Functions | |
& | getHandler ($name) |
& | getModuleHandler ($module, $name) |
setHandler ($name, &$handler) | |
setModuleHandler ($module, $name, &$handler) | |
unsetHandler ($name) | |
unsetModuleHandler ($module, $name) | |
Static Public Member Functions | |
& | instance () |
Public Attributes | |
$_handlers = array() | |
Definition at line 29 of file handlerregistry.php.
& XoopsHandlerRegistry::getHandler | ( | $name | ) |
Get a registered handler class object
string | $name | Short name of a handler class |
Definition at line 76 of file handlerregistry.php.
& XoopsHandlerRegistry::getModuleHandler | ( | $module, | |
$name | |||
) |
Get a registered handler class object for a module
string | $module | Directory name of a module |
string | $name | Short name of a handler class |
Definition at line 114 of file handlerregistry.php.
References $module.
|
static |
get a reference to the only instance of this class
if the class has not been instantiated yet, this will also take care of that
object The only instance of this class
Definition at line 49 of file handlerregistry.php.
XoopsHandlerRegistry::setHandler | ( | $name, | |
& | $handler | ||
) |
Register a handler class object
string | $name | Short name of a handler class |
object | &$handler | XoopsObjectHandler class object |
Definition at line 64 of file handlerregistry.php.
References $handler.
XoopsHandlerRegistry::setModuleHandler | ( | $module, | |
$name, | |||
& | $handler | ||
) |
Register a handler class object for a module
string | $module | Directory name of a module |
string | $name | Short name of a handler class |
object | &$handler | XoopsObjectHandler class object |
Definition at line 101 of file handlerregistry.php.
XoopsHandlerRegistry::unsetHandler | ( | $name | ) |
Unregister a handler class object
string | $name | Short name of a handler class |
Definition at line 89 of file handlerregistry.php.
XoopsHandlerRegistry::unsetModuleHandler | ( | $module, | |
$name | |||
) |
Unregister a handler class object for a module
string | $module | Directory name of a module |
string | $name | Short name of a handler class |
Definition at line 128 of file handlerregistry.php.
References $module.
XoopsHandlerRegistry::$_handlers = array() |
Definition at line 37 of file handlerregistry.php.