IP.Board  3.3.0
Minify_CommentPreserver Class Reference

Static Public Member Functions

static process ($content, $processor, $args=array())

Static Public Attributes

static $append = "\n"
static $prepend = "\n"

Member Function Documentation

static process ( content,
processor,
args = array() 
) [static]

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.

Parameters:
string$content
callback$processorfunction
array$argsarray of extra arguments to pass to the processor function (default = array())
Returns:
string

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables