Definition at line 6 of file oxsysrequirements.php.
Public Member Functions | |
__construct () | |
getRequiredModules () | |
checkMbString () | |
checkModRewrite () | |
checkAllowUrlFopen () | |
checkPhp4Compat () | |
checkPhpVersion () | |
checkRequestUri () | |
checkLibXml2 () | |
checkPhpXml () | |
checkJSon () | |
checkIConv () | |
checkTokenizer () | |
checkBcMath () | |
checkMysqlConnect () | |
checkGdInfo () | |
checkIniSet () | |
checkRegisterGlobals () | |
checkMemoryLimit () | |
checkZendOptimizer () | |
checkZendPlatform () | |
checkCollation () | |
checkDatabaseCluster () | |
checkUnicodeSupport () | |
getSysReqStatus () | |
getSystemInfo () | |
getModuleInfo ($sModule=null) | |
Protected Member Functions | |
_getAdditionalCheck () | |
_getBytes ($sBytes) | |
Protected Attributes | |
$_aRequiredModules = null | |
$_blSysReqStatus = null | |
$_aException | |
$_aColumns |
oxSysRequirements.__construct | ( | ) |
Class constructor. The constructor is defined in order to be possible to call parent.__construct() in modules.
Definition at line 87 of file oxsysrequirements.php.
oxSysRequirements.getRequiredModules | ( | ) |
oxSysRequirements.checkMbString | ( | ) |
Checks if mbstring extension is loaded
Definition at line 140 of file oxsysrequirements.php.
oxSysRequirements.checkModRewrite | ( | ) |
Checks if mod_rewrite extension is loaded
Definition at line 150 of file oxsysrequirements.php.
oxSysRequirements.checkAllowUrlFopen | ( | ) |
Checks if activated allow_url_fopen or fsockopen on port 80 possible
Definition at line 189 of file oxsysrequirements.php.
oxSysRequirements.checkPhp4Compat | ( | ) |
PHP4 compatibility mode must be set off: zend.ze1_compatibility_mode = Off
Definition at line 211 of file oxsysrequirements.php.
oxSysRequirements.checkPhpVersion | ( | ) |
Checks PHP version. PHP 5.2.0 or higher. Due to performance matters, PHP 5.2.6 recommended.
Definition at line 223 of file oxsysrequirements.php.
oxSysRequirements.checkRequestUri | ( | ) |
Checks if apache server variables REQUEST_URI or SCRIPT_URI are set
Definition at line 235 of file oxsysrequirements.php.
oxSysRequirements.checkLibXml2 | ( | ) |
Checks if libxml2 is activated
Definition at line 245 of file oxsysrequirements.php.
oxSysRequirements.checkPhpXml | ( | ) |
Checks if php-xml is activated ???
Definition at line 255 of file oxsysrequirements.php.
oxSysRequirements.checkJSon | ( | ) |
Checks if JSON extension is loaded
Definition at line 265 of file oxsysrequirements.php.
oxSysRequirements.checkIConv | ( | ) |
Checks if iconv extension is loaded
Definition at line 275 of file oxsysrequirements.php.
oxSysRequirements.checkTokenizer | ( | ) |
Checks if tokenizer extension is loaded
Definition at line 285 of file oxsysrequirements.php.
oxSysRequirements.checkBcMath | ( | ) |
Checks if bcmath extension is loaded
Definition at line 295 of file oxsysrequirements.php.
oxSysRequirements.checkMysqlConnect | ( | ) |
Checks if mysql5 extension is loaded.
Definition at line 305 of file oxsysrequirements.php.
oxSysRequirements.checkGdInfo | ( | ) |
Checks if GDlib extension is loaded
Definition at line 330 of file oxsysrequirements.php.
oxSysRequirements.checkIniSet | ( | ) |
oxSysRequirements.checkRegisterGlobals | ( | ) |
Checks if register_globals are off/on. Should be off.
Definition at line 353 of file oxsysrequirements.php.
oxSysRequirements.checkMemoryLimit | ( | ) |
oxSysRequirements.checkZendOptimizer | ( | ) |
Checks if Zend Optimizer extension is loaded
Definition at line 387 of file oxsysrequirements.php.
oxSysRequirements.checkZendPlatform | ( | ) |
Checks if ZEND Platform Version 3.5 is installed
Definition at line 437 of file oxsysrequirements.php.
oxSysRequirements._getAdditionalCheck | ( | ) | [protected] |
Additional sql: do not check collation for oxsysrequirements::$_aException columns
Definition at line 447 of file oxsysrequirements.php.
oxSysRequirements.checkCollation | ( | ) |
Checks tables and columns (oxsysrequirements::$_aColumns) collation
Definition at line 461 of file oxsysrequirements.php.
oxSysRequirements.checkDatabaseCluster | ( | ) |
Checks if database cluster is installed
Definition at line 499 of file oxsysrequirements.php.
oxSysRequirements.checkUnicodeSupport | ( | ) |
Checks if PCRE unicode support is turned off/on. Should be on.
Definition at line 509 of file oxsysrequirements.php.
oxSysRequirements.getSysReqStatus | ( | ) |
Checks system requirements status
Definition at line 519 of file oxsysrequirements.php.
oxSysRequirements.getSystemInfo | ( | ) |
Runs through modules array and checks if current system fits requirements. Returns array with module info: array( $sGroup, $sModuleName, $sModuleState ): $sGroup - group of module $sModuleName - name of checked module $sModuleState - module state: -1 - unable to datect, should not block 0 - missing, blocks setup 1 - fits min requirements 2 - exists required or better
Definition at line 543 of file oxsysrequirements.php.
oxSysRequirements.getModuleInfo | ( | $ | sModule = null |
) |
Returns passed module state
string | $sModule module name to check |
Definition at line 566 of file oxsysrequirements.php.
oxSysRequirements._getBytes | ( | $ | sBytes | ) | [protected] |
Parses and calculates given string form byte syze value
string | $sBytes string form byte value (64M, 32K etc) |
Definition at line 584 of file oxsysrequirements.php.
oxSysRequirements.$_aRequiredModules = null [protected] |
Definition at line 13 of file oxsysrequirements.php.
oxSysRequirements.$_blSysReqStatus = null [protected] |
Definition at line 20 of file oxsysrequirements.php.
oxSysRequirements.$_aException [protected] |
Initial value:
array( 'OXDELIVERY' => 'OXDELTYPE', 'OXSELECTLIST' => 'OXIDENT')
Definition at line 27 of file oxsysrequirements.php.
oxSysRequirements.$_aColumns [protected] |
Definition at line 35 of file oxsysrequirements.php.