JDispatcher::trigger/1.5

From Joomla! Documentation
Jump to: navigation, search

Joomla 1.5 JDispatcher::trigger

Description

Triggers an event by dispatching arguments to all observers that handle the event and returning their return values.

Description:JDispatcher::trigger [Edit Descripton]

public function trigger (
        $event
        $args=null
        $doUnpublished=false
)
Parameter Type Default Description
$event string The event name
$args array null An array of arguments
$doUnpublished boolean false [DEPRECATED]
  • Returns array An array of results from each function call
  • Defined on line 107 of libraries/joomla/event/dispatcher.php
  • Since Joomla 1.5

See also

SeeAlso:JDispatcher::trigger [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox