| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 217 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
StylesheetCompressor:: (10 methods):
encode()
buildDictionary()
estimateSavings()
filterSavings()
getAvailableKeys()
getCompressedStylesheet()
getPossibleKeys()
getReplacementRegexp()
getStringsFrequency()
getUnavailableKeys()
Class: StylesheetCompressor - X-Ref
| encode($xsl) X-Ref |
| Encode given stylesheet into a compact JavaScript representation param: string $xsl Original stylesheet return: string JavaScript representation of the compressed stylesheet |
| buildDictionary() X-Ref |
| Build a dictionary of all cost-effective string replacements return: void |
| estimateSavings() X-Ref |
| Estimate the savings of every possible string replacement return: void |
| filterSavings() X-Ref |
| Filter the savings according to the minSaving property return: void |
| getAvailableKeys() X-Ref |
| No description |
| getCompressedStylesheet() X-Ref |
| Return the stylesheet after dictionary replacements return: string |
| getPossibleKeys() X-Ref |
| Return a list of possible dictionary keys return: string[] |
| getReplacementRegexp() X-Ref |
| Return a regexp that matches all used dictionary keys return: string |
| getStringsFrequency() X-Ref |
| Return the frequency of all deduplicatable strings return: array Array of [string => frequency] |
| getUnavailableKeys() X-Ref |
| Return the list of possible dictionary keys that appear in the original stylesheet return: string[] |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |