PageRenderTime 65ms CodeModel.GetById 35ms RepoModel.GetById 1ms app.codeStats 0ms

/stubs/PDO.php

http://github.com/nnmatveev/php-stubs
PHP | 1277 lines | 146 code | 124 blank | 1007 comment | 0 complexity | d0f662f174c0b7c72fef65411e9f6632 MD5 | raw file
  1. <?php
  2. // Start of PDO v.1.0.4dev
  3. /**
  4. * Represents an error raised by PDO. You should not throw a
  5. * PDOException from your own code.
  6. * See Exceptions for more
  7. * information about Exceptions in PHP.
  8. * @link http://php.net/manual/en/class.pdoexception.php
  9. */
  10. class PDOException extends RuntimeException {
  11. protected $message;
  12. protected $code;
  13. protected $file;
  14. protected $line;
  15. public $errorInfo;
  16. /**
  17. * (PHP 5 &gt;= 5.1.0)<br/>
  18. * Clone the exception
  19. * @link http://php.net/manual/en/exception.clone.php
  20. * @return void
  21. */
  22. final private function __clone () {}
  23. /**
  24. * (PHP 5 &gt;= 5.1.0)<br/>
  25. * Construct the exception
  26. * @link http://php.net/manual/en/exception.construct.php
  27. * @param $message [optional]
  28. * @param $code [optional]
  29. * @param $previous [optional]
  30. */
  31. public function __construct ($message, $code, $previous) {}
  32. /**
  33. * (PHP 5 &gt;= 5.1.0)<br/>
  34. * Gets the Exception message
  35. * @link http://php.net/manual/en/exception.getmessage.php
  36. * @return string the Exception message as a string.
  37. */
  38. final public function getMessage () {}
  39. /**
  40. * (PHP 5 &gt;= 5.1.0)<br/>
  41. * Gets the Exception code
  42. * @link http://php.net/manual/en/exception.getcode.php
  43. * @return int the Exception code as a integer.
  44. */
  45. final public function getCode () {}
  46. /**
  47. * (PHP 5 &gt;= 5.1.0)<br/>
  48. * Gets the file in which the exception occurred
  49. * @link http://php.net/manual/en/exception.getfile.php
  50. * @return string the filename in which the exception was thrown.
  51. */
  52. final public function getFile () {}
  53. /**
  54. * (PHP 5 &gt;= 5.1.0)<br/>
  55. * Gets the line in which the exception occurred
  56. * @link http://php.net/manual/en/exception.getline.php
  57. * @return int the line number where the exception was thrown.
  58. */
  59. final public function getLine () {}
  60. /**
  61. * (PHP 5 &gt;= 5.1.0)<br/>
  62. * Gets the stack trace
  63. * @link http://php.net/manual/en/exception.gettrace.php
  64. * @return array the Exception stack trace as an array.
  65. */
  66. final public function getTrace () {}
  67. /**
  68. * (PHP 5 &gt;= 5.3.0)<br/>
  69. * Returns previous Exception
  70. * @link http://php.net/manual/en/exception.getprevious.php
  71. * @return Exception the previous Exception if available
  72. * or &null; otherwise.
  73. */
  74. final public function getPrevious () {}
  75. /**
  76. * (PHP 5 &gt;= 5.1.0)<br/>
  77. * Gets the stack trace as a string
  78. * @link http://php.net/manual/en/exception.gettraceasstring.php
  79. * @return string the Exception stack trace as a string.
  80. */
  81. final public function getTraceAsString () {}
  82. /**
  83. * (PHP 5 &gt;= 5.1.0)<br/>
  84. * String representation of the exception
  85. * @link http://php.net/manual/en/exception.tostring.php
  86. * @return string the string representation of the exception.
  87. */
  88. public function __toString () {}
  89. }
  90. /**
  91. * Represents a connection between PHP and a database server.
  92. * @link http://php.net/manual/en/class.pdo.php
  93. */
  94. class PDO {
  95. /**
  96. * Represents a boolean data type.
  97. * @link http://php.net/manual/en/pdo.constants.php
  98. */
  99. const PARAM_BOOL = 5;
  100. /**
  101. * Represents the SQL NULL data type.
  102. * @link http://php.net/manual/en/pdo.constants.php
  103. */
  104. const PARAM_NULL = 0;
  105. /**
  106. * Represents the SQL INTEGER data type.
  107. * @link http://php.net/manual/en/pdo.constants.php
  108. */
  109. const PARAM_INT = 1;
  110. /**
  111. * Represents the SQL CHAR, VARCHAR, or other string data type.
  112. * @link http://php.net/manual/en/pdo.constants.php
  113. */
  114. const PARAM_STR = 2;
  115. /**
  116. * Represents the SQL large object data type.
  117. * @link http://php.net/manual/en/pdo.constants.php
  118. */
  119. const PARAM_LOB = 3;
  120. /**
  121. * Represents a recordset type. Not currently supported by any drivers.
  122. * @link http://php.net/manual/en/pdo.constants.php
  123. */
  124. const PARAM_STMT = 4;
  125. /**
  126. * Specifies that the parameter is an INOUT parameter for a stored
  127. * procedure. You must bitwise-OR this value with an explicit
  128. * PDO::PARAM_* data type.
  129. * @link http://php.net/manual/en/pdo.constants.php
  130. */
  131. const PARAM_INPUT_OUTPUT = 2147483648;
  132. /**
  133. * Allocation event
  134. * @link http://php.net/manual/en/pdo.constants.php
  135. */
  136. const PARAM_EVT_ALLOC = 0;
  137. /**
  138. * Deallocation event
  139. * @link http://php.net/manual/en/pdo.constants.php
  140. */
  141. const PARAM_EVT_FREE = 1;
  142. /**
  143. * Event triggered prior to execution of a prepared statement.
  144. * @link http://php.net/manual/en/pdo.constants.php
  145. */
  146. const PARAM_EVT_EXEC_PRE = 2;
  147. /**
  148. * Event triggered subsequent to execution of a prepared statement.
  149. * @link http://php.net/manual/en/pdo.constants.php
  150. */
  151. const PARAM_EVT_EXEC_POST = 3;
  152. /**
  153. * Event triggered prior to fetching a result from a resultset.
  154. * @link http://php.net/manual/en/pdo.constants.php
  155. */
  156. const PARAM_EVT_FETCH_PRE = 4;
  157. /**
  158. * Event triggered subsequent to fetching a result from a resultset.
  159. * @link http://php.net/manual/en/pdo.constants.php
  160. */
  161. const PARAM_EVT_FETCH_POST = 5;
  162. /**
  163. * Event triggered during bound parameter registration
  164. * allowing the driver to normalize the parameter name.
  165. * @link http://php.net/manual/en/pdo.constants.php
  166. */
  167. const PARAM_EVT_NORMALIZE = 6;
  168. /**
  169. * Specifies that the fetch method shall return each row as an object with
  170. * variable names that correspond to the column names returned in the result
  171. * set. PDO::FETCH_LAZY creates the object variable names as they are accessed.
  172. * @link http://php.net/manual/en/pdo.constants.php
  173. */
  174. const FETCH_LAZY = 1;
  175. /**
  176. * Specifies that the fetch method shall return each row as an array indexed
  177. * by column name as returned in the corresponding result set. If the result
  178. * set contains multiple columns with the same name,
  179. * PDO::FETCH_ASSOC returns
  180. * only a single value per column name.
  181. * @link http://php.net/manual/en/pdo.constants.php
  182. */
  183. const FETCH_ASSOC = 2;
  184. /**
  185. * Specifies that the fetch method shall return each row as an array indexed
  186. * by column number as returned in the corresponding result set, starting at
  187. * column 0.
  188. * @link http://php.net/manual/en/pdo.constants.php
  189. */
  190. const FETCH_NUM = 3;
  191. /**
  192. * Specifies that the fetch method shall return each row as an array indexed
  193. * by both column name and number as returned in the corresponding result set,
  194. * starting at column 0.
  195. * @link http://php.net/manual/en/pdo.constants.php
  196. */
  197. const FETCH_BOTH = 4;
  198. /**
  199. * Specifies that the fetch method shall return each row as an object with
  200. * property names that correspond to the column names returned in the result
  201. * set.
  202. * @link http://php.net/manual/en/pdo.constants.php
  203. */
  204. const FETCH_OBJ = 5;
  205. /**
  206. * Specifies that the fetch method shall return TRUE and assign the values of
  207. * the columns in the result set to the PHP variables to which they were
  208. * bound with the PDOStatement::bindParam or
  209. * PDOStatement::bindColumn methods.
  210. * @link http://php.net/manual/en/pdo.constants.php
  211. */
  212. const FETCH_BOUND = 6;
  213. /**
  214. * Specifies that the fetch method shall return only a single requested
  215. * column from the next row in the result set.
  216. * @link http://php.net/manual/en/pdo.constants.php
  217. */
  218. const FETCH_COLUMN = 7;
  219. /**
  220. * Specifies that the fetch method shall return a new instance of the
  221. * requested class, mapping the columns to named properties in the class.
  222. * The magic
  223. * __set
  224. * method is called if the property doesn't exist in the requested class
  225. * @link http://php.net/manual/en/pdo.constants.php
  226. */
  227. const FETCH_CLASS = 8;
  228. /**
  229. * Specifies that the fetch method shall update an existing instance of the
  230. * requested class, mapping the columns to named properties in the class.
  231. * @link http://php.net/manual/en/pdo.constants.php
  232. */
  233. const FETCH_INTO = 9;
  234. const FETCH_FUNC = 10;
  235. const FETCH_GROUP = 65536;
  236. const FETCH_UNIQUE = 196608;
  237. /**
  238. * Fetch into an array where the 1st column is a key and all subsequent
  239. * columns are values. Available since PHP 5.2.3.
  240. * @link http://php.net/manual/en/pdo.constants.php
  241. */
  242. const FETCH_KEY_PAIR = 12;
  243. /**
  244. * Determine the class name from the value of first column.
  245. * @link http://php.net/manual/en/pdo.constants.php
  246. */
  247. const FETCH_CLASSTYPE = 262144;
  248. /**
  249. * As PDO::FETCH_INTO but object is provided as a serialized string.
  250. * Available since PHP 5.1.0.
  251. * @link http://php.net/manual/en/pdo.constants.php
  252. */
  253. const FETCH_SERIALIZE = 524288;
  254. /**
  255. * Available since PHP 5.2.0
  256. * @link http://php.net/manual/en/pdo.constants.php
  257. */
  258. const FETCH_PROPS_LATE = 1048576;
  259. /**
  260. * Specifies that the fetch method shall return each row as an array indexed
  261. * by column name as returned in the corresponding result set. If the result
  262. * set contains multiple columns with the same name,
  263. * PDO::FETCH_NAMED returns
  264. * an array of values per column name.
  265. * @link http://php.net/manual/en/pdo.constants.php
  266. */
  267. const FETCH_NAMED = 11;
  268. /**
  269. * If this value is false, PDO attempts to disable autocommit so that the
  270. * connection begins a transaction.
  271. * @link http://php.net/manual/en/pdo.constants.php
  272. */
  273. const ATTR_AUTOCOMMIT = 0;
  274. /**
  275. * Setting the prefetch size allows you to balance speed against memory
  276. * usage for your application. Not all database/driver combinations support
  277. * setting of the prefetch size. A larger prefetch size results in
  278. * increased performance at the cost of higher memory usage.
  279. * @link http://php.net/manual/en/pdo.constants.php
  280. */
  281. const ATTR_PREFETCH = 1;
  282. /**
  283. * Sets the timeout value in seconds for communications with the database.
  284. * @link http://php.net/manual/en/pdo.constants.php
  285. */
  286. const ATTR_TIMEOUT = 2;
  287. /**
  288. * See the Errors and error
  289. * handling section for more information about this attribute.
  290. * @link http://php.net/manual/en/pdo.constants.php
  291. */
  292. const ATTR_ERRMODE = 3;
  293. /**
  294. * This is a read only attribute; it will return information about the
  295. * version of the database server to which PDO is connected.
  296. * @link http://php.net/manual/en/pdo.constants.php
  297. */
  298. const ATTR_SERVER_VERSION = 4;
  299. /**
  300. * This is a read only attribute; it will return information about the
  301. * version of the client libraries that the PDO driver is using.
  302. * @link http://php.net/manual/en/pdo.constants.php
  303. */
  304. const ATTR_CLIENT_VERSION = 5;
  305. /**
  306. * This is a read only attribute; it will return some meta information about the
  307. * database server to which PDO is connected.
  308. * @link http://php.net/manual/en/pdo.constants.php
  309. */
  310. const ATTR_SERVER_INFO = 6;
  311. const ATTR_CONNECTION_STATUS = 7;
  312. /**
  313. * Force column names to a specific case specified by the PDO::CASE_*
  314. * constants.
  315. * @link http://php.net/manual/en/pdo.constants.php
  316. */
  317. const ATTR_CASE = 8;
  318. /**
  319. * Get or set the name to use for a cursor. Most useful when using
  320. * scrollable cursors and positioned updates.
  321. * @link http://php.net/manual/en/pdo.constants.php
  322. */
  323. const ATTR_CURSOR_NAME = 9;
  324. /**
  325. * Selects the cursor type. PDO currently supports either
  326. * PDO::CURSOR_FWDONLY and
  327. * PDO::CURSOR_SCROLL. Stick with
  328. * PDO::CURSOR_FWDONLY unless you know that you need a
  329. * scrollable cursor.
  330. * @link http://php.net/manual/en/pdo.constants.php
  331. */
  332. const ATTR_CURSOR = 10;
  333. /**
  334. * Convert empty strings to SQL NULL values on data fetches.
  335. * @link http://php.net/manual/en/pdo.constants.php
  336. */
  337. const ATTR_ORACLE_NULLS = 11;
  338. /**
  339. * Request a persistent connection, rather than creating a new connection.
  340. * See Connections and Connection
  341. * management for more information on this attribute.
  342. * @link http://php.net/manual/en/pdo.constants.php
  343. */
  344. const ATTR_PERSISTENT = 12;
  345. const ATTR_STATEMENT_CLASS = 13;
  346. /**
  347. * Prepend the containing table name to each column name returned in the
  348. * result set. The table name and column name are separated by a decimal (.)
  349. * character. Support of this attribute is at the driver level; it may not
  350. * be supported by your driver.
  351. * @link http://php.net/manual/en/pdo.constants.php
  352. */
  353. const ATTR_FETCH_TABLE_NAMES = 14;
  354. /**
  355. * Prepend the containing catalog name to each column name returned in the
  356. * result set. The catalog name and column name are separated by a decimal
  357. * (.) character. Support of this attribute is at the driver level; it may
  358. * not be supported by your driver.
  359. * @link http://php.net/manual/en/pdo.constants.php
  360. */
  361. const ATTR_FETCH_CATALOG_NAMES = 15;
  362. /**
  363. * Returns the name of the driver.
  364. * <p>
  365. * using PDO::ATTR_DRIVER_NAME
  366. * getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
  367. * echo "Running on mysql; doing something mysql specific here\n";
  368. * }
  369. * ?>
  370. * ]]>
  371. * </p>
  372. * @link http://php.net/manual/en/pdo.constants.php
  373. */
  374. const ATTR_DRIVER_NAME = 16;
  375. const ATTR_STRINGIFY_FETCHES = 17;
  376. const ATTR_MAX_COLUMN_LEN = 18;
  377. /**
  378. * Available since PHP 5.1.3.
  379. * @link http://php.net/manual/en/pdo.constants.php
  380. */
  381. const ATTR_EMULATE_PREPARES = 20;
  382. /**
  383. * Available since PHP 5.2.0
  384. * @link http://php.net/manual/en/pdo.constants.php
  385. */
  386. const ATTR_DEFAULT_FETCH_MODE = 19;
  387. /**
  388. * Do not raise an error or exception if an error occurs. The developer is
  389. * expected to explicitly check for errors. This is the default mode.
  390. * See Errors and error handling
  391. * for more information about this attribute.
  392. * @link http://php.net/manual/en/pdo.constants.php
  393. */
  394. const ERRMODE_SILENT = 0;
  395. /**
  396. * Issue a PHP E_WARNING message if an error occurs.
  397. * See Errors and error handling
  398. * for more information about this attribute.
  399. * @link http://php.net/manual/en/pdo.constants.php
  400. */
  401. const ERRMODE_WARNING = 1;
  402. /**
  403. * Throw a PDOException if an error occurs.
  404. * See Errors and error handling
  405. * for more information about this attribute.
  406. * @link http://php.net/manual/en/pdo.constants.php
  407. */
  408. const ERRMODE_EXCEPTION = 2;
  409. /**
  410. * Leave column names as returned by the database driver.
  411. * @link http://php.net/manual/en/pdo.constants.php
  412. */
  413. const CASE_NATURAL = 0;
  414. /**
  415. * Force column names to lower case.
  416. * @link http://php.net/manual/en/pdo.constants.php
  417. */
  418. const CASE_LOWER = 2;
  419. /**
  420. * Force column names to upper case.
  421. * @link http://php.net/manual/en/pdo.constants.php
  422. */
  423. const CASE_UPPER = 1;
  424. const NULL_NATURAL = 0;
  425. const NULL_EMPTY_STRING = 1;
  426. const NULL_TO_STRING = 2;
  427. /**
  428. * Corresponds to SQLSTATE '00000', meaning that the SQL statement was
  429. * successfully issued with no errors or warnings. This constant is for
  430. * your convenience when checking PDO::errorCode or
  431. * PDOStatement::errorCode to determine if an error
  432. * occurred. You will usually know if this is the case by examining the
  433. * return code from the method that raised the error condition anyway.
  434. * @link http://php.net/manual/en/pdo.constants.php
  435. */
  436. const ERR_NONE = 00000;
  437. /**
  438. * Fetch the next row in the result set. Valid only for scrollable cursors.
  439. * @link http://php.net/manual/en/pdo.constants.php
  440. */
  441. const FETCH_ORI_NEXT = 0;
  442. /**
  443. * Fetch the previous row in the result set. Valid only for scrollable
  444. * cursors.
  445. * @link http://php.net/manual/en/pdo.constants.php
  446. */
  447. const FETCH_ORI_PRIOR = 1;
  448. /**
  449. * Fetch the first row in the result set. Valid only for scrollable cursors.
  450. * @link http://php.net/manual/en/pdo.constants.php
  451. */
  452. const FETCH_ORI_FIRST = 2;
  453. /**
  454. * Fetch the last row in the result set. Valid only for scrollable cursors.
  455. * @link http://php.net/manual/en/pdo.constants.php
  456. */
  457. const FETCH_ORI_LAST = 3;
  458. /**
  459. * Fetch the requested row by row number from the result set. Valid only
  460. * for scrollable cursors.
  461. * @link http://php.net/manual/en/pdo.constants.php
  462. */
  463. const FETCH_ORI_ABS = 4;
  464. /**
  465. * Fetch the requested row by relative position from the current position
  466. * of the cursor in the result set. Valid only for scrollable cursors.
  467. * @link http://php.net/manual/en/pdo.constants.php
  468. */
  469. const FETCH_ORI_REL = 5;
  470. /**
  471. * Create a PDOStatement object with a forward-only cursor. This is the
  472. * default cursor choice, as it is the fastest and most common data access
  473. * pattern in PHP.
  474. * @link http://php.net/manual/en/pdo.constants.php
  475. */
  476. const CURSOR_FWDONLY = 0;
  477. /**
  478. * Create a PDOStatement object with a scrollable cursor. Pass the
  479. * PDO::FETCH_ORI_* constants to control the rows fetched from the result set.
  480. * @link http://php.net/manual/en/pdo.constants.php
  481. */
  482. const CURSOR_SCROLL = 1;
  483. /**
  484. * If this attribute is set to true on a
  485. * PDOStatement, the MySQL driver will use the
  486. * buffered versions of the MySQL API. If you're writing portable code, you
  487. * should use PDOStatement::fetchAll instead.
  488. * <p>
  489. * Forcing queries to be buffered in mysql
  490. * getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
  491. * $stmt = $db->prepare('select * from foo',
  492. * array(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true));
  493. * } else {
  494. * die("my application only works with mysql; I should use \$stmt->fetchAll() instead");
  495. * }
  496. * ?>
  497. * ]]>
  498. * </p>
  499. * @link http://php.net/manual/en/pdo-mysql.constants.php
  500. */
  501. const MYSQL_ATTR_USE_BUFFERED_QUERY = 1000;
  502. /**
  503. * <p>
  504. * Enable LOAD LOCAL INFILE.
  505. * </p>
  506. * @link http://php.net/manual/en/pdo-mysql.constants.php
  507. */
  508. const MYSQL_ATTR_LOCAL_INFILE = 1001;
  509. /**
  510. * <p>
  511. * Command to execute when connecting to the MySQL server. Will
  512. * automatically be re-executed when reconnecting.
  513. * </p>
  514. * @link http://php.net/manual/en/pdo-mysql.constants.php
  515. */
  516. const MYSQL_ATTR_INIT_COMMAND = 1002;
  517. /**
  518. * <p>
  519. * Perform direct queries, don't use prepared statements.
  520. * </p>
  521. * @link http://php.net/manual/en/pdo-mysql.constants.php
  522. */
  523. const MYSQL_ATTR_DIRECT_QUERY = 1003;
  524. const MYSQL_ATTR_FOUND_ROWS = 1004;
  525. const MYSQL_ATTR_IGNORE_SPACE = 1005;
  526. const ODBC_ATTR_USE_CURSOR_LIBRARY = 1000;
  527. const ODBC_ATTR_ASSUME_UTF8 = 1001;
  528. const ODBC_SQL_USE_IF_NEEDED = 0;
  529. const ODBC_SQL_USE_DRIVER = 2;
  530. const ODBC_SQL_USE_ODBC = 1;
  531. const PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT = 1000;
  532. /**
  533. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  534. * Creates a PDO instance representing a connection to a database
  535. * @link http://php.net/manual/en/pdo.construct.php
  536. * @param $dsn
  537. * @param $username [optional]
  538. * @param $passwd [optional]
  539. * @param $options [optional]
  540. */
  541. public function __construct ($dsn, $username, $passwd, $options) {}
  542. /**
  543. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  544. * Prepares a statement for execution and returns a statement object
  545. * @link http://php.net/manual/en/pdo.prepare.php
  546. * @param string $statement <p>
  547. * This must be a valid SQL statement for the target database server.
  548. * </p>
  549. * @param array $driver_options [optional] <p>
  550. * This array holds one or more key=&gt;value pairs to set
  551. * attribute values for the PDOStatement object that this method
  552. * returns. You would most commonly use this to set the
  553. * PDO::ATTR_CURSOR value to
  554. * PDO::CURSOR_SCROLL to request a scrollable cursor.
  555. * Some drivers have driver specific options that may be set at
  556. * prepare-time.
  557. * </p>
  558. * @return PDOStatement If the database server successfully prepares the statement,
  559. * PDO::prepare returns a
  560. * PDOStatement object.
  561. * If the database server cannot successfully prepare the statement,
  562. * PDO::prepare returns false or emits
  563. * PDOException (depending on error handling).
  564. * </p>
  565. * <p>
  566. * Emulated prepared statements does not communicate with the database server
  567. * so PDO::prepare does not check the statement.
  568. */
  569. public function prepare ($statement, array $driver_options = null) {}
  570. /**
  571. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  572. * Initiates a transaction
  573. * @link http://php.net/manual/en/pdo.begintransaction.php
  574. * @return bool Returns true on success or false on failure.
  575. */
  576. public function beginTransaction () {}
  577. /**
  578. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  579. * Commits a transaction
  580. * @link http://php.net/manual/en/pdo.commit.php
  581. * @return bool Returns true on success or false on failure.
  582. */
  583. public function commit () {}
  584. /**
  585. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  586. * Rolls back a transaction
  587. * @link http://php.net/manual/en/pdo.rollback.php
  588. * @return bool Returns true on success or false on failure.
  589. */
  590. public function rollBack () {}
  591. /**
  592. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  593. * Set an attribute
  594. * @link http://php.net/manual/en/pdo.setattribute.php
  595. * @param int $attribute
  596. * @param mixed $value
  597. * @return bool Returns true on success or false on failure.
  598. */
  599. public function setAttribute ($attribute, $value) {}
  600. /**
  601. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  602. * Execute an SQL statement and return the number of affected rows
  603. * @link http://php.net/manual/en/pdo.exec.php
  604. * @param string $statement <p>
  605. * The SQL statement to prepare and execute.
  606. * </p>
  607. * <p>
  608. * Data inside the query should be properly escaped.
  609. * </p>
  610. * @return int PDO::exec returns the number of rows that were modified
  611. * or deleted by the SQL statement you issued. If no rows were affected,
  612. * PDO::exec returns 0.
  613. * </p>
  614. * &return.falseproblem;
  615. * <p>
  616. * The following example incorrectly relies on the return value of
  617. * PDO::exec, wherein a statement that affected 0 rows
  618. * results in a call to die:
  619. * exec() or die(print_r($db->errorInfo(), true));
  620. * ?>
  621. * ]]>
  622. */
  623. public function exec ($statement) {}
  624. /**
  625. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.0)<br/>
  626. * Executes an SQL statement, returning a result set as a PDOStatement object
  627. * @link http://php.net/manual/en/pdo.query.php
  628. * @param string $statement <p>
  629. * The SQL statement to prepare and execute.
  630. * </p>
  631. * <p>
  632. * Data inside the query should be properly escaped.
  633. * </p>
  634. * @return PDOStatement PDO::query returns a PDOStatement object, or false
  635. * on failure.
  636. */
  637. public function query ($statement) {}
  638. /**
  639. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  640. * Returns the ID of the last inserted row or sequence value
  641. * @link http://php.net/manual/en/pdo.lastinsertid.php
  642. * @param string $name [optional] <p>
  643. * Name of the sequence object from which the ID should be returned.
  644. * </p>
  645. * @return string If a sequence name was not specified for the name
  646. * parameter, PDO::lastInsertId returns a
  647. * string representing the row ID of the last row that was inserted into
  648. * the database.
  649. * </p>
  650. * <p>
  651. * If a sequence name was specified for the name
  652. * parameter, PDO::lastInsertId returns a
  653. * string representing the last value retrieved from the specified sequence
  654. * object.
  655. * </p>
  656. * <p>
  657. * If the PDO driver does not support this capability,
  658. * PDO::lastInsertId triggers an
  659. * IM001 SQLSTATE.
  660. */
  661. public function lastInsertId ($name = null) {}
  662. /**
  663. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  664. * Fetch the SQLSTATE associated with the last operation on the database handle
  665. * @link http://php.net/manual/en/pdo.errorcode.php
  666. * @return mixed a SQLSTATE, a five characters alphanumeric identifier defined in
  667. * the ANSI SQL-92 standard. Briefly, an SQLSTATE consists of a
  668. * two characters class value followed by a three characters subclass value. A
  669. * class value of 01 indicates a warning and is accompanied by a return code
  670. * of SQL_SUCCESS_WITH_INFO. Class values other than '01', except for the
  671. * class 'IM', indicate an error. The class 'IM' is specific to warnings
  672. * and errors that derive from the implementation of PDO (or perhaps ODBC,
  673. * if you're using the ODBC driver) itself. The subclass value '000' in any
  674. * class indicates that there is no subclass for that SQLSTATE.
  675. * </p>
  676. * <p>
  677. * PDO::errorCode only retrieves error codes for operations
  678. * performed directly on the database handle. If you create a PDOStatement
  679. * object through PDO::prepare or
  680. * PDO::query and invoke an error on the statement
  681. * handle, PDO::errorCode will not reflect that error.
  682. * You must call PDOStatement::errorCode to return the error
  683. * code for an operation performed on a particular statement handle.
  684. * </p>
  685. * <p>
  686. * Returns &null; if no operation has been run on the database handle.
  687. */
  688. public function errorCode () {}
  689. /**
  690. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  691. * Fetch extended error information associated with the last operation on the database handle
  692. * @link http://php.net/manual/en/pdo.errorinfo.php
  693. * @return array PDO::errorInfo returns an array of error information
  694. * about the last operation performed by this database handle. The array
  695. * consists of the following fields:
  696. * <tr valign="top">
  697. * <td>Element</td>
  698. * <td>Information</td>
  699. * </tr>
  700. * <tr valign="top">
  701. * <td>0</td>
  702. * <td>SQLSTATE error code (a five characters alphanumeric identifier defined
  703. * in the ANSI SQL standard).</td>
  704. * </tr>
  705. * <tr valign="top">
  706. * <td>1</td>
  707. * <td>Driver-specific error code.</td>
  708. * </tr>
  709. * <tr valign="top">
  710. * <td>2</td>
  711. * <td>Driver-specific error message.</td>
  712. * </tr>
  713. * </p>
  714. * <p>
  715. * If the SQLSTATE error code is not set or there is no driver-specific
  716. * error, the elements following element 0 will be set to &null;.
  717. * </p>
  718. * <p>
  719. * PDO::errorInfo only retrieves error information for
  720. * operations performed directly on the database handle. If you create a
  721. * PDOStatement object through PDO::prepare or
  722. * PDO::query and invoke an error on the statement
  723. * handle, PDO::errorInfo will not reflect the error
  724. * from the statement handle. You must call
  725. * PDOStatement::errorInfo to return the error
  726. * information for an operation performed on a particular statement handle.
  727. */
  728. public function errorInfo () {}
  729. /**
  730. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.0)<br/>
  731. * Retrieve a database connection attribute
  732. * @link http://php.net/manual/en/pdo.getattribute.php
  733. * @param int $attribute <p>
  734. * One of the PDO::ATTR_* constants. The constants that
  735. * apply to database connections are as follows:
  736. * PDO::ATTR_AUTOCOMMIT
  737. * PDO::ATTR_CASE
  738. * PDO::ATTR_CLIENT_VERSION
  739. * PDO::ATTR_CONNECTION_STATUS
  740. * PDO::ATTR_DRIVER_NAME
  741. * PDO::ATTR_ERRMODE
  742. * PDO::ATTR_ORACLE_NULLS
  743. * PDO::ATTR_PERSISTENT
  744. * PDO::ATTR_PREFETCH
  745. * PDO::ATTR_SERVER_INFO
  746. * PDO::ATTR_SERVER_VERSION
  747. * PDO::ATTR_TIMEOUT
  748. * </p>
  749. * @return mixed A successful call returns the value of the requested PDO attribute.
  750. * An unsuccessful call returns null.
  751. */
  752. public function getAttribute ($attribute) {}
  753. /**
  754. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.1)<br/>
  755. * Quotes a string for use in a query.
  756. * @link http://php.net/manual/en/pdo.quote.php
  757. * @param string $string <p>
  758. * The string to be quoted.
  759. * </p>
  760. * @param int $parameter_type [optional] <p>
  761. * Provides a data type hint for drivers that have alternate quoting styles.
  762. * </p>
  763. * @return string a quoted string that is theoretically safe to pass into an
  764. * SQL statement. Returns false if the driver does not support quoting in
  765. * this way.
  766. */
  767. public function quote ($string, $parameter_type = null) {}
  768. final public function __wakeup () {}
  769. final public function __sleep () {}
  770. /**
  771. * (PHP 5 &gt;= 5.1.3, PECL pdo &gt;= 1.0.3)<br/>
  772. * Return an array of available PDO drivers
  773. * @link http://php.net/manual/en/pdo.getavailabledrivers.php
  774. * @return array PDO::getAvailableDrivers returns an array of PDO driver names. If
  775. * no drivers are available, it returns an empty array.
  776. */
  777. public static function getAvailableDrivers () {}
  778. }
  779. /**
  780. * Represents a prepared statement and, after the statement is executed, an
  781. * associated result set.
  782. * @link http://php.net/manual/en/class.pdostatement.php
  783. */
  784. class PDOStatement implements Traversable {
  785. /**
  786. * @var string
  787. */
  788. public $queryString;
  789. /**
  790. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  791. * Executes a prepared statement
  792. * @link http://php.net/manual/en/pdostatement.execute.php
  793. * @param array $input_parameters [optional] <p>
  794. * An array of values with as many elements as there are bound
  795. * parameters in the SQL statement being executed.
  796. * All values are treated as PDO::PARAM_STR.
  797. * </p>
  798. * <p>
  799. * You cannot bind multiple values to a single parameter; for example,
  800. * you cannot bind two values to a single named parameter in an IN()
  801. * clause.
  802. * </p>
  803. * @return bool Returns true on success or false on failure.
  804. */
  805. public function execute (array $input_parameters = null) {}
  806. /**
  807. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  808. * Fetches the next row from a result set
  809. * @link http://php.net/manual/en/pdostatement.fetch.php
  810. * @param int $fetch_style [optional] <p>
  811. * Controls how the next row will be returned to the caller. This value
  812. * must be one of the PDO::FETCH_* constants,
  813. * defaulting to PDO::FETCH_BOTH.
  814. * <p>
  815. * PDO::FETCH_ASSOC: returns an array indexed by column
  816. * name as returned in your result set
  817. * </p>
  818. * @param int $cursor_orientation [optional] <p>
  819. * For a PDOStatement object representing a scrollable cursor, this
  820. * value determines which row will be returned to the caller. This value
  821. * must be one of the PDO::FETCH_ORI_* constants,
  822. * defaulting to PDO::FETCH_ORI_NEXT. To request a
  823. * scrollable cursor for your PDOStatement object, you must set the
  824. * PDO::ATTR_CURSOR attribute to
  825. * PDO::CURSOR_SCROLL when you prepare the SQL
  826. * statement with PDO::prepare.
  827. * </p>
  828. * @param int $cursor_offset [optional]
  829. * @return mixed The return value of this function on success depends on the fetch type. In
  830. * all cases, false is returned on failure.
  831. */
  832. public function fetch ($fetch_style = null, $cursor_orientation = null, $cursor_offset = null) {}
  833. /**
  834. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  835. * Binds a parameter to the specified variable name
  836. * @link http://php.net/manual/en/pdostatement.bindparam.php
  837. * @param mixed $parameter <p>
  838. * Parameter identifier. For a prepared statement using named
  839. * placeholders, this will be a parameter name of the form
  840. * :name. For a prepared statement using
  841. * question mark placeholders, this will be the 1-indexed position of
  842. * the parameter.
  843. * </p>
  844. * @param mixed $variable <p>
  845. * Name of the PHP variable to bind to the SQL statement parameter.
  846. * </p>
  847. * @param int $data_type [optional] <p>
  848. * Explicit data type for the parameter using the PDO::PARAM_*
  849. * constants.
  850. * To return an INOUT parameter from a stored procedure,
  851. * use the bitwise OR operator to set the PDO::PARAM_INPUT_OUTPUT bits
  852. * for the data_type parameter.
  853. * </p>
  854. * @param int $length [optional] <p>
  855. * Length of the data type. To indicate that a parameter is an OUT
  856. * parameter from a stored procedure, you must explicitly set the
  857. * length.
  858. * </p>
  859. * @param mixed $driver_options [optional] <p>
  860. * </p>
  861. * @return bool Returns true on success or false on failure.
  862. */
  863. public function bindParam ($parameter, &$variable, $data_type = null, $length = null, $driver_options = null) {}
  864. /**
  865. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  866. * Bind a column to a PHP variable
  867. * @link http://php.net/manual/en/pdostatement.bindcolumn.php
  868. * @param mixed $column <p>
  869. * Number of the column (1-indexed) or name of the column in the result set.
  870. * If using the column name, be aware that the name should match the
  871. * case of the column, as returned by the driver.
  872. * </p>
  873. * @param mixed $param <p>
  874. * Name of the PHP variable to which the column will be bound.
  875. * </p>
  876. * @param int $type [optional] <p>
  877. * Data type of the parameter, specified by the PDO::PARAM_* constants.
  878. * </p>
  879. * @param int $maxlen [optional] <p>
  880. * A hint for pre-allocation.
  881. * </p>
  882. * @param mixed $driverdata [optional] <p>
  883. * Optional parameter(s) for the driver.
  884. * </p>
  885. * @return bool Returns true on success or false on failure.
  886. */
  887. public function bindColumn ($column, &$param, $type = null, $maxlen = null, $driverdata = null) {}
  888. /**
  889. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 1.0.0)<br/>
  890. * Binds a value to a parameter
  891. * @link http://php.net/manual/en/pdostatement.bindvalue.php
  892. * @param mixed $parameter <p>
  893. * Parameter identifier. For a prepared statement using named
  894. * placeholders, this will be a parameter name of the form
  895. * :name. For a prepared statement using
  896. * question mark placeholders, this will be the 1-indexed position of
  897. * the parameter.
  898. * </p>
  899. * @param mixed $value <p>
  900. * The value to bind to the parameter.
  901. * </p>
  902. * @param int $data_type [optional] <p>
  903. * Explicit data type for the parameter using the PDO::PARAM_*
  904. * constants.
  905. * </p>
  906. * @return bool Returns true on success or false on failure.
  907. */
  908. public function bindValue ($parameter, $value, $data_type = null) {}
  909. /**
  910. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  911. * Returns the number of rows affected by the last SQL statement
  912. * @link http://php.net/manual/en/pdostatement.rowcount.php
  913. * @return int the number of rows.
  914. */
  915. public function rowCount () {}
  916. /**
  917. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.9.0)<br/>
  918. * Returns a single column from the next row of a result set
  919. * @link http://php.net/manual/en/pdostatement.fetchcolumn.php
  920. * @param int $column_number [optional] <p>
  921. * 0-indexed number of the column you wish to retrieve from the row. If
  922. * no value is supplied, PDOStatement::fetchColumn
  923. * fetches the first column.
  924. * </p>
  925. * @return string PDOStatement::fetchColumn returns a single column
  926. * in the next row of a result set.
  927. * </p>
  928. * <p>
  929. * There is no way to return another column from the same row if you
  930. * use PDOStatement::fetchColumn to retrieve data.
  931. */
  932. public function fetchColumn ($column_number = null) {}
  933. /**
  934. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  935. * Returns an array containing all of the result set rows
  936. * @link http://php.net/manual/en/pdostatement.fetchall.php
  937. * @param int $fetch_style [optional] <p>
  938. * Controls the contents of the returned array as documented in
  939. * PDOStatement::fetch.
  940. * </p>
  941. * <p>
  942. * To return an array consisting of all values of a single column from
  943. * the result set, specify PDO::FETCH_COLUMN. You
  944. * can specify which column you want with the
  945. * column-index parameter.
  946. * </p>
  947. * <p>
  948. * To fetch only the unique values of a single column from the result set,
  949. * bitwise-OR PDO::FETCH_COLUMN with
  950. * PDO::FETCH_UNIQUE.
  951. * </p>
  952. * <p>
  953. * To return an associative array grouped by the values of a specified
  954. * column, bitwise-OR PDO::FETCH_COLUMN with
  955. * PDO::FETCH_GROUP.
  956. * </p>
  957. * @param int $column_index [optional] <p>
  958. * Returns the indicated 0-indexed column when the value of
  959. * fetch_style is
  960. * PDO::FETCH_COLUMN.
  961. * </p>
  962. * @param array $ctor_args [optional] <p>
  963. * Arguments of custom class constructor.
  964. * </p>
  965. * @return array PDOStatement::fetchAll returns an array containing
  966. * all of the remaining rows in the result set. The array represents each
  967. * row as either an array of column values or an object with properties
  968. * corresponding to each column name.
  969. * </p>
  970. * <p>
  971. * Using this method to fetch large result sets will result in a heavy
  972. * demand on system and possibly network resources. Rather than retrieving
  973. * all of the data and manipulating it in PHP, consider using the database
  974. * server to manipulate the result sets. For example, use the WHERE and
  975. * SORT BY clauses in SQL to restrict results before retrieving and
  976. * processing them with PHP.
  977. */
  978. public function fetchAll ($fetch_style = null, $column_index = null, array $ctor_args = null) {}
  979. /**
  980. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.4)<br/>
  981. * Fetches the next row and returns it as an object.
  982. * @link http://php.net/manual/en/pdostatement.fetchobject.php
  983. * @param string $class_name [optional] <p>
  984. * Name of the created class.
  985. * </p>
  986. * @param array $ctor_args [optional] <p>
  987. * Elements of this array are passed to the constructor.
  988. * </p>
  989. * @return mixed an instance of the required class with property names that
  990. * correspond to the column names &return.falseforfailure;.
  991. */
  992. public function fetchObject ($class_name = null, array $ctor_args = null) {}
  993. /**
  994. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  995. * Fetch the SQLSTATE associated with the last operation on the statement handle
  996. * @link http://php.net/manual/en/pdostatement.errorcode.php
  997. * @return string Identical to PDO::errorCode, except that
  998. * PDOStatement::errorCode only retrieves error codes
  999. * for operations performed with PDOStatement objects.
  1000. */
  1001. public function errorCode () {}
  1002. /**
  1003. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.1.0)<br/>
  1004. * Fetch extended error information associated with the last operation on the statement handle
  1005. * @link http://php.net/manual/en/pdostatement.errorinfo.php
  1006. * @return array PDOStatement::errorInfo returns an array of
  1007. * error information about the last operation performed by this
  1008. * statement handle. The array consists of the following fields:
  1009. * <tr valign="top">
  1010. * <td>Element</td>
  1011. * <td>Information</td>
  1012. * </tr>
  1013. * <tr valign="top">
  1014. * <td>0</td>
  1015. * <td>SQLSTATE error code (a five characters alphanumeric identifier defined
  1016. * in the ANSI SQL standard).</td>
  1017. * </tr>
  1018. * <tr valign="top">
  1019. * <td>1</td>
  1020. * <td>Driver specific error code.</td>
  1021. * </tr>
  1022. * <tr valign="top">
  1023. * <td>2</td>
  1024. * <td>Driver specific error message.</td>
  1025. * </tr>
  1026. */
  1027. public function errorInfo () {}
  1028. /**
  1029. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.0)<br/>
  1030. * Set a statement attribute
  1031. * @link http://php.net/manual/en/pdostatement.setattribute.php
  1032. * @param int $attribute
  1033. * @param mixed $value
  1034. * @return bool Returns true on success or false on failure.
  1035. */
  1036. public function setAttribute ($attribute, $value) {}
  1037. /**
  1038. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.0)<br/>
  1039. * Retrieve a statement attribute
  1040. * @link http://php.net/manual/en/pdostatement.getattribute.php
  1041. * @param int $attribute
  1042. * @return mixed the attribute value.
  1043. */
  1044. public function getAttribute ($attribute) {}
  1045. /**
  1046. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.0)<br/>
  1047. * Returns the number of columns in the result set
  1048. * @link http://php.net/manual/en/pdostatement.columncount.php
  1049. * @return int the number of columns in the result set represented by the
  1050. * PDOStatement object. If there is no result set,
  1051. * PDOStatement::columnCount returns 0.
  1052. */
  1053. public function columnCount () {}
  1054. /**
  1055. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.0)<br/>
  1056. * Returns metadata for a column in a result set
  1057. * @link http://php.net/manual/en/pdostatement.getcolumnmeta.php
  1058. * @param int $column <p>
  1059. * The 0-indexed column in the result set.
  1060. * </p>
  1061. * @return array an associative array containing the following values representing
  1062. * the metadata for a single column:
  1063. * </p>
  1064. * <table>
  1065. * Column metadata
  1066. * <tr valign="top">
  1067. * <td>Name</td>
  1068. * <td>Value</td>
  1069. * </tr>
  1070. * <tr valign="top">
  1071. * <td>native_type</td>
  1072. * <td>The PHP native type used to represent the column value.</td>
  1073. * </tr>
  1074. * <tr valign="top">
  1075. * <td>driver:decl_type</td>
  1076. * <td>The SQL type used to represent the column value in the database.
  1077. * If the column in the result set is the result of a function, this value
  1078. * is not returned by PDOStatement::getColumnMeta.
  1079. * </td>
  1080. * </tr>
  1081. * <tr valign="top">
  1082. * <td>flags</td>
  1083. * <td>Any flags set for this column.</td>
  1084. * </tr>
  1085. * <tr valign="top">
  1086. * <td>name</td>
  1087. * <td>The name of this column as returned by the database.</td>
  1088. * </tr>
  1089. * <tr valign="top">
  1090. * <td>table</td>
  1091. * <td>The name of this column's table as returned by the database.</td>
  1092. * </tr>
  1093. * <tr valign="top">
  1094. * <td>len</td>
  1095. * <td>The length of this column. Normally -1 for
  1096. * types other than floating point decimals.</td>
  1097. * </tr>
  1098. * <tr valign="top">
  1099. * <td>precision</td>
  1100. * <td>The numeric precision of this column. Normally
  1101. * 0 for types other than floating point
  1102. * decimals.</td>
  1103. * </tr>
  1104. * <tr valign="top">
  1105. * <td>pdo_type</td>
  1106. * <td>The type of this column as represented by the
  1107. * PDO::PARAM_* constants.</td>
  1108. * </tr>
  1109. * </table>
  1110. * <p>
  1111. * Returns false if the requested column does not exist in the result set,
  1112. * or if no result set exists.
  1113. */
  1114. public function getColumnMeta ($column) {}
  1115. /**
  1116. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.0)<br/>
  1117. * Set the default fetch mode for this statement
  1118. * @link http://php.net/manual/en/pdostatement.setfetchmode.php
  1119. * @param int $mode <p>
  1120. * The fetch mode must be one of the PDO::FETCH_* constants.
  1121. * </p>
  1122. * @return bool 1 on success&return.falseforfailure;.
  1123. */
  1124. public function setFetchMode ($mode) {}
  1125. /**
  1126. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.2.0)<br/>
  1127. * Advances to the next rowset in a multi-rowset statement handle
  1128. * @link http://php.net/manual/en/pdostatement.nextrowset.php
  1129. * @return bool Returns true on success or false on failure.
  1130. */
  1131. public function nextRowset () {}
  1132. /**
  1133. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.9.0)<br/>
  1134. * Closes the cursor, enabling the statement to be executed again.
  1135. * @link http://php.net/manual/en/pdostatement.closecursor.php
  1136. * @return bool Returns true on success or false on failure.
  1137. */
  1138. public function closeCursor () {}
  1139. /**
  1140. * (PHP 5 &gt;= 5.1.0, PECL pdo &gt;= 0.9.0)<br/>
  1141. * Dump a SQL prepared command
  1142. * @link http://php.net/manual/en/pdostatement.debugdumpparams.php
  1143. * @return bool
  1144. */
  1145. public function debugDumpParams () {}
  1146. final public function __wakeup () {}
  1147. final public function __sleep () {}
  1148. }
  1149. final class PDORow {
  1150. }
  1151. function pdo_drivers () {}
  1152. // End of PDO v.1.0.4dev
  1153. ?>