API17

JApplication::triggerEvent: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
Calls all handlers associated with an event group.  
Calls all handlers associated with an event group.  


{{Description:JApplication::triggerEvent}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JApplication::triggerEvent|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JApplication->triggerEvent ($event, $args=null)
public function triggerEvent (
        $event
        $args=null
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 32: Line 30:
|-
|-
|}
|}
===Returns===
* '''Returns''' array An array of results from each function call.
array An array of results from each function call.
* '''Defined''' on line 554 of libraries/joomla/application/application.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/application.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JApplication::triggerEvent source code''' on [[jplatform:application/application.php#cl-546|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JApplication::triggerEvent|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JApplication|JApplication]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JApplication/11.1|JApplication]]
* [[API17:JApplication::triggerEvent|Other versions of JApplication::triggerEvent]]
* [[JApplication::triggerEvent|Other versions of this method]]
 
{{SeeAlso:JApplication::triggerEvent}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JApplication::triggerEvent
category=JApplication::triggerEvent
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JApplication]][[Category:JApplication::triggerEvent]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:19, 25 March 2017

Joomla 11.1 JApplication::triggerEvent

Description

Calls all handlers associated with an event group.


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


User contributed notes

Code Examples