[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
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 fetch orientation for prepared statements 13 * 14 * The values of the constants in this class match the `PDO::FETCH_ORI_*` constants. 15 * 16 * @since 2.0.0 17 */ 18 final class FetchOrientation 19 { 20 /** 21 * Fetch the next row in the result set. Valid only for scrollable cursors. 22 * 23 * @var integer 24 * @since 2.0.0 25 */ 26 public const NEXT = 0; 27 28 /** 29 * Fetch the previous row in the result set. Valid only for scrollable cursors. 30 * 31 * @var integer 32 * @since 2.0.0 33 */ 34 public const PRIOR = 1; 35 36 /** 37 * Fetch the first row in the result set. Valid only for scrollable cursors. 38 * 39 * @var integer 40 * @since 2.0.0 41 */ 42 public const FIRST = 2; 43 44 /** 45 * Fetch the last row in the result set. Valid only for scrollable cursors. 46 * 47 * @var integer 48 * @since 2.0.0 49 */ 50 public const LAST = 3; 51 52 /** 53 * Fetch the requested row by row number from the result set. Valid only for scrollable cursors. 54 * 55 * @var integer 56 * @since 2.0.0 57 */ 58 public const ABS = 4; 59 60 /** 61 * Fetch the requested row by relative position from the current position of the cursor in the result set. Valid only for scrollable cursors. 62 * 63 * @var integer 64 * @since 2.0.0 65 */ 66 public const REL = 5; 67 68 /** 69 * Private constructor to prevent instantiation of this class 70 * 71 * @since 2.0.0 72 */ 73 private function __construct() 74 { 75 } 76 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |