Properties

$jquery_ui_dependencies

$jquery_ui_dependencies : 

Type

$js_def

$js_def : array

Type

array — list of javascript definitions

$inline_script

$inline_script : array

Type

array — list of javascript inline scripts

$inline_script_src

$inline_script_src : array

Type

array — list of javascript external scripts

Methods

minifyHTML()

minifyHTML(  $html_content) 

Parameters

$html_content

minifyHTMLpregCallback()

minifyHTMLpregCallback(  $preg_matches) 

Parameters

$preg_matches

packJSinHTML()

packJSinHTML(  $html_content) 

Parameters

$html_content

packJSinHTMLpregCallback()

packJSinHTMLpregCallback(  $preg_matches) 

Parameters

$preg_matches

packJS()

packJS(  $js_content) 

Parameters

$js_content

minifyCSS()

minifyCSS(  $css_content,   $fileuri = false,   $import_url = array()) 

Parameters

$css_content
$fileuri
$import_url

getJSPath()

getJSPath(mixed  $js_uri) : string

addJS return javascript path

Parameters

mixed $js_uri

Returns

string

getCSSPath()

getCSSPath(mixed  $css_uri, string  $css_media_type = 'all', boolean  $need_rtl = true) : string

addCSS return stylesheet path.

Parameters

mixed $css_uri
string $css_media_type
boolean $need_rtl

Returns

string

getMediaPath()

getMediaPath(  $media_uri,   $css_media_type = null) 

Parameters

$media_uri
$css_media_type

getJqueryPath()

getJqueryPath(mixed  $version = null,   $folder = null,   $minifier = true) : string

return jquery path.

Parameters

mixed $version
$folder
$minifier

Returns

string

getJqueryUIPath()

getJqueryUIPath(mixed  $component,   $theme,   $check_dependencies) : string

return jqueryUI component path.

Parameters

mixed $component
$theme
$check_dependencies

Returns

string

getJqueryPluginPath()

getJqueryPluginPath(mixed  $name,   $folder = null) : string|boolean

return jquery plugin path.

Parameters

mixed $name
$folder

Returns

string|boolean

getJqueryPluginCSSPath()

getJqueryPluginCSSPath(mixed  $name,   $folder = null) : string|boolean

return jquery plugin css path if exist.

Parameters

mixed $name
$folder

Returns

string|boolean

cccCss()

cccCss(  $css_files) : array

Combine Compress and Cache CSS (ccc) calls

Parameters

$css_files

Returns

array —

processed css_files

getBackTrackLimit()

getBackTrackLimit() 

cccJS()

cccJS(  $js_files) : array

Combine Compress and Cache (ccc) JS calls

Parameters

$js_files

Returns

array —

processed js_files

clearCache()

clearCache() 

getJsDef()

getJsDef() 

getInlineScript()

getInlineScript() 

addJsDef()

addJsDef(mixed  $js_def) : void

Add a new javascript definition at bottom of page

Parameters

mixed $js_def

addJsDefL()

addJsDefL(  $params,   $content,   $smarty = null,   $repeat = false) : void

Add a new javascript definition from a capture at bottom of page

Parameters

$params
$content
$smarty
$repeat

deferInlineScripts()

deferInlineScripts(  $output) 

Parameters

$output

deferScript()

deferScript(  $matches) 

Parameters

$matches