[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 242 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CodeExtension:: (12 methods):
__construct()
getFilters()
abbrClass()
abbrMethod()
formatArgs()
formatArgsAsText()
fileExcerpt()
formatFile()
getFileLink()
formatFileFromText()
getName()
fixCodeMarkup()
Class: CodeExtension - X-Ref
Twig extension relate to PHP code and used by the profiler and the default exception templates.__construct($fileLinkFormat, $rootDir, $charset) X-Ref |
param: string $fileLinkFormat The format for links to source files param: string $rootDir The project root directory param: string $charset The charset |
getFilters() X-Ref |
{@inheritdoc} |
abbrClass($class) X-Ref |
No description |
abbrMethod($method) X-Ref |
No description |
formatArgs($args) X-Ref |
Formats an array as a string. param: array $args The argument array return: string |
formatArgsAsText($args) X-Ref |
Formats an array as a string. param: array $args The argument array return: string |
fileExcerpt($file, $line) X-Ref |
Returns an excerpt of a code file around the given line number. param: string $file A file path param: int $line The selected line number return: string An HTML string |
formatFile($file, $line, $text = null) X-Ref |
Formats a file path. param: string $file An absolute file path param: int $line The line number param: string $text Use this text for the link rather than the file path return: string |
getFileLink($file, $line) X-Ref |
Returns the link for a given file/line pair. param: string $file An absolute file path param: int $line The line number return: string|false A link or false |
formatFileFromText($text) X-Ref |
No description |
getName() X-Ref |
{@inheritdoc} |
fixCodeMarkup($line) X-Ref |
No description |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |