![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-backend/Model/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Backend\Model; /** * @api * @since 100.0.2 */ interface UrlInterface extends \Magento\Framework\UrlInterface { /** * Secret key query param name */ const SECRET_KEY_PARAM_NAME = 'key'; /** * xpath to startup page in configuration */ const XML_PATH_STARTUP_MENU_ITEM = 'admin/startup/menu_item_id'; /** * Generate secret key for controller and action based on form key * * @param string $routeName * @param string $controller Controller name * @param string $action Action name * @return string */ public function getSecretKey($routeName = null, $controller = null, $action = null); /** * Return secret key settings flag * * @return bool */ public function useSecretKey(); /** * Enable secret key using * * @return \Magento\Backend\Model\UrlInterface */ public function turnOnSecretKey(); /** * Disable secret key using * * @return \Magento\Backend\Model\UrlInterface */ public function turnOffSecretKey(); /** * Refresh admin menu cache etc. * * @return \Magento\Backend\Model\UrlInterface */ public function renewSecretUrls(); /** * Find admin start page url * * @return string */ public function getStartupPageUrl(); /** * Set custom auth session * * @param \Magento\Backend\Model\Auth\Session $session * @return \Magento\Backend\Model\UrlInterface */ public function setSession(\Magento\Backend\Model\Auth\Session $session); /** * Return backend area front name, defined in configuration * * @return string */ public function getAreaFrontName(); /** * Find first menu item that user is able to access * * @return string */ public function findFirstAvailableMenu(); }