|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct ($server, $projectRoot='') | |
| getUrl () | |
| getProjectUrl () | |
| getProjectAdminPath () | |
| getDir ($projectRoot) | |
| isAvailable () | |
Data Fields | |
| const | PARAM_NOT_INSTALLED_URL_PATH = 'MAGE_NOT_INSTALLED_URL_PATH' |
| const | PARAM_NOT_INSTALLED_URL = 'MAGE_NOT_INSTALLED_URL' |
| const | DEFAULT_PATH = 'setup' |
A model for determining information about setup application
Definition at line 14 of file SetupInfo.php.
| __construct | ( | $server, | |
$projectRoot = '' |
|||
| ) |
Constructor
| array | $server | |
| string | $projectRoot |
Definition at line 56 of file SetupInfo.php.
| getDir | ( | $projectRoot | ) |
Gets setup application directory path in the filesystem
| string | $projectRoot |
Definition at line 136 of file SetupInfo.php.
| getProjectAdminPath | ( | ) |
Get the admin area path
Definition at line 125 of file SetupInfo.php.
| getProjectUrl | ( | ) |
Gets the "main" application URL
Definition at line 109 of file SetupInfo.php.
| getUrl | ( | ) |
Gets setup application URL
Definition at line 96 of file SetupInfo.php.
| isAvailable | ( | ) |
Checks if the setup application is available in current document root
Definition at line 146 of file SetupInfo.php.
| const DEFAULT_PATH = 'setup' |
#- Default path relative to the project root
Definition at line 26 of file SetupInfo.php.
| const PARAM_NOT_INSTALLED_URL = 'MAGE_NOT_INSTALLED_URL' |
Definition at line 20 of file SetupInfo.php.
| const PARAM_NOT_INSTALLED_URL_PATH = 'MAGE_NOT_INSTALLED_URL_PATH' |
#+ Initialization parameters for redirecting if the application is not installed
Definition at line 19 of file SetupInfo.php.