| Server IP : 104.21.84.107 / Your IP : 104.23.197.208 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/pregrados/licenciatura-matematicas/libraries/vendor/joomla/database/src/ |
Upload File : |
<?php
/**
* Part of the Joomla Framework Database Package
*
* @copyright Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\Database;
/**
* Class defining the fetch mode for prepared statements
*
* The values of the constants in this class match the `PDO::FETCH_*` constants.
*
* @since 2.0.0
*/
final class FetchMode
{
/**
* Specifies that the fetch method shall return each row as an array indexed by column name as returned in the corresponding result set.
*
* If the result set contains multiple columns with the same name, the statement returns only a single value per column name.
*
* @var integer
* @since 2.0.0
* @see \PDO::FETCH_ASSOC
*/
public const ASSOCIATIVE = 2;
/**
* Specifies that the fetch method shall return each row as an array indexed by column number as returned in the corresponding result set,
* starting at column 0.
*
* @var integer
* @since 2.0.0
* @see \PDO::FETCH_NUM
*/
public const NUMERIC = 3;
/**
* Specifies that the fetch method shall return each row as an array indexed by both column name and number as returned in the corresponding
* result set, starting at column 0.
*
* @var integer
* @since 2.0.0
* @see \PDO::FETCH_BOTH
*/
public const MIXED = 4;
/**
* Specifies that the fetch method shall return each row as an object with property names that correspond to the column names returned in the
* result set.
*
* @var integer
* @since 2.0.0
* @see \PDO::FETCH_OBJ
*/
public const STANDARD_OBJECT = 5;
/**
* Specifies that the fetch method shall return only a single requested column from the next row in the result set.
*
* @var integer
* @since 2.0.0
* @see \PDO::FETCH_COLUMN
*/
public const COLUMN = 7;
/**
* Specifies that the fetch method shall return a new instance of the requested class, mapping the columns to named properties in the class.
*
* @var integer
* @since 2.0.0
* @see \PDO::FETCH_CLASS
*/
public const CUSTOM_OBJECT = 8;
/**
* Private constructor to prevent instantiation of this class
*
* @since 2.0.0
*/
private function __construct()
{
}
}