Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Member Functions
BackendPage Class Reference
Inheritance diagram for BackendPage:

Public Member Functions

 open (array $params=[])
 

Protected Member Functions

 initUrl ()
 

Detailed Description

Admin backend page.

@SuppressWarnings(PHPMD.NumberOfChildren)

Definition at line 15 of file BackendPage.php.

Member Function Documentation

◆ initUrl()

initUrl ( )
protected

Init page. Set page url

Returns
void

Definition at line 22 of file BackendPage.php.

23  {
24  $this->url = $_ENV['app_backend_url'] . static::MCA;
25  }

◆ open()

open ( array  $params = [])

Open backend page and log in if needed.

Parameters
array$params
Returns
$this

Definition at line 33 of file BackendPage.php.

34  {
35  Factory::getApp()->magentoBackendLoginUser();
36  return parent::open($params);
37  }
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
Definition: website.php:18

The documentation for this class was generated from the following file: