Detailed Description
Definition at line 19 of file HTML.php.
Constructor & Destructor Documentation
Create a minifier object
- Parameters:
-
| string | $html | |
| array | $options | 'cssMinifier' : (optional) callback function to process content of STYLE elements. |
'jsMinifier' : (optional) callback function to process content of SCRIPT elements. Note: the type attribute is ignored.
'xhtml' : (optional boolean) should content be treated as XHTML1.0? If unset, minify will sniff for an XHTML doctype.
- Returns:
- null
Definition at line 63 of file HTML.php.
Member Function Documentation
"Minify" an HTML page
- Parameters:
-
| string | $html | |
| array | $options | 'cssMinifier' : (optional) callback function to process content of STYLE elements. |
'jsMinifier' : (optional) callback function to process content of SCRIPT elements. Note: the type attribute is ignored.
'xhtml' : (optional boolean) should content be treated as XHTML1.0? If unset, minify will sniff for an XHTML doctype.
- Returns:
- string
Definition at line 39 of file HTML.php.
Minify the markeup given in the constructor
- Returns:
- string
Definition at line 83 of file HTML.php.
Field Documentation
$_cssMinifier = null [protected] |
$_isXhtml = null [protected] |
$_jsMinifier = null [protected] |
$_placeholders = array() [protected] |
$_replacementHash = null [protected] |
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/minify/lib/Minify/HTML.php