Searched refs:dbh (Results 1 – 4 of 4) sorted by relevance
| /plugin/authdjango/ |
| D | auth.php | 15 var $dbh = null; // db handle variable in auth_plugin_authdjango 29 global $dbh; 39 $this->dbh = new PDO('sqlite:' . $this->getConf('server')); 42 …$this->dbh = new PDO($this->getConf('protocol') . ':host=' . $this->getConf('server') . ';dbname='… 56 global $dbh; 65 if (isset($_COOKIE['sessionid']) && $this->dbh) { 70 …$query = 'SELECT session_data FROM django_session WHERE session_key=' . $this->dbh->quote($s_id) .… 71 $result = $this->dbh->query($query) or die('Query failed1: ' . $this->dbh->errorInfo()); 102 …ast_name, email, is_superuser, is_staff FROM auth_user WHERE id=' . $this->dbh->quote($userid) . '… 104 …$result2 = $this->dbh->query($query2) or die('Query failed2: ' . print_r($this->dbh->errorInfo())); [all …]
|
| /plugin/magento/ |
| 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); 390 foreach( $dbh->query( $sql ) as $row ) { 395 $dbh = null; 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); 444 foreach( $dbh->query( $sql ) as $row ) { 449 $dbh = null; 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); [all …]
|
| /plugin/sql/ |
| D | DB.php | 4 public $dbh; variable in MDB3Statement 5 protected function __construct($dbh) { argument 6 $this->dbh = $dbh;
|
| /plugin/findologicxmlexport/vendor/twig/twig/doc/ |
| D | recipes.rst | 404 $dbh = new PDO('sqlite::memory:'); 405 $dbh->exec('CREATE TABLE templates (name STRING, source STRING, last_modified INTEGER)'); 412 …$dbh->prepare('INSERT INTO templates (name, source, last_modified) VALUES (?, ?, ?)')->execute(['b… 413 …$dbh->prepare('INSERT INTO templates (name, source, last_modified) VALUES (?, ?, ?)')->execute(['i… 422 protected $dbh; 424 public function __construct(PDO $dbh) 426 $this->dbh = $dbh; 470 $sth = $this->dbh->prepare('SELECT '.$column.' FROM templates WHERE name = :name'); 479 $loader = new DatabaseTwigLoader($dbh); 498 $loader1 = new DatabaseTwigLoader($dbh);
|