TwigJsonDataContainer
It creates script tags for each provided item, at one point.
Namespace
Ceres\Extensions
Extends
Implements
Type | Name | Description |
---|---|---|
|
The factory to render TWIG. |
|
|
Stored data used to create script tags. |
Methods
public __construct($twig)
TwigJsonDataContainer constructor.
Type |
Name |
Description |
|
The factory to render TWIG. |
public getName():string
Return the name of the extension.
public getFilters():array
Return a list of filters to add.
public getFunctions():array
Return a list of functions to add.
public getJsonData():string
Return a string, including a sequence of script tags (HTML) for each item in the property dataStorage.
public getGlobals():array
Return a map of global helper objects to add.
Thank you for your feedback!