PHP 8.1.33
Preview: EventAwareInterface.php Size: 1.66 KB
/home/jambtst2015/9jahookups.com/libraries/src/Application/EventAwareInterface.php

<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2020 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\CMS\Application;

use Joomla\Event\DispatcherAwareInterface;
use Joomla\Event\DispatcherInterface;
use Joomla\Event\Event;

/**
 * Interface defining application that can trigger Joomla 3.x style events
 *
 * @since       4.0.0
 * @deprecated  5.0   This interface will be removed as the Joomla 3.x compatibility layer will be removed
 */
interface EventAwareInterface extends DispatcherAwareInterface
{
	/**
	 * Get the event dispatcher.
	 *
	 * @return  DispatcherInterface
	 *
	 * @since   4.0.0
	 * @throws  \UnexpectedValueException May be thrown if the dispatcher has not been set.
	 */
	public function getDispatcher();

	/**
	 * Calls all handlers associated with an event group.
	 *
	 * This is a legacy method, implementing old-style (Joomla! 3.x) plugin calls. It's best to go directly through the
	 * Dispatcher and handle the returned EventInterface object instead of going through this method. This method is
	 * deprecated and will be removed in Joomla! 5.x.
	 *
	 * This method will only return the 'result' argument of the event
	 *
	 * @param   string       $eventName  The event name.
	 * @param   array|Event  $args       An array of arguments or an Event object (optional).
	 *
	 * @return  array  An array of results from each function call. Note this will be an empty array if no dispatcher is set.
	 *
	 * @since       4.0.0
	 * @throws      \InvalidArgumentException
	 * @deprecated  5.0
	 */
	public function triggerEvent($eventName, $args = []);
}

Directory Contents

Dirs: 2 × Files: 16

Name Size Perms Modified Actions
CLI DIR
- drwxr-xr-x 2021-08-23 19:07:08
Edit Download
Exception DIR
- drwxr-xr-x 2021-08-23 19:07:08
Edit Download
15.84 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
11.22 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
4.53 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
1.77 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
9.47 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
37.17 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
3.74 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
2.62 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
10.61 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
24.47 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
2.89 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
1.66 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
779 B lrw-r--r-- 2021-08-23 19:07:08
Edit Download
1.45 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
22.84 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
12.35 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).