Actions

API17

JCli::triggerEvent

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JCli::triggerEvent

Description

Calls all handlers associated with an event group.

Description:JCli::triggerEvent [Edit Descripton]

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 194 of libraries/joomla/application/cli.php
  • Since Joomla 11.1

See also

SeeAlso:JCli::triggerEvent [Edit See Also]

User contributed notes

<CodeExamplesForm />