Precheck

Class Precheck

category

System

package

Precheck

Methods

Precheck constructor.

__construct(\CI_DB_query_builder $db, \KeyValueCollection $settings) 

Arguments

$db

\CI_DB_query_builder

Database query builder.

$settings

\KeyValueCollection

Settings key value collection (see #_checkSettings).

Returns the name of the currently used template.

getActiveTemplate() : string

Response

string

Returns an array of additional installed templates (template name).

getAdditionalTemplates() : array

Response

array

Returns an array with dangerous tools installed.

getDangerousTools() : array

Response

array

Returns the installed foreign languages.

getForeignLanguages() : array

Response

array

Returns the installed foreign languages.

getForeignModules() : array

Response

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

Response

array

Returns the running MySQL version number.

getMysqlVersion() : string

Response

string

Returns the running PHP version number.

getPhpVersion() : string

Response

string

Returns the server address.

getServerAddress() : string

Response

string

Returns the server's operating system.

getServerOs() : string

Response

string

Returns the server path.

getServerPath() : string

Response

string

Returns the shop's URL.

getShopUrl() : string

Response

string

Returns the installed shop version.

getShopVersion() : string

Response

string

Returns an array of custom user components.

getUserComponents() : array

Response

array

Returns an array of usermods found.

getUsermods() : array

Response

array

Determines if there is a global usermod directory.

hasGlobalUsermodDir() : boolean

Response

boolean

Determines if cUrl is available on this platform.

isCurlEnabled() : boolean

Response

boolean

Determines if the MobileCandy template is installed.

isInstalledMobileCandy() : boolean

Response

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

Response

boolean

Properties