/plugin/magento/ |
H A D | auth.php | 384 …$dbh = new PDO( $this->db_dsn, $this->db_user, $this->db_passwd, array( PDO::ATTR_PERSISTENT => tr… 385 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 438 …$dbh = new PDO( $this->db_dsn, $this->db_user, $this->db_passwd, array( PDO::ATTR_PERSISTENT => tr… 439 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 504 …$dbh = new PDO( $this->db_dsn, $this->db_user, $this->db_passwd, array( PDO::ATTR_PERSISTENT => tr… 505 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 535 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 567 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 600 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 637 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); [all …]
|
/plugin/dbquery/ |
H A D | helper.php | 13 /** @var PDO[] do not access directly, use getPDO instead */ 34 * Return the PDO object and cache it for the request 41 * @return PDO 53 PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, // always fetch as array 54 PDO::ATTR_EMULATE_PREPARES => true, // emulating prepares allows us to reuse param names 55 PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, // we want exceptions, not error codes 58 $this->pdo[$conid] = new PDO($dsn, $user, $pass, $opts); 82 $data = $sth->fetchAll(PDO [all...] |
/plugin/sql/ |
H A D | DB.php | 16 class MDB3 extends PDO { 19 $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('MDB3Statement', array($this))); 20 $this->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC); 36 $this->setAttribute(PDO::ATTR_PERSISTENT, $val); 72 $obj->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 89 $DB = new PDO($DSN['phptype'].':host='.$DSN['hostspec'], $DSN['username'], $DSN['password']); 90 $DB->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 102 …$DB = new PDO($DSN['phptype'].':host='.$DSN['hostspec'].';dbname='.$DSN['database'], $DSN['usernam… 103 $DB->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
/plugin/davcal/vendor/sabre/dav/bin/ |
H A D | migrateto21.php | 63 $pdo = new PDO($dsn, $user, $pass); 64 $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 65 $pdo->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC); 67 $driver = $pdo->getAttribute(PDO::ATTR_DRIVER_NAME); 86 $row = $result->fetch(\PDO::FETCH_ASSOC); 119 while($row = $result->fetch(\PDO::FETCH_ASSOC)) {
|
H A D | migrateto30.php | 62 $pdo = new PDO($dsn, $user, $pass); 63 $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 64 $pdo->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC); 66 $driver = $pdo->getAttribute(PDO::ATTR_DRIVER_NAME); 85 $row = $result->fetch(\PDO::FETCH_ASSOC); 157 while($row = $result->fetch(\PDO::FETCH_ASSOC)) {
|
H A D | migrateto17.php | 56 $pdo = new PDO($dsn, $user, $pass); 57 $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 58 $pdo->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC); 105 switch($pdo->getAttribute(PDO::ATTR_DRIVER_NAME)) { 128 …die('This upgrade script does not support this driver (' . $pdo->getAttribute(PDO::ATTR_DRIVER_NAM… 191 switch($pdo->getAttribute(PDO::ATTR_DRIVER_NAME)) { 201 …die('This upgrade script does not support this driver (' . $pdo->getAttribute(PDO::ATTR_DRIVER_NAM… 260 $maxDate = new DateTime(\Sabre\CalDAV\Backend\PDO::MAX_DATE);
|
H A D | migrateto20.php | 62 $pdo = new PDO($dsn, $user, $pass); 63 $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 64 $pdo->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC); 66 $driver = $pdo->getAttribute(PDO::ATTR_DRIVER_NAME); 440 while($row = $result->fetch(\PDO::FETCH_ASSOC)) {
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalBackend/ |
H A D | AbstractPDOTest.php | 16 $backend = new PDO($pdo); 17 $this->assertTrue($backend instanceof PDO); 27 $backend = new PDO($pdo); 53 $backend = new PDO($pdo); 70 $backend = new PDO($pdo); 80 $backend = new PDO($pdo); 92 $backend = new PDO($pdo); 110 $backend = new PDO($pdo); 129 $backend = new PDO($pdo); 152 $backend = new PDO($pdo);
|
H A D | PDOSqliteTest.php | 23 $pdo = new \PDO('sqlite:'.SABRE_TEMPDIR.'/pdobackend'); 24 $pdo->setAttribute(\PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/ |
H A D | TestUtil.php | 5 use PDO; alias 11 $backend = new Backend\PDO(self::getSQLiteDB()); 21 $pdo = new PDO('sqlite:' . SABRE_TEMPDIR . '/testdb.sqlite'); 22 $pdo->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION); 30 $backend = new Backend\PDO($pdo);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/ |
H A D | TestUtil.php | 41 $pdo = new \PDO(SABRE_MYSQLDSN,SABRE_MYSQLUSER,SABRE_MYSQLPASS); 42 $pdo->setAttribute(\PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION); 52 $pdo = new \PDO('sqlite:'.SABRE_TEMPDIR.'/pdobackend'); 53 $pdo->setAttribute(\PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION);
|
/plugin/webdav/vendor/sabre/dav/lib/DAV/PropertyStorage/Backend/ |
H A D | PDO.php | 21 class PDO implements BackendInterface { class 57 function __construct(\PDO $pdo) { 90 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) { 128 if ($this->pdo->getAttribute(\PDO::ATTR_DRIVER_NAME) === 'pgsql') { 162 $updateStmt->bindParam('path', $path, \PDO::PARAM_STR); 163 $updateStmt->bindParam('name', $name, \PDO::PARAM_STR); 164 $updateStmt->bindParam('valuetype', $valueType, \PDO::PARAM_INT); 165 $updateStmt->bindParam('value', $value, \PDO::PARAM_LOB); 229 while ($row = $select->fetch(\PDO::FETCH_ASSOC)) {
|
/plugin/davcal/vendor/sabre/dav/lib/DAVACL/PrincipalBackend/ |
H A D | PDO.php | 20 class PDO extends AbstractBackend implements CreatePrincipalSupport { class 39 * @var PDO 68 * @param PDO $pdo 70 function __construct(\PDO $pdo) { 105 while ($row = $result->fetch(\PDO::FETCH_ASSOC)) { 148 $row = $stmt->fetch(\PDO::FETCH_ASSOC); 269 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) { 298 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) { 320 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) { 345 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/Backend/ |
H A D | PDOTest.php | 15 $pdo = new \PDO('sqlite:' . SABRE_TEMPDIR . '/pdolocks/db.sqlite'); 16 $pdo->setAttribute(\PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION); 18 $backend = new PDO($pdo);
|
/plugin/davcal/vendor/sabre/dav/lib/DAV/Auth/Backend/ |
H A D | PDO.php | 12 class PDO extends AbstractDigest { class 17 * @var PDO 34 * @param PDO $pdo 36 function __construct(\PDO $pdo) {
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/ |
H A D | TestUtil.php | 9 $backend = new Backend\PDO(self::getSQLiteDB()); 19 $pdo = new \PDO('sqlite:' . SABRE_TEMPDIR . '/testdb.sqlite'); 20 $pdo->setAttribute(\PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION); 28 $backend = new Backend\PDO($pdo);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/Backend/ |
H A D | PDOSqliteTest.php | 17 * @return PDO 22 $pdo = new \PDO('sqlite:'.SABRE_TEMPDIR.'/pdobackend'); 23 $pdo->setAttribute(\PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION);
|
/plugin/webdav/vendor/sabre/dav/lib/DAVACL/PrincipalBackend/ |
H A D | PDO.php | 20 class PDO extends AbstractBackend implements CreatePrincipalSupport { class 39 * @var PDO 70 function __construct(\PDO $pdo) { 105 while ($row = $result->fetch(\PDO::FETCH_ASSOC)) { 148 $row = $stmt->fetch(\PDO::FETCH_ASSOC); 268 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) { 312 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) { 343 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) { 365 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) { 390 while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
|
/plugin/authphpbb3/ |
H A D | auth.php | 175 while ($row = $result->fetch(PDO::FETCH_ASSOC)) { 279 $row = $result->fetch(PDO::FETCH_ASSOC); 373 while ($row = $result->fetch(PDO::FETCH_ASSOC)) { 455 while ($row = $result->fetch(PDO::FETCH_ASSOC)) { 605 $this->_phpbb_sql_link = new PDO( 614 $this->_phpbb_sql_link = new PDO($dsn); 619 $this->_phpbb_sql_link = new PDO( 693 $row = $result->fetch(PDO::FETCH_ASSOC); 728 while ($row = $result->fetch(PDO::FETCH_ASSOC)) { 776 $row = $result->fetch(PDO::FETCH_ASSOC); [all …]
|
/plugin/sqlite/ |
H A D | helper.php | 53 msg('PDO SQLite support missing in this PHP install - The sqlite plugin will not work', -1); 76 * check availabilty of PHP PDO sqlite3 81 return in_array('sqlite', \PDO::getAvailableDrivers()); 257 $mode = $assoc ? PDO::FETCH_ASSOC : PDO::FETCH_NUM; 273 return $res->fetch(\PDO::FETCH_ASSOC); 286 $data = $res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_ABS, 0); 303 return $res->fetch(PDO::FETCH_NUM); 316 return $res->fetch(PDO [all...] |
/plugin/webdav/vendor/sabre/dav/lib/DAV/Auth/Backend/ |
H A D | PDO.php | 12 class PDO extends AbstractDigest { class 17 * @var PDO 36 function __construct(\PDO $pdo) {
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/Backend/ |
H A D | PDOSqliteTest.php | 19 $pdo = new \PDO('sqlite:'.SABRE_TEMPDIR.'/pdobackend'); 20 $pdo->setAttribute(\PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION);
|
H A D | AbstractPDOTest.php | 14 $backend = new PDO($pdo); 15 $this->assertTrue($backend instanceof PDO); 25 $backend = new PDO($pdo);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Backend/ |
H A D | PDOSqliteTest.php | 18 $pdo = new \PDO('sqlite:' . SABRE_TEMPDIR . '/testdb.sqlite'); 19 $pdo->setAttribute(\PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION);
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Regression/GitHub/1351/ |
H A D | Issue1351Test.php | 44 $connection = new PDO('sqlite::memory:'); 45 $connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|