|
Moodle
2.2.1
http://www.collinsharper.com
|
Static Public Member Functions | |
| static | process ($content, $processor, $args=array()) |
Static Public Attributes | |
| static | $prepend = "\n" |
| static | $append = "\n" |
Definition at line 13 of file CommentPreserver.php.
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 first "!" will be removed from the preserved comments, and the comments will be surrounded by Minify_CommentPreserver::$preprend and Minify_CommentPreserver::$append.
| string | $content | |
| callback | $processor | function |
| array | $args | array of extra arguments to pass to the processor function (default = array()) |
Definition at line 43 of file CommentPreserver.php.

$append = "\n" [static] |
Definition at line 27 of file CommentPreserver.php.
$prepend = "\n" [static] |
Definition at line 20 of file CommentPreserver.php.