[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/event/src/ -> Priority.php (source)

   1  <?php
   2  /**
   3   * Part of the Joomla Framework Event Package
   4   *
   5   * @copyright  Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
   6   * @license    GNU General Public License version 2 or later; see LICENSE
   7   */
   8  
   9  namespace Joomla\Event;
  10  
  11  /**
  12   * An enumeration of priorities for event listeners that you are encouraged to use when adding them in the Dispatcher.
  13   *
  14   * @since  1.0
  15   */
  16  final class Priority
  17  {
  18      /**
  19       * Indicates the event listener should have a minimum priority.
  20       *
  21       * @var    integer
  22       * @since  1.0
  23       */
  24      public const MIN = -3;
  25  
  26      /**
  27       * Indicates the event listener should have a low priority.
  28       *
  29       * @var    integer
  30       * @since  1.0
  31       */
  32      public const LOW = -2;
  33  
  34      /**
  35       * Indicates the event listener should have a below normal priority.
  36       *
  37       * @var    integer
  38       * @since  1.0
  39       */
  40      public const BELOW_NORMAL = -1;
  41  
  42      /**
  43       * Indicates the event listener should have a normal priority. This is the default priority.
  44       *
  45       * @var    integer
  46       * @since  1.0
  47       */
  48      public const NORMAL = 0;
  49  
  50      /**
  51       * Indicates the event listener should have a above normal priority.
  52       *
  53       * @var    integer
  54       * @since  1.0
  55       */
  56      public const ABOVE_NORMAL = 1;
  57  
  58      /**
  59       * Indicates the event listener should have a high priority.
  60       *
  61       * @var    integer
  62       * @since  1.0
  63       */
  64      public const HIGH = 2;
  65  
  66      /**
  67       * Indicates the event listener should have a maximum priority.
  68       *
  69       * @var    integer
  70       * @since  1.0
  71       */
  72      public const MAX = 3;
  73  
  74      /**
  75       * Disallow instantiation of this class
  76       *
  77       * @since   1.0
  78       */
  79  	private function __construct()
  80      {
  81      }
  82  }


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