62 lines
1.1 KiB
PHP
62 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @package Joomla.Administrator
|
|
* @subpackage mod_quickicon
|
|
*
|
|
* @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
*/
|
|
|
|
namespace Joomla\Module\Quickicon\Administrator\Event;
|
|
|
|
use Joomla\CMS\Event\AbstractEvent;
|
|
|
|
// phpcs:disable PSR1.Files.SideEffects
|
|
\defined('_JEXEC') or die;
|
|
// phpcs:enable PSR1.Files.SideEffects
|
|
|
|
/**
|
|
* Event object for retrieving pluggable quick icons
|
|
*
|
|
* @since 4.0.0
|
|
*/
|
|
class QuickIconsEvent extends AbstractEvent
|
|
{
|
|
/**
|
|
* The event context
|
|
*
|
|
* @var string
|
|
* @since 4.0.0
|
|
*/
|
|
private $context;
|
|
|
|
/**
|
|
* Get the event context
|
|
*
|
|
* @return string
|
|
*
|
|
* @since 4.0.0
|
|
*/
|
|
public function getContext()
|
|
{
|
|
return $this->context;
|
|
}
|
|
|
|
/**
|
|
* Set the event context
|
|
*
|
|
* @param string $context The event context
|
|
*
|
|
* @return string
|
|
*
|
|
* @since 4.0.0
|
|
*/
|
|
public function setContext($context)
|
|
{
|
|
$this->context = $context;
|
|
|
|
return $context;
|
|
}
|
|
}
|