Lines Matching refs:namespace
25 abstract public function add($namespace, $data);
59 protected $namespace;
65 public function __construct($namespace, $data) {
66 $this->namespace = $namespace;
74 return $this->namespace->getName();
102 public function add($namespace, $data) {
103 $style = new refnotes_namespace_style_info($namespace, $data);
106 if (($parent == '') && ($namespace->getScopesCount() == 1)) {
108 $parent = refnotes_namespace::getParentName($namespace->getName());
111 $index = $namespace->getStyleIndex($this->page->findParentNamespace($parent));
131 $namespace = array();
134 $namespace[] = $style->getNamespace();
137 array_multisort($namespace, SORT_ASC, $index);
218 public function add($namespace, $data) {
219 $this->index[$namespace->getMappingIndex()][] = new refnotes_namespace_data($namespace, $data);
246 * Returns canonic name for a namespace
253 * Returns name of the parent namespace
260 * Splits full note name into namespace and name components
265 $namespace = self::canonizeName(substr($name, 0, $pos));
269 $namespace = ':';
272 return array($namespace, $name);
328 * Defer creation of renderer until namespace style is set.