Lines Matching refs:id
9 public $id; variable in IckeNavigationItem
15 function __construct($id, $link, $isNamespace) { argument
16 $this->id = $id;
19 $this->class = $this->buildClass($id);
23 private function buildClass($id) { argument
24 $id = ltrim($id, ':');
25 $pos = strpos($id, ':');
26 if ($pos === false) return $id;
27 return substr($id, 0, $pos);
31 if (!$this->isNamespace) return $this->id;
32 return getNS($this->id);
52 foreach ($navigation as $id) {
53 if ($id === '') {
59 $link = $this->replaceUserPlaceholder($id);
74 $this->navigation[] = new IckeNavigationItem($id, $link, $isNamespace);
79 private function replaceUserPlaceholder($id) { argument
80 if(strstr($id,'%USER%') === false) {
81 return $id;
88 $id = str_replace('%USER%',$_SERVER['REMOTE_USER'],$id);
89 return $id;
92 private function translateId($id) { argument
95 $translatedId = $translation . ":$id";
99 return $id;
123 $namespace = $this->replaceUserPlaceholder(getNS($item->id));
139 private function getLocalizedPopup($id) { argument
141 if ($lang === '') return $id;
143 $local = "$lang:$id";
147 return $id;