class AbstractScript (View source)

The ScriptManager class.

Properties

static callable|ScriptManager $instance Property asset.

Methods

static string
getJSObject(mixed $data)

getJSObject

static array
mergeOptions(array $options1, array $options2, bool $recursive = true)

mergeOptions

static mixed
__callStatic(string $method, array $args)

Handle dynamic, static calls to the object.

Details

at line line 145
static string getJSObject(mixed $data)

getJSObject

Parameters

mixed $data

Return Value

string

at line line 174
static array mergeOptions(array $options1, array $options2, bool $recursive = true)

mergeOptions

Parameters

array $options1
array $options2
bool $recursive

Return Value

array

at line line 187
static mixed __callStatic(string $method, array $args)

Handle dynamic, static calls to the object.

Parameters

string $method The method name.
array $args The arguments of method call.

Return Value

mixed