function getNicePathToPid($funcURL) { if ( $this->pid() != 0) { $xt = new WfsCategory($this->pid()); $ret = $xt->getNicePathToPid($funcURL). " >> <a href='".$funcURL.$this->pid()."'>".$xt->title()."</a>"; return $ret; } else { return ""; } }