1: <?php
2: /**
3: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
4: *
5: * @author Jan Schneider <jan@horde.org>
6: * @license http://www.horde.org/licenses/bsd
7: * @category Horde
8: * @package Db
9: */
10:
11: /**
12: * @author Jan Schneider <jan@horde.org>
13: * @license http://www.horde.org/licenses/bsd
14: * @category Horde
15: * @package Db
16: */
17: class Horde_Db
18: {
19: /**
20: * Specifies that the fetch method shall return each row as an array
21: * indexed by column name as returned in the corresponding result set.
22: */
23: const FETCH_ASSOC = 2;
24:
25: /**
26: * Specifies that the fetch method shall return each row as an array
27: * indexed by column number as returned in the corresponding result set,
28: * starting at column 0.
29: */
30: const FETCH_NUM = 3;
31:
32: /**
33: * Specifies that the fetch method shall return each row as an array
34: * indexed by both column name and number as returned in the corresponding
35: * result set, starting at column 0.
36: */
37: const FETCH_BOTH = 4;
38: }
39: