Searched refs:dbh (Results 1 – 4 of 4) sorted by relevance
/plugin/authdjango/ |
H A D | auth.php | 18 var $dbh = null; // db handle variable in auth_plugin_authdjango 29 global $dbh; 38 $this->dbh = new PDO('sqlite:' . $this->getConf('server')); 55 global $dbh; 63 if (isset($_COOKIE['sessionid']) && $this->dbh) { 68 …$query = 'SELECT session_data FROM django_session WHERE session_key=' . $this->dbh->quote($s_id) .… 69 $result = $this->dbh->query($query) or die('Query failed1: ' . $this->dbh->errorInfo()); 79 …$result2 = $this->dbh->query($query2) or die('Query failed2: ' . print_r($this->dbh->errorInfo())); 108 $result = $this->dbh->query($query) or die('Query failed3: ' . $this->dbh->errorInfo()); 121 $result = $this->dbh->query($query) or die('Query failed4: ' . $this->dbh->errorInfo()); [all …]
|
/plugin/magento/ |
H A D | auth.php | 390 foreach( $dbh->query( $sql ) as $row ) { 395 $dbh = null; 444 foreach( $dbh->query( $sql ) as $row ) { 449 $dbh = null; 509 foreach( $dbh->query( $sql ) as $row ) { 514 $dbh = null; 544 $dbh = null; 577 $dbh = null; 611 $dbh = null; 667 $dbh = null; [all …]
|
/plugin/sql/ |
H A 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/ |
H A 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);
|