Core setup class, setup instance holder
◆ __call()
OxidEsales\EshopCommunity\Setup\Core::__call |
( |
|
$sMethod, |
|
|
|
$aArgs |
|
) |
| |
Only used for convenience in UNIT tests by doing so we avoid writing extended classes for testing protected or private methods
- Parameters
-
string | $sMethod | Methods name |
array | $aArgs | Argument array |
- Exceptions
-
oxSystemComponentException | Throws an exception if the called method does not exist or is not accessable in current class |
- Returns
- string
◆ classExists()
OxidEsales\EshopCommunity\Setup\Core::classExists |
( |
|
$className | ) |
|
|
private |
Check if class exists. Ignore autoloader exceptions which might appear if database does not exist.
- Parameters
-
- Returns
- bool
◆ getClass()
OxidEsales\EshopCommunity\Setup\Core::getClass |
( |
|
$sInstanceName | ) |
|
|
protected |
Methods returns class according edition.
- Parameters
-
- Returns
- string
◆ getDatabaseInstance()
OxidEsales\EshopCommunity\Setup\Core::getDatabaseInstance |
( |
| ) |
|
|
protected |
◆ getInstance()
OxidEsales\EshopCommunity\Setup\Core::getInstance |
( |
|
$sInstanceName | ) |
|
Returns requested instance object
- Parameters
-
string | $sInstanceName | instance name |
- Returns
- Core
◆ getLanguageInstance()
OxidEsales\EshopCommunity\Setup\Core::getLanguageInstance |
( |
| ) |
|
|
protected |
◆ getSessionInstance()
OxidEsales\EshopCommunity\Setup\Core::getSessionInstance |
( |
| ) |
|
|
protected |
◆ getSetupInstance()
OxidEsales\EshopCommunity\Setup\Core::getSetupInstance |
( |
| ) |
|
|
protected |
◆ getUtilitiesInstance()
OxidEsales\EshopCommunity\Setup\Core::getUtilitiesInstance |
( |
| ) |
|
|
protected |
◆ userDecidedIgnoreDBWarning()
OxidEsales\EshopCommunity\Setup\Core::userDecidedIgnoreDBWarning |
( |
| ) |
|
|
protected |
Return true if user already decided to ignore database recommended version related warnings.
- Returns
- bool
◆ userDecidedOverwriteDB()
OxidEsales\EshopCommunity\Setup\Core::userDecidedOverwriteDB |
( |
| ) |
|
|
protected |
Return true if user already decided to overwrite database.
- Returns
- bool
◆ $_aInstances
OxidEsales\EshopCommunity\Setup\Core::$_aInstances = [] |
|
staticprotected |
The documentation for this class was generated from the following file: