function _sourceLocation($doc) { if ($this->_doclet->includeSource()) { $url = strtolower(str_replace(DIRECTORY_SEPARATOR, '/', $doc->sourceFilename())); echo '<a href="', str_repeat('../', $this->_depth), 'source/', $url, '.html#line', $doc->sourceLine(), '" class="location">', $doc->location(), "</a>\n\n"; } else { echo '<div class="location">', $doc->location(), "</div>\n"; } }
function _sourceLocation($doc) { if ($this->_doclet->includeSource()) { $url = strtolower(str_replace(DIRECTORY_SEPARATOR, '/', $doc->sourceFilename())); return str_repeat('../', $this->_depth) . 'source/' . $url . '.html#line' . $doc->sourceLine() . '" class="location">' . $doc->location(); } else { return $doc->location(); } }