ScriptManager
in package
Table of Contents
- $isScriptDebug : bool
- $scriptDependencies : array<string|int, string>
- $styleDependencies : array<string|int, mixed>
- __construct() : mixed
- addDependency() : mixed
- addStyleDependency() : mixed
- enqueue() : mixed
- register() : mixed
- scriptUrl() : mixed
- getDatepickerLocale() : string
- locateDatepickFile() : string|false
- registerDatepickerLocalization() : mixed
- registerStyles() : mixed
Properties
$isScriptDebug
protected
bool
$isScriptDebug
= false
$scriptDependencies
protected
array<string|int, string>
$scriptDependencies
= array('jquery')
$styleDependencies
protected
array<string|int, mixed>
$styleDependencies
= array()
Methods
__construct()
public
__construct() : mixed
Return values
mixed —addDependency()
public
addDependency(mixed $dependency) : mixed
Parameters
- $dependency : mixed
Return values
mixed —addStyleDependency()
public
addStyleDependency(mixed $dependency) : mixed
Parameters
- $dependency : mixed
Return values
mixed —enqueue()
public
abstract enqueue() : mixed
Return values
mixed —register()
public
register() : mixed
Return values
mixed —scriptUrl()
public
scriptUrl(mixed $relativePath) : mixed
Parameters
- $relativePath : mixed
Return values
mixed —getDatepickerLocale()
protected
getDatepickerLocale([string $locale = null ]) : string
Parameters
- $locale : string = null
-
Optional.
Return values
string —locateDatepickFile()
protected
locateDatepickFile(string $theme) : string|false
Parameters
- $theme : string
Return values
string|false —registerDatepickerLocalization()
protected
registerDatepickerLocalization() : mixed
Return values
mixed —registerStyles()
protected
registerStyles() : mixed