Lines Matching refs:new
119 protected function _nsStartCheck($relold, $new, $type) { argument
123 if($new == $conf['start']) {
124 $new = '.:';
125 } else if(substr($new, -1 * ($len + 1)) == ':' . $conf['start']) {
126 $new = substr($new, 0, -1 * $len);
129 return $new;
139 * @param string $new the new, full qualified ID
144 public function relativeLink($relold, $new, $type) { argument
156 if($old == $new) {
171 if($this->ns && !getNS($new)) $new = ':' . $new;
172 $new = $this->_nsStartCheck($relold, $new, $type);
173 return $new;
178 $goalpath = explode(':', getNS($new));
192 $newrel .= noNS($new);
200 if(strlen($newrel) > strlen($new)) {
201 $newrel = $new;
202 if($this->ns && !getNS($new)) $newrel = ':' . $newrel;