From cb9658feefef450114c195f651adb729a059e91a Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 22 Feb 2005 20:25:56 +0000 Subject: - Revert signature of PDO:prepare() old: proto object PDO::prepare(string statment [, array driver_options [, string classname ]]) now: proto object PDO::prepare(string statment [, array options]) param 'classname' and and 'ctor_args' are now set through options using index PDO_ATTR_STATEMENT_CLASS - Change all deriver_options parameters to 'options' to reflect the fact that they may contain statement as well as driver specific flags --- ext/pdo/php_pdo_driver.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/pdo/php_pdo_driver.h') diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index f4e70a939a..b0937a3e3f 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -111,6 +111,7 @@ enum pdo_attribute_type { PDO_ATTR_CURSOR, /* cursor type */ PDO_ATTR_ORACLE_NULLS, /* convert empty strings to NULL */ PDO_ATTR_PERSISTENT, /* pconnect style connection */ + PDO_ATTR_STATEMENT_CLASS, /* array(classname, array(ctor_args)) to specify the class of the constructed statement */ /* this defines the start of the range for driver specific options. * Drivers should define their own attribute constants beginning with this -- cgit v1.2.1