Extension
- Type
- Class
- Namespace
- craft\commerce\web\twig
- Inherits
- craft\commerce\web\twig\Extension »
Twig\Extension\AbstractExtension
- Since
- 2.0
Class CommerceTwigExtension
View source (opens new window)
# Public Methods
Method | Description |
---|---|
getFilters() | |
getName() | |
jsonEncodeFiltered() | |
sanitize() |
# getFilters()
View source (opens new window)
# getName()
View source (opens new window)
Returns
# jsonEncodeFiltered()
DEPRECATED
Deprecated in 3.1.11.
View source (opens new window)
Arguments
$input
Returns
Throws
# sanitize()
View source (opens new window)
Arguments
$input
Returns
integer (opens new window), mixed