Метод | Описание | |
---|---|---|
getFilters ( ) : Array | Return an array of twig filters | |
getGlobals ( ) : Array | Inject into the template scope a read-only copy of Minimee's runtime settings | |
getName ( ) : String | Name of our twig filter | |
minimeeFilter ( String $html, Array $settings = [] ) : String | Define our filter |
Метод | Описание | |
---|---|---|
detectType ( $html = '' ) | Quick string detection to determine type | |
pregMatchAssetsByType ( $type, $haystack ) : boolean | array | Helper function to parse content looking for CSS and JS tags. |
protected detectType ( $html = '' ) |
public getFilters ( ) : Array | ||
Результат | Array |
public getGlobals ( ) : Array | ||
Результат | Array |
public minimeeFilter ( String $html, Array $settings = [] ) : String | ||
$html | String | |
$settings | Array | |
Результат | String |
protected pregMatchAssetsByType ( $type, $haystack ) : boolean | array | ||
Результат | boolean | array | Array of found matches, or false if none |