Actions

API17

Difference between revisions of "JCli::registerEvent"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JCli->registerEvent ($event, $handler)
+
public JCli::registerEvent ($event, $handler)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
void
 
void
 
===Defined in===
 
===Defined in===
libraries/joomla/application/cli.php
+
libraries/joomla/application/cli.php (line 190)
 +
* see source code in [[jplatform:application/cli.php#cl-190|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:06, 23 April 2011

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::registerEvent

Description

Registers a handler to a particular event group.

Description:JCli::registerEvent [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JCli::registerEvent ($event, $handler)
Parameter Type Default Description
$event string The event name.
$handler callback The handler, a function or an instance of a event object.

Returns

void

Defined in

libraries/joomla/application/cli.php (line 190)

Referenced by

See also

[Edit See Also]

SeeAlso:JCli::registerEvent

Examples

<CodeExamplesForm />