[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/modules/mod_quickicon/src/Event/ -> QuickIconsEvent.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  mod_quickicon
   6   *
   7   * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  namespace Joomla\Module\Quickicon\Administrator\Event;
  12  
  13  use Joomla\CMS\Event\AbstractEvent;
  14  
  15  // phpcs:disable PSR1.Files.SideEffects
  16  \defined('_JEXEC') or die;
  17  // phpcs:enable PSR1.Files.SideEffects
  18  
  19  /**
  20   * Event object for retrieving pluggable quick icons
  21   *
  22   * @since  4.0.0
  23   */
  24  class QuickIconsEvent extends AbstractEvent
  25  {
  26      /**
  27       * The event context
  28       *
  29       * @var    string
  30       * @since  4.0.0
  31       */
  32      private $context;
  33  
  34      /**
  35       * Get the event context
  36       *
  37       * @return  string
  38       *
  39       * @since   4.0.0
  40       */
  41      public function getContext()
  42      {
  43          return $this->context;
  44      }
  45  
  46      /**
  47       * Set the event context
  48       *
  49       * @param   string  $context  The event context
  50       *
  51       * @return  string
  52       *
  53       * @since   4.0.0
  54       */
  55      public function setContext($context)
  56      {
  57          $this->context = $context;
  58  
  59          return $context;
  60      }
  61  }


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