category
|
System
|
package
|
Precheck
|
Methods
Precheck constructor.
__construct(\CI_DB_query_builder $db, \KeyValueCollection $settings)
Arguments
$db
\CI_DB_query_builder
Database query builder.
Verifies that the settings collection parameter contains all necessary entries.
_checkSettings(\KeyValueCollection $settings)
Needed keys are:
- shopVersion (Current shop version - coming from release info)
- DIR_FS_CATALOG (Value from configure.php)
- HTTP_SERVER (Value from configure.php)
- DIR_WS_CATALOG (Value from configure.php)
protected
|
|
|
|
Throws |
- \InvalidArgumentException
On missing key.
|
Arguments
Loads the configuration from the database and returns it as collection.
_getConfigurationValues() : \KeyValueCollection
Determines if the foreign module Cateno Shopsync is installed.
_hasForeignModuleCatenoShopsync() : boolean
Determines if the foreign module PDF Katalog (Estelco) is installed.
_hasForeignModuleEstelcoPdfCatalog() : boolean
Determines if the foreign module Blog (Indiv Style) is installed.
_hasForeignModuleIndivStyleBlog() : boolean
Determines if the foreign module Gratisartikel (Indiv Style) - Free products is installed.
_hasForeignModuleIndivStyleFreeProducts() : boolean
Determines if the foreign module Offene Warenkörbe (Indiv Style) - Open cart is installed.
_hasForeignModuleIndivStyleOpenCart() : boolean
Determines if the foreign module JTL Wawi Connector is installed.
_hasForeignModuleJtlWawiConnector() : boolean
Determines if the foreign module Open Cart (Offene Warenkörbe) is installed.
_hasForeignModuleOpenCart() : boolean
Determines if the foreign module Orgamax is installed.
_hasForeignModuleOrgamax() : boolean
Performs a recursive glob search.
_recursiveGlobSearch(string $pattern, integer $flags) : array
Arguments
$pattern
string
Glob search pattern.
$flags
integer
Glob search flags.
Response
array
Returns the name of the currently used template.
getActiveTemplate() : string
Returns an array of additional installed templates (template name).
getAdditionalTemplates() : array
Returns the installed foreign languages.
getForeignLanguages() : array
Returns the installed foreign languages.
getForeignModules() : array
Returns an array of foreign installed order total modules.
getForeignOrderTotalModules(array $defaultModules) : array
Throws |
- \InvalidArgumentException
On empty array.
|
Arguments
$defaultModules
array
List of default order total modules (note, that a file path has to be
relative to the order_total directory).
Response
array
Returns an array of foreign installed payment modules.
getForeignPaymentModules(array $defaultModules) : array
Throws |
- \InvalidArgumentException
On empty array.
|
Arguments
$defaultModules
array
List of default payment modules (note, that a file path has to be
relative to the payment directory).
Response
array
Returns an array of foreign installed shipping modules.
getForeignShippingModules(array $defaultModules) : array
Throws |
- \InvalidArgumentException
On empty array.
|
Arguments
$defaultModules
array
List of default shipping modules (note, that a file path has to be
relative to the shipping directory).
Response
array
Returns an array of MobileCandy usermods found.
getMobileCandyUsermods() : array
Returns the running MySQL version number.
getMysqlVersion() : string
Returns the running PHP version number.
getPhpVersion() : string
Returns the server address.
getServerAddress() : string
Returns the server's operating system.
getServerOs() : string
Returns the shop's URL.
getShopUrl() : string
Returns the installed shop version.
getShopVersion() : string
Returns an array of custom user components.
getUserComponents() : array
Returns an array of usermods found.
getUsermods() : array
Determines if there is a global usermod directory.
hasGlobalUsermodDir() : boolean
Determines if cUrl is available on this platform.
isCurlEnabled() : boolean
Determines if the MobileCandy template is installed.
isInstalledMobileCandy() : boolean
Determines if the installed MySQL version is above the minimum version required.
isMySqlVersionAboveMinimum() : boolean
If true, the result is positive.
Response
boolean
Determines if the installed MySQL version is below the maximum version required.
isMySqlVersionBelowMaximum() : boolean
If true, the result is positive.
Response
boolean
Determines if the installed PHP version is above the minimum version required.
isPhpVersionAboveMinimum() : boolean
If true, the result is positive.
Response
boolean
Determines if the installed PHP version is below the maximum version required.
isPhpVersionBelowMaximum() : boolean
If true, the result is positive.
Response
boolean
Determines if the server is running on windows operating system.
isUsingWindowsOs() : boolean
Properties
Minimum PHP version required.
minPhpVersion : string
Maximum PHP version required.
maxPhpVersion : string
Minimum MySQL version required.
minMysqlVersion : string
Minimum MySQL version required.
maxMysqlVersion : string
Database query builder.
db : \CI_DB_query_builder
Type(s)
\CI_DB_query_builder
Collection of variables used.
settings : \KeyValueCollection
Found configuration values.
configuration : \KeyValueCollection
Found shop version.
shopVersion : string
Array of known languages (mostly the default installed ones).
defaultLanguages : array
Glob search pattern for usermods.
usermodGlobPattern : string