/web-bugs/src/Container/ |
H A D | Container.php | 55 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 D | ContainerInterface.php | 13 * @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 D | index.php | 15 $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 D | vote.php | 11 $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 D | error.php | 11 $id = !empty($_GET['id']) ? (int) $_GET['id'] : 0; variable 12 if ($id) { 13 redirect("bug.php?id={$id}");
|
H A D | bug.php | 1142 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 D | VoteRepository.php | 27 public function findOneByIdAndIp(int $id, string $ip): array argument 32 $statement->execute([$id, $ip]);
|
H A D | CommentRepository.php | 27 public function findByBugId(int $id): array argument 38 $statement->execute([$id]);
|
H A D | BugRepository.php | 32 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 D | ReasonRepository.php | 115 'id' => '13', 132 'id' => '14',
|
H A D | PackageRepository.php | 91 $id = $node['id']; 93 $nodes[$id] =& $node;
|
/web-bugs/sql/ |
H A D | fixtures.sql | 3 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 D | schema.sql | 6 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 D | Markdown.Converter.js | 1154 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 D | style.css | 596 input[id^="direction"] + label, 597 input[id^="boolean"] + label {
|
/web-bugs/include/ |
H A D | functions.php | 818 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…
|