JSConfig::add
Add a datum to the data array under the name of $key.
If we have already inserted, then directly insert to the DOM.
Signature
public function add(string
$key,
mixed
$data,
[boolean
$forceObject = true] )
Parameters
$key
— string$data
— mixed$forceObject
— boolean
Returns
- void