API17

JDispatcher::register

From Joomla! Documentation

Revision as of 17:14, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JDispatcher::register/11.1 to API17:JDispatcher::register without leaving a redirect: Robot: Moved page)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDispatcher::register[edit]

Description[edit]

Registers an event handler to the event dispatcher.

Template:Description:JDispatcher::register [Edit Descripton]

public function register (
        $event
        $handler
)
Parameter Type Default Description
$event string Name of the event to register handler for
$handler string Name of the event handler
  • Returns void
  • Defined on line 56 of libraries/joomla/event/dispatcher.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JDispatcher::register [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />