[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/system/shortcut/src/Extension/ -> Shortcut.php (summary)

(no description)

Copyright: (C) 2022 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 140 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  getSubscribedEvents()
  initialize()
  addShortcuts()

Functions
Functions that are not part of a class:

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

initialize()   X-Ref
Add the javascript for the shortcuts

return: void

addShortcuts(Event $event)   X-Ref
Add default shortcuts to the document

param: Event  $event  The event
return: void



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