Lines Matching refs:this

19         $this->index = array();
31 return count($this->index);
38 return array_keys($this->index);
45 return array_key_exists($index, $this->index) ? $this->index[$index] : array();
52 ksort($this->index);
66 $this->namespace = $namespace;
67 $this->data = $data;
74 return $this->namespace->getName();
81 return $this->data;
96 $this->page = $page;
111 $index = $namespace->getStyleIndex($this->page->findParentNamespace($parent));
113 $this->index[$index][] = $style;
122 $this->sortByDefaultInheritance();
123 $this->sortByExplicitInheritance();
130 foreach ($this->index as &$index) {
145 foreach ($this->index as &$index) {
201 return array_key_exists('inherit', $this->data);
208 return $this->isDerived() ? $this->data['inherit'] : '';
219 $this->index[$namespace->getMappingIndex()][] = new refnotes_namespace_data($namespace, $data);
279 $this->name = $name;
280 $this->style = array();
281 $this->renderer = NULL;
282 $this->scope = array();
283 $this->newScope = true;
286 $this->style = $parent->style;
294 return $this->name;
301 return count($this->scope);
308 $this->style = $source->style;
309 $this->renderer = NULL;
316 $this->style = array_merge($this->style, $style);
317 $this->renderer = NULL;
324 return array_key_exists($name, $this->style) ? $this->style[$name] : '';
331 if ($this->renderer == NULL) {
332 $this->renderer = new refnotes_renderer($this);
335 return $this->renderer;
342 $index = count($this->scope) + $index;
344 return ($index >= 0) ? $this->scope[$index] : new refnotes_scope_mock();
351 return $this->getScope(-2);
358 return $this->getScope(-1);
365 if ($this->newScope) {
366 $this->scope[] = new refnotes_scope($this, count($this->scope) + 1);
367 $this->newScope = false;
370 return $this->getCurrentScope();
377 if (!$this->getCurrentScope()->isOpen()) {
378 $this->scope[] = new refnotes_scope(NULL, 0, $callIndex);
387 $this->markScopeStart($callIndex - 1);
388 $this->getCurrentScope()->getLimits()->end = $callIndex;
396 for ($i = count($this->scope) - 1; $i >= 0; $i--) {
397 $scopeEnd = $this->scope[$i]->getLimits()->end;
411 $previousEnd = $this->getPreviousScope()->getLimits()->end;
412 $currentStart = $this->getCurrentScope()->getLimits()->start;
422 return $this->getPreviousScope()->getLimits()->end + 1;
429 $this->resetScope();
431 if (count($this->scope) > 0) {
432 $html = $this->getCurrentScope()->rewriteReferences($limit);
440 $this->resetScope();
443 if (count($this->scope) > 0) {
444 $doc = $this->getCurrentScope()->renderNotes($mode, $limit);
454 switch ($this->getStyle('scoping')) {
459 $this->newScope = true;