/web-bugs/src/Repository/ |
H A D | DatabaseStatusRepository.php | 14 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 D | CommentRepository.php | 14 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 D | PullRequestRepository.php | 14 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 D | VoteRepository.php | 14 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 D | BugRepository.php | 14 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 D | ObsoletePatchRepository.php | 14 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 D | PatchRepository.php | 14 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 D | PackageRepository.php | 15 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 D | query.php | 91 $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 D | functions.php | 1054 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 D | prepend.php | 80 $dbh = $container->get(\PDO::class); variable
|
/web-bugs/src/Utils/ |
H A D | PatchTracker.php | 14 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 D | GitHub.php | 14 private $dbh; variable in App\\Utils\\GitHub
|
/web-bugs/www/ |
H A D | lstats.php | 14 global $phpver, $dbh; 26 $query.= " {$status} AND bug_type = 'Bug' AND package_name = " . $dbh->quote($category); 32 $res = $dbh->prepare($query)->execute([]);
|
H A D | bug-pwd-finder.php | 32 $row = $dbh->prepare($query)->execute()->fetch(); 42 $dbh->prepare(
|
H A D | vote.php | 71 $dbh->prepare(" 86 $dbh->prepare("UPDATE bugdb_votes
|
H A D | bug.php | 100 …$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 D | fix.php | 138 $dbh->prepare("
|
/web-bugs/scripts/cron/ |
H A D | no-feedback | 34 $dbh->prepare('
|