ZurmoCssInUtil Class Reference

Public Member Functions

 setCombineStyleBlock ($combineStyleBlocks=true)
 setMoveStyleBlocksToBody ($moveStyleBlocksToBody=true)
 inlineCSS ($url, $contents=null)
 parseCSS ($text)
 getCSS ($url)

Static Public Member Functions

static calculateCSSSpecifity ($selector)
static splitMediaQueries ($css)
static absolutify ($pageUrl, $relativeUrl)

Protected Member Functions

 moveStyleBlocks ($html)
 stripOriginalStyleTags ($html)
 combineAndMoveStylesToBody ($styles, $html)
 combineAndMoveStylesToHead ($styles, $html)
 combineAndMoveStyles ($styles, $html, $moveToHead)
 resolveStyleBlockContent ()
 mergeStyles (Array $firstStyle, Array $secondStyle)
 processStylesCleanup ($html)

Protected Attributes

 $combineStyleBlocks = false
 $moveStyleBlocksToBody = false
 $html

Detailed Description

Definition at line 38 of file ZurmoCssInUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jul 18 07:11:12 2019