Class mosMambotHandler

Description

Legacy class, use JEventDispatcher instead

Located in /common/legacy/classes.php (line 611)

JObject
   |
   --JObservable
      |
      --JEventDispatcher
         |
         --mosMambotHandler
Method Summary
 mosMambotHandler __construct ()
 void call (mixed $event)
 void loadBot (string $folder, string $element, int $published, [string $params = ''])
 void loadBotGroup (string $group)
 void registerFunction (string $event, string $function)
Variables

Inherited Variables

Inherited from JObservable

JObservable::$_observers
JObservable::$_state
Methods
Constructor __construct (line 612)
mosMambotHandler __construct ()

Redefinition of:
JEventDispatcher::__construct()
Constructor
call (line 649)

Deprecated, use JEventDispatcher->trigger intead and handle return values

in your code

  • since: 1.1
void call (mixed $event)
loadBot (line 630)

Loads the bot file

void loadBot (string $folder, string $element, int $published, [string $params = ''])
  • string $folder: The folder (group)
  • string $element: The elements (name of file without extension)
  • int $published: Published state
  • string $params: The params for the bot
loadBotGroup (line 620)

Loads all the bot files for a particular group

void loadBotGroup (string $group)
  • string $group: The group name, relates to the sub-directory in the plugins directory
registerFunction (line 640)

Registers a function to a particular event group

void registerFunction (string $event, string $function)
  • string $event: The event name
  • string $function: The function name

Inherited Methods

Inherited From JEventDispatcher

 JEventDispatcher::__construct()
 JEventDispatcher::getInstance()
 JEventDispatcher::register()
 JEventDispatcher::trigger()

Inherited From JObservable

 JObservable::__construct()
 JObservable::attach()
 JObservable::detach()
 JObservable::getState()
 JObservable::notify()

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:22:58 +0100 by phpDocumentor 1.3.0RC4