Lines Matching refs:new
101 protected function _nsStartCheck($relold, $new, $type) { argument
105 if($new == $conf['start']) {
106 $new = '.:';
107 } else if(substr($new, -1 * ($len + 1)) == ':' . $conf['start']) {
108 $new = substr($new, 0, -1 * $len);
111 return $new;
121 * @param string $new the new, full qualified ID
126 public function relativeLink($relold, $new, $type) { argument
138 if($old == $new) {
153 if($this->ns && !getNS($new)) $new = ':' . $new;
154 $new = $this->_nsStartCheck($relold, $new, $type);
155 return $new;
160 $goalpath = explode(':', getNS($new));
174 $newrel .= noNS($new);
182 if(strlen($newrel) > strlen($new)) {
183 $newrel = $new;
184 if($this->ns && !getNS($new)) $newrel = ':' . $newrel;