CoreFiles by mySites.guru
QuickIconsEvent.php61 lines, 1,142 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
05fd3b91c72cfa2852fd174504cb9cc2
sha1
c0018edc4164ef36eca055bee13ea80d8812d21c
sha256
36447b1d4605406998dee5028ce2880b4c04d52c6b57fa482512362bc8eb4698
<?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;
    }
}

The same content is in 225 releases, Joomla 4.2.1 to 6.2.1-rc1. See them all, or every version of this file.