[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/database/src/ -> ParameterType.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 parameter types for prepared statements
  13   *
  14   * @since  2.0.0
  15   */
  16  final class ParameterType
  17  {
  18      /**
  19       * Defines a boolean parameter
  20       *
  21       * @var    string
  22       * @since  2.0.0
  23       */
  24      public const BOOLEAN = 'boolean';
  25  
  26      /**
  27       * Defines an integer parameter
  28       *
  29       * @var    string
  30       * @since  2.0.0
  31       */
  32      public const INTEGER = 'int';
  33  
  34      /**
  35       * Defines a large object parameter
  36       *
  37       * @var    string
  38       * @since  2.0.0
  39       */
  40      public const LARGE_OBJECT = 'lob';
  41  
  42      /**
  43       * Defines a null parameter
  44       *
  45       * @var    string
  46       * @since  2.0.0
  47       */
  48      public const NULL = 'null';
  49  
  50      /**
  51       * Defines a string parameter
  52       *
  53       * @var    string
  54       * @since  2.0.0
  55       */
  56      public const STRING = 'string';
  57  
  58      /**
  59       * Private constructor to prevent instantiation of this class
  60       *
  61       * @since   2.0.0
  62       */
  63  	private function __construct()
  64      {
  65      }
  66  }


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