Home
last modified time | relevance | path

Searched refs:id (Results 1 – 16 of 16) sorted by relevance

/web-bugs/src/Container/
H A DContainer.php55 public function get(string $id) argument
57 if (!$this->has($id)) {
61 if (!isset($this->store[$id])) {
62 $this->store[$id] = $this->createEntry($id);
65 return $this->store[$id];
71 public function has(string $id): bool argument
73 return isset($this->entries[$id]);
81 private function createEntry(string $id) argument
83 $entry = &$this->entries[$id];
93 } elseif (class_exists($id) && isset($this->locks[$id])) {
[all …]
H A DContainerInterface.php13 * @param string $id identifier of the entry to look for
20 public function get(string $id); argument
29 * @param string $id identifier of the entry to look for
33 public function has(string $id): bool; argument
/web-bugs/www/
H A Dindex.php15 $id = (int) ($_GET['id'] ?? 0); variable
17 if (0 !== $id) {
18 redirect('bug.php?id='.$id);
22 $id = $container->get(BugRepository::class)->findRandom(); variable
23 redirect('bug.php?id='.$id[0]);
H A Dvote.php11 $id = isset($_POST['id']) ? (int) $_POST['id'] : 0; variable
12 if (empty($id)) {
28 if (!$container->get(BugRepository::class)->exists($id)) {
35 display_bug_error("No such bug #{$id}");
69 if (empty($container->get(VoteRepository::class)->findOneByIdAndIp($id, $ip))) {
74 {$id}, {$ip}, {$score}, " .
83 redirect("bug.php?id=$id&thanks=6");
95 $id,
101 redirect("bug.php?id=$id&thanks=10");
H A Derror.php11 $id = !empty($_GET['id']) ? (int) $_GET['id'] : 0; variable
12 if ($id) {
13 redirect("bug.php?id={$id}");
H A Dbug.php1142 foreach ($history_tabs as $id => $label)
1144 $class_extra = ($id == $active_history_tab) ? 'active' : '';
1145 …echo "<span id='{$id}' class='control {$class_extra}' onclick='do_comment(this);'>{$label}</span>";
/web-bugs/src/Repository/
H A DVoteRepository.php27 public function findOneByIdAndIp(int $id, string $ip): array argument
32 $statement->execute([$id, $ip]);
H A DCommentRepository.php27 public function findByBugId(int $id): array argument
38 $statement->execute([$id]);
H A DBugRepository.php32 public function findOneById(int $id): array argument
52 $statement->execute([$id]);
172 public function exists(int $id): bool argument
175 $statement->execute([$id]);
H A DReasonRepository.php115 'id' => '13',
132 'id' => '14',
H A DPackageRepository.php91 $id = $node['id'];
93 $nodes[$id] =& $node;
/web-bugs/sql/
H A Dfixtures.sql3 INSERT INTO bugdb_pseudo_packages SET id = '1', parent = '0', name = 'Web Site', long_name = 'Web…
4 INSERT INTO bugdb_pseudo_packages SET id = '2', parent = '1', name = 'Bug System', long_name = 'Bug…
H A Dschema.sql6 id int(8) NOT NULL auto_increment, field
25 PRIMARY KEY (id),
33 id int(8) NOT NULL auto_increment, field
41 PRIMARY KEY (id),
42 KEY bug (bug,id,ts),
64 id int(11) NOT NULL auto_increment, field
71 PRIMARY KEY (id),
76 id int(11) NOT NULL auto_increment, field
84 PRIMARY KEY (id)
/web-bugs/www/js/
H A DMarkdown.Converter.js1154 grafsOut[i] = grafsOut[i].replace(/~K(\d+)K/g, function (wholeMatch, id) { argument
1156 return g_html_blocks[id];
/web-bugs/www/css/
H A Dstyle.css596 input[id^="direction"] + label,
597 input[id^="boolean"] + label {
/web-bugs/include/
H A Dfunctions.php818 function mail_bug_updates($bug, $in, $from, $ncomment, $edit = 1, $id = false) argument
828 …ms) = get_package_mail(oneof(@$in['package_name'], $bug['package_name']), $id, oneof(@$in['bug_typ…

Completed in 28 milliseconds