Lines Matching refs:id
40 [$id, $title] = \helper_plugin_struct::decodeJson($value);
42 $id = $value;
43 $title = $id; // cannot be empty or internallink() might hijack %pageid% and use headings
46 if (!$id) return true;
48 $R->internallink(":$id", $title);
89 foreach ($data as $id => $title) {
90 if (!empty($filter) && !$this->filterMatch($id, $filter)) {
94 $name = $title . ' (' . $id . ')';
96 $ns = getNS($id);
98 $name = noNS($id) . ' (' . $ns . ')';
100 $name = $id;
106 'value' => $id
217 * Check if the given id matches a configured filter pattern
219 * @param string $id
223 public function filterMatch($id, $filter)
231 $check = preg_match('/' . $filter . '/', ':' . $id, $matches);