Class Js
- MvcCore\Ext\View\Helpers\Assets
-
MvcCore\Ext\View\Helpers\Js
Namespace: MvcCore\Ext\View\Helpers
Located at ext-view-helper-assets/src/MvcCore/Ext/View/Helpers/Js.php
Located at ext-view-helper-assets/src/MvcCore/Ext/View/Helpers/Js.php
public
|
|
public
boolean
|
|
public
|
#
AppendExternal( string $path = '', boolean $async = FALSE, boolean $defer = FALSE, boolean $doNotMinify = FALSE )
Append script after all group scripts for later render process with downloading external content |
public
|
#
PrependExternal( string $path = '', boolean $async = FALSE, boolean $defer = FALSE, boolean $doNotMinify = FALSE )
Prepend script before all group scripts for later render process with downloading external content |
public
|
#
OffsetExternal( integer $index = 0, string $path = '', boolean $async = FALSE, boolean $defer = FALSE, boolean $doNotMinify = FALSE )
Add script into given index of scripts group array for later render process with downloading external content |
public
|
|
public
|
|
public
|
|
public
string
|
integer |
EXTERNAL_MIN_CACHE_TIME
Whatever Expires header is send over http protocol, minimal cache time for external files will be one day from last download |
#
86400
|
FILE_MODIFICATION_DATE_FORMAT,
GROUP_NAME_DEFAULT,
VERSION
|
public static
callable
|
$MinifyCallable
Array with full class name and public method accepted as first param javascript code and returning minified code |
#
array('\JSMin', 'minify')
|
protected static
array
|
$scriptsGroupContainer
Array with all defined files to create specific script tags |
#
array()
|
$actualGroupName,
$appRoot,
$assetsUrlCompletion,
$basePath,
$fileChecking,
$fileRendering,
$globalOptions,
$logingAndExceptions,
$streamWrapper,
$systemConfigHash,
$tmpDir,
$view
|