Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Backend\App\Action\Context $context, \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator $productUrlPathGenerator, \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator $categoryUrlPathGenerator, \Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator $cmsPageUrlPathGenerator, UrlFinderInterface $urlFinder) | |
![]() | |
__construct (Action\Context $context) | |
dispatch (\Magento\Framework\App\RequestInterface $request) | |
_processUrlKeys () | |
getUrl ($route='', $params=[]) | |
![]() | |
__construct (Context $context) | |
dispatch (RequestInterface $request) | |
getActionFlag () | |
![]() | |
__construct (Context $context) | |
dispatch (RequestInterface $request) | |
getRequest () | |
getResponse () | |
![]() | |
execute () | |
Protected Member Functions | |
_handleCatalogUrlRewrite ($model) | |
getTargetPath ($model) | |
getCanonicalTargetPath () | |
![]() | |
_getCategory () | |
_getProduct () | |
_getCmsPage () | |
_getUrlRewrite () | |
![]() | |
_isAllowed () | |
_getSession () | |
getMessageManager () | |
_addBreadcrumb ($label, $title, $link=null) | |
_addContent (\Magento\Framework\View\Element\AbstractBlock $block) | |
_addLeft (\Magento\Framework\View\Element\AbstractBlock $block) | |
_addJs (\Magento\Framework\View\Element\AbstractBlock $block) | |
_isUrlChecked () | |
_processLocaleSettings () | |
_redirect ($path, $arguments=[]) | |
_forward ($action, $controller=null, $module=null, array $params=null) | |
_validateSecretKey () | |
![]() | |
_forward ($action, $controller=null, $module=null, array $params=null) | |
_redirect ($path, $arguments=[]) | |
Protected Attributes | |
$productUrlPathGenerator | |
$categoryUrlPathGenerator | |
$cmsPageUrlPathGenerator | |
$urlFinder | |
![]() | |
$_product | |
$_category | |
$_cmsPage | |
$_urlRewrite | |
![]() | |
$_publicActions = [] | |
$_sessionNamespace = self::SESSION_NAMESPACE | |
$_helper | |
$_session | |
$_authorization | |
$_auth | |
$_backendUrl | |
$_localeResolver | |
$_canUseBaseUrl | |
$_formKeyValidator | |
![]() | |
$_objectManager | |
$_sessionNamespace | |
$_eventManager | |
$_actionFlag | |
$_redirect | |
$_view | |
$_url | |
$messageManager | |
![]() | |
$_request | |
$_response | |
$resultRedirectFactory | |
$resultFactory | |
Additional Inherited Members | |
![]() | |
const | ADMIN_RESOURCE = 'Magento_UrlRewrite::urlrewrite' |
const | ENTITY_TYPE_CUSTOM = 'custom' |
const | ENTITY_TYPE_PRODUCT = 'product' |
const | ENTITY_TYPE_CATEGORY = 'category' |
const | ENTITY_TYPE_CMS_PAGE = 'cms-page' |
![]() | |
const | FLAG_IS_URLS_CHECKED = 'check_url_settings' |
const | SESSION_NAMESPACE = 'adminhtml' |
const | ADMIN_RESOURCE = 'Magento_Backend::admin' |
![]() | |
const | FLAG_NO_DISPATCH = 'no-dispatch' |
const | FLAG_NO_POST_DISPATCH = 'no-postDispatch' |
const | FLAG_NO_DISPATCH_BLOCK_EVENT = 'no-beforeGenerateLayoutBlocksDispatch' |
const | PARAM_NAME_BASE64_URL = 'r64' |
const | PARAM_NAME_URL_ENCODED = 'uenc' |
__construct | ( | \Magento\Backend\App\Action\Context | $context, |
\Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator | $productUrlPathGenerator, | ||
\Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator | $categoryUrlPathGenerator, | ||
\Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator | $cmsPageUrlPathGenerator, | ||
UrlFinderInterface | $urlFinder | ||
) |
\Magento\Backend\App\Action\Context | $context | |
\Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator | $productUrlPathGenerator | |
\Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator | $categoryUrlPathGenerator | |
\Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator | $cmsPageUrlPathGenerator | |
UrlFinderInterface | $urlFinder |
Definition at line 44 of file Save.php.
|
protected |
Override urlrewrite data, basing on current category and product
\Magento\UrlRewrite\Model\UrlRewrite | $model |
Definition at line 65 of file Save.php.
|
protected |
Definition at line 113 of file Save.php.
|
protected |
Get Target Path
\Magento\UrlRewrite\Model\UrlRewrite | $model |
Definition at line 88 of file Save.php.