[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/event/src/ -> SubscriberInterface.php (summary)

Part of the Joomla Framework Event Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 36 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SubscriberInterface:: (1 method):
  getSubscribedEvents()


Interface: SubscriberInterface  - X-Ref

Interface for event subscribers.

getSubscribedEvents()   X-Ref
Returns an array of events this subscriber will listen to.

The array keys are event names and the value can be:

- The method name to call (priority defaults to 0)
- An array composed of the method name to call and the priority

For instance:

* array('eventName' => 'methodName')
* array('eventName' => array('methodName', $priority))

return: array



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer