Lines Matching refs:index
13 protected $index;
19 $this->index = array();
31 return count($this->index);
38 return array_keys($this->index);
44 public function getAt($index) {
45 return array_key_exists($index, $this->index) ? $this->index[$index] : array();
52 ksort($this->index);
111 $index = $namespace->getStyleIndex($this->page->findParentNamespace($parent));
113 $this->index[$index][] = $style;
130 foreach ($this->index as &$index) {
133 foreach ($index as $style) {
137 array_multisort($namespace, SORT_ASC, $index);
145 foreach ($this->index as &$index) {
149 foreach ($index as $style) {
189 $index = $sorted;
219 $this->index[$namespace->getMappingIndex()][] = new refnotes_namespace_data($namespace, $data);
341 private function getScope($index) {
342 $index = count($this->scope) + $index;
344 return ($index >= 0) ? $this->scope[$index] : new refnotes_scope_mock();