TwigItemDataField
Namespace
Ceres\Extensions
Extends
Implements
Type | Name | Description |
---|---|---|
|
||
|
Methods
public __construct($twig)
TwigStyleScriptTagFilter constructor.
Type |
Name |
Description |
|
public getName():string
Return the name of the extension. The name must be unique.
public getFunctions():array
Return a list of functions to add.
public getFilters():array
Return a list of filters to add.
public setItemDataBase($itemData)
Type |
Name |
Description |
|
public formatAgeRestriction($age)
Type |
Name |
Description |
|
public formatDate($date)
Type |
Name |
Description |
|
public getGlobals():array
Return a map of global helper objects to add.
Thank you for your feedback!