[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/database/src/ -> DatabaseEvents.php (source)

   1  <?php
   2  /**
   3   * Part of the Joomla Framework Database 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\Database;
  10  
  11  /**
  12   * Class defining the events dispatched by the database API
  13   *
  14   * @since  2.0.0
  15   */
  16  final class DatabaseEvents
  17  {
  18      /**
  19       * Private constructor to prevent instantiation of this class
  20       *
  21       * @since   2.0.0
  22       */
  23  	private function __construct()
  24      {
  25      }
  26  
  27      /**
  28       * Database event which is dispatched after the connection to the database server is opened.
  29       *
  30       * Listeners to this event receive a `Joomla\Database\Event\ConnectionEvent` object.
  31       *
  32       * @var    string
  33       * @since  2.0.0
  34       */
  35      public const POST_CONNECT = 'onAfterConnect';
  36  
  37      /**
  38       * Database event which is dispatched after the connection to the database server is closed.
  39       *
  40       * Listeners to this event receive a `Joomla\Database\Event\ConnectionEvent` object.
  41       *
  42       * @var    string
  43       * @since  2.0.0
  44       */
  45      public const POST_DISCONNECT = 'onAfterDisconnect';
  46  }


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