API17

API17:JApplication::triggerEvent

From Joomla! Documentation

Revision as of 14:45, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JApplication::triggerEvent

Description

Calls all handlers associated with an event group.

{{subst:Description:JApplication::triggerEvent}}

public function triggerEvent (
        $event
        $args=null
)
Parameter Type Default Description
$event string The event name.
$args array null An array of arguments.
  • Returns array An array of results from each function call.
  • Defined on line 554 of libraries/joomla/application/application.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JApplication::triggerEvent}}

User contributed notes

<CodeExamplesForm />