Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Data $catalogData, ScopeConfigInterface $scopeConfig, Json $json=null, Escaper $escaper=null) | |
getCategoryUrlSuffix () | |
isCategoryUsedInProductUrl () | |
getProductName () | |
getJsonConfigurationHtmlEscaped () | |
getJsonConfiguration () | |
![]() | |
__construct (array $data=[]) | |
addData (array $arr) | |
setData ($key, $value=null) | |
unsetData ($key=null) | |
getData ($key='', $index=null) | |
getDataByPath ($path) | |
getDataByKey ($key) | |
setDataUsingMethod ($key, $args=[]) | |
getDataUsingMethod ($key, $args=null) | |
hasData ($key='') | |
toArray (array $keys=[]) | |
convertToArray (array $keys=[]) | |
toXml (array $keys=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
convertToXml (array $arrAttributes=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
toJson (array $keys=[]) | |
convertToJson (array $keys=[]) | |
toString ($format='') | |
__call ($method, $args) | |
isEmpty () | |
serialize ($keys=[], $valueSeparator='=', $fieldSeparator=' ', $quote='"') | |
debug ($data=null, &$objects=[]) | |
offsetSet ($offset, $value) | |
offsetExists ($offset) | |
offsetUnset ($offset) | |
offsetGet ($offset) | |
Additional Inherited Members | |
![]() | |
_getData ($key) | |
_underscore ($name) | |
![]() | |
$_data = [] | |
![]() | |
static | $_underscoreCache = [] |
Product breadcrumbs view model.
Definition at line 20 of file Breadcrumbs.php.
__construct | ( | Data | $catalogData, |
ScopeConfigInterface | $scopeConfig, | ||
Json | $json = null , |
||
Escaper | $escaper = null |
||
) |
Data | $catalogData | |
ScopeConfigInterface | $scopeConfig | |
Json | null | $json | |
Escaper | null | $escaper | @SuppressWarnings(PHPMD.UnusedFormalParameter) |
Definition at line 46 of file Breadcrumbs.php.
getCategoryUrlSuffix | ( | ) |
getJsonConfiguration | ( | ) |
Returns breadcrumb json.
Definition at line 122 of file Breadcrumbs.php.
getJsonConfigurationHtmlEscaped | ( | ) |
Returns breadcrumb json with html escaped names
Definition at line 102 of file Breadcrumbs.php.
getProductName | ( | ) |
isCategoryUsedInProductUrl | ( | ) |
Checks if categories path is used for product URLs.
Definition at line 77 of file Breadcrumbs.php.