[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 268 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CodeExtension:: (13 methods):
__construct()
getFilters()
abbrClass()
abbrMethod()
formatArgs()
formatArgsAsText()
fileExcerpt()
formatFile()
getFileLink()
formatFileFromText()
formatLogMessage()
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|FileLinkFormatter $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, $srcContext = 3) 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 param: int $srcContext The number of displayed lines around or -1 for the whole file 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 |
formatLogMessage($message, array $context) X-Ref |
getName() X-Ref |
{@inheritdoc} |
fixCodeMarkup($line) X-Ref |
No description |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |