[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Class Minify_CommentPreserver
File Size: | 89 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Minify_CommentPreserver:: (2 methods):
process()
_nextComment()
Class: Minify_CommentPreserver - X-Ref
Process a string in pieces preserving C-style comments that begin with "/*!"process($content, $processor, $args = array() X-Ref |
Process a string outside of C-style comments that begin with "/*!" On each non-empty string outside these comments, the given processor function will be called. The comments will be surrounded by Minify_CommentPreserver::$preprend and Minify_CommentPreserver::$append. param: string $content param: callback $processor function param: array $args array of extra arguments to pass to the processor return: string |
_nextComment($in) X-Ref |
Extract comments that YUI Compressor preserves. param: string $in input return: array 3 elements are returned. If a YUI comment is found, the |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |