Home
last modified time | relevance | path

Searched refs:dbh (Results 1 – 19 of 19) sorted by relevance

/web-bugs/src/Repository/
H A DDatabaseStatusRepository.php14 private $dbh; variable in App\\Repository\\DatabaseStatusRepository
19 public function __construct(\PDO $dbh) argument
21 $this->dbh = $dbh;
26 return $this->dbh->query('SELECT version() mysql_version')->fetchColumn(0);
34 return $this->dbh->query('SHOW TABLES')->fetchAll(\PDO::FETCH_COLUMN);
47 $numberOfRowsPerTable[$tableName] = $this->dbh->query($sql)->fetchColumn(0);
58 return $this->dbh->query('SHOW TABLE STATUS')->fetchAll();
H A DCommentRepository.php14 private $dbh; variable in App\\Repository\\CommentRepository
19 public function __construct(\PDO $dbh) argument
21 $this->dbh = $dbh;
37 $statement = $this->dbh->prepare($sql);
60 $statement = $this->dbh->prepare($sql);
H A DPullRequestRepository.php14 private $dbh; variable in App\\Repository\\PullRequestRepository
19 public function __construct(\PDO $dbh) argument
21 $this->dbh = $dbh;
38 $statement = $this->dbh->prepare($sql);
H A DVoteRepository.php14 private $dbh; variable in App\\Repository\\VoteRepository
19 public function __construct(\PDO $dbh) argument
21 $this->dbh = $dbh;
31 $statement = $this->dbh->prepare($sql);
H A DBugRepository.php14 private $dbh; variable in App\\Repository\\BugRepository
24 public function __construct(\PDO $dbh) argument
26 $this->dbh = $dbh;
51 $statement = $this->dbh->prepare($sql);
71 $statement = $this->dbh->prepare($sql);
89 $statement = $this->dbh->query($sql);
114 $statement = $this->dbh->prepare($sql);
136 $statement = $this->dbh->prepare($sql);
163 $statement = $this->dbh->prepare($sql);
174 $statement = $this->dbh->prepare('SELECT 1 FROM bugdb WHERE id = ?');
H A DObsoletePatchRepository.php14 private $dbh; variable in App\\Repository\\ObsoletePatchRepository
19 public function __construct(\PDO $dbh) argument
21 $this->dbh = $dbh;
34 $statement = $this->dbh->prepare($sql);
50 $statement = $this->dbh->prepare($sql);
H A DPatchRepository.php14 private $dbh; variable in App\\Repository\\PatchRepository
25 public function __construct(\PDO $dbh, string $uploadsDir) argument
27 $this->dbh = $dbh;
42 $statement = $this->dbh->prepare($sql);
60 $statement = $this->dbh->prepare($sql);
77 $statement = $this->dbh->prepare($sql);
93 $statement = $this->dbh->prepare($sql);
H A DPackageRepository.php15 private $dbh; variable in App\\Repository\\PackageRepository
28 public function __construct(\PDO $dbh) argument
30 $this->dbh = $dbh;
49 $statement = $this->dbh->prepare($sql);
72 $statement = $this->dbh->prepare($sql);
137 $statement = $this->dbh->query($sql);
/web-bugs/include/
H A Dquery.php91 $items = array_map([$dbh, 'quote'], $package_name);
94 $where_clause .= ' = ' . $dbh->quote($package_name[0]);
101 $items = array_map([$dbh, 'quote'], $package_nname);
104 $where_clause .= ' <> ' . $dbh->quote($package_nname[0]);
203 $where_clause .= ' AND bugdb.assign = ' . $dbh->quote($assign);
207 $where_clause .= ' AND bugdb.email = ' . $dbh->quote($author_email);
210 $where_clause .= ' AND c.email = ' . $dbh->quote($commented_by);
218 $pseudo = array_map([$dbh, 'quote'], $pseudo);
221 $where_clause .= " = " . $dbh->quote(reset($pseudo));
224 $items = array_map([$dbh, 'quote'], array_keys($pseudo_pkgs));
[all …]
H A Dfunctions.php1054 global $dbh, $site_method, $site_url, $basedir;
1062 $res = $dbh->prepare("
1175 global $bug, $dbh, $bug_types, $versions;
1249 $res = $dbh->prepare('
1314 global $dbh;
1414 global $dbh;
1450 global $dbh;
1452 return $dbh->prepare("
1465 global $dbh;
1467 return $dbh->prepare("
[all …]
H A Dprepend.php80 $dbh = $container->get(\PDO::class); variable
/web-bugs/src/Utils/
H A DPatchTracker.php14 private $dbh; variable in App\\Utils\\PatchTracker
49 public function __construct(\PDO $dbh, Uploader $uploader, string $uploadsDir) argument
51 $this->dbh = $dbh;
118 $this->dbh->prepare($sql)->execute([$bugId, $patch, $revision, $developer]);
123 $this->dbh->prepare($sql)->execute([$bugId, $patch, $revision, $developer]);
224 $this->dbh->prepare($sql)->execute([$bugId, $name, $revision]);
237 … $this->dbh->prepare($sql)->execute([$bugId, $name, $revision, $obsoleteName, $obsoleteRevision]);
H A DGitHub.php14 private $dbh; variable in App\\Utils\\GitHub
/web-bugs/www/
H A Dlstats.php14 global $phpver, $dbh;
26 $query.= " {$status} AND bug_type = 'Bug' AND package_name = " . $dbh->quote($category);
32 $res = $dbh->prepare($query)->execute([]);
H A Dbug-pwd-finder.php32 $row = $dbh->prepare($query)->execute()->fetch();
42 $dbh->prepare(
H A Dvote.php71 $dbh->prepare("
86 $dbh->prepare("UPDATE bugdb_votes
H A Dbug.php100 …$dbh->prepare('REPLACE INTO bugdb_subscribe SET bug_id = ?, email = ?')->execute([$bug_id, $email]…
343 $dbh->prepare("
524 $dbh->prepare($query . "
1245 global $edit, $bug_id, $dbh, $is_trusted_developer, $logged_in;
1273 global $dbh;
1275 $dbh->prepare("DELETE FROM bugdb_comments WHERE bug='{$bug_id}' AND id='{$com_id}'")->execute();
H A Dfix.php138 $dbh->prepare("
/web-bugs/scripts/cron/
H A Dno-feedback34 $dbh->prepare('

Completed in 40 milliseconds