Lines Matching refs:is_object
21 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option))))
72 if (!is_object($db = new PDO($dsn, $user, $pass, array())))
78 if (is_object($db = new PDO($dsn, $user, $pass, array($invalid => true))))
92 if (!is_object($db) || !$db->getAttribute(PDO::ATTR_AUTOCOMMIT))
96 if (!is_object($db) || $db->getAttribute(PDO::ATTR_AUTOCOMMIT))
100 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => 10))))
103 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => PHP_INT_MAX))))
106 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => -PHP_INT_MAX))))
111 if (!is_object($db))
120 if (!is_object($db))
158 (is_object($db)) ? $db->errorCode() : 'n/a',
159 (is_object($db)) ? implode(' ', $db->errorInfo()) : 'n/a');