Public Attributes |
| $_sWebServiceUrl = 'http://oxchkversion.oxid-esales.com/webService.php' |
Detailed Description
Shop file checker Performs version check of shop file
Definition at line 9 of file oxfilechecker.php.
Member Function Documentation
oxFileChecker::_getFileVersion |
( |
|
$sMD5, |
|
|
|
$sFile |
|
) |
| |
|
protected |
Queries checksum-webservice according to md5, version, revision, edition and filename
- Parameters
-
string | $sMD5 | MD5 to check |
string | $sFile | File to check |
- Returns
- SimpleXMLElement
Definition at line 392 of file oxfilechecker.php.
oxFileChecker::_isShopVersionIsKnown |
( |
| ) |
|
|
protected |
asks the webservice, if the shop version is known.
- Returns
- boolean
Definition at line 280 of file oxfilechecker.php.
oxFileChecker::_isWebServiceOnline |
( |
| ) |
|
|
protected |
in case if a general error is thrown by webservice
- Returns
- string error
Definition at line 241 of file oxfilechecker.php.
oxFileChecker::checkFile |
( |
|
$sFile | ) |
|
This method gets the XML object for each file and checks the return values. The result will be saved in the variable $sResultOutput.
- Parameters
-
- Returns
- mixed
Definition at line 319 of file oxfilechecker.php.
oxFileChecker::checkSystemRequirements |
( |
| ) |
|
Checks system requirements and builds error messages if there are some
- Returns
- boolean
Definition at line 231 of file oxfilechecker.php.
oxFileChecker::getBaseDirectory |
( |
| ) |
|
oxFileChecker::getEdition |
( |
| ) |
|
oxFileChecker::getErrorMessage |
( |
| ) |
|
oxFileChecker::getRevision |
( |
| ) |
|
oxFileChecker::getVersion |
( |
| ) |
|
oxFileChecker::getWebServiceUrl |
( |
| ) |
|
oxFileChecker::hasError |
( |
| ) |
|
Initializes object and checks web service availability
- Returns
- boolean
Definition at line 211 of file oxfilechecker.php.
oxFileChecker::setBaseDirectory |
( |
|
$sDir | ) |
|
oxFileChecker::setEdition |
( |
|
$sEdition | ) |
|
oxFileChecker::setRevision |
( |
|
$sRevision | ) |
|
oxFileChecker::setVersion |
( |
|
$sVersion | ) |
|
oxFileChecker::setWebServiceUrl |
( |
|
$sUrl | ) |
|
Web service URL setter
- Parameters
-
string | $sUrl | Web service url. |
Definition at line 169 of file oxfilechecker.php.
Member Data Documentation
oxFileChecker::$_blError = false |
|
protected |
oxFileChecker::$_blListAllFiles = false |
|
protected |
oxFileChecker::$_oCurlHandler = null |
|
protected |
oxFileChecker::$_sBaseDirectory = '' |
|
protected |
oxFileChecker::$_sEdition = "" |
|
protected |
oxFileChecker::$_sErrorMessage = null |
|
protected |
oxFileChecker::$_sRevision = "" |
|
protected |
oxFileChecker::$_sVersion = "" |
|
protected |
oxFileChecker::$_sWebServiceUrl = 'http://oxchkversion.oxid-esales.com/webService.php' |
The documentation for this class was generated from the following file: