Shop file checker Performs version check of shop file
- Deprecated:
- since v6.3 (2018-06-04); This functionality will be removed completely.
◆ _getFileVersion()
OxidEsales\EshopCommunity\Application\Model\FileChecker::_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
◆ _isShopVersionIsKnown()
OxidEsales\EshopCommunity\Application\Model\FileChecker::_isShopVersionIsKnown |
( |
| ) |
|
|
protected |
asks the webservice, if the shop version is known.
- Returns
- boolean
◆ _isWebServiceOnline()
OxidEsales\EshopCommunity\Application\Model\FileChecker::_isWebServiceOnline |
( |
| ) |
|
|
protected |
in case if a general error is thrown by webservice
- Returns
- string error
◆ checkFile()
OxidEsales\EshopCommunity\Application\Model\FileChecker::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
◆ checkSystemRequirements()
OxidEsales\EshopCommunity\Application\Model\FileChecker::checkSystemRequirements |
( |
| ) |
|
Checks system requirements and builds error messages if there are some
- Returns
- boolean
◆ getBaseDirectory()
OxidEsales\EshopCommunity\Application\Model\FileChecker::getBaseDirectory |
( |
| ) |
|
working directory getter
- Returns
- string
◆ getEdition()
OxidEsales\EshopCommunity\Application\Model\FileChecker::getEdition |
( |
| ) |
|
Edition getter
- Returns
- string
◆ getErrorMessage()
OxidEsales\EshopCommunity\Application\Model\FileChecker::getErrorMessage |
( |
| ) |
|
Error status getter
- Returns
- string
◆ getRevision()
OxidEsales\EshopCommunity\Application\Model\FileChecker::getRevision |
( |
| ) |
|
Revision getter
- Deprecated:
- since v6.0.0 (2017-12-04); This functionality will be removed completely
- Returns
- string
◆ getVersion()
OxidEsales\EshopCommunity\Application\Model\FileChecker::getVersion |
( |
| ) |
|
Version getter
- Returns
- string
◆ getWebServiceUrl()
OxidEsales\EshopCommunity\Application\Model\FileChecker::getWebServiceUrl |
( |
| ) |
|
Web service URL getter
- Returns
- string
◆ hasError()
OxidEsales\EshopCommunity\Application\Model\FileChecker::hasError |
( |
| ) |
|
Error status getter
- Returns
- string
◆ init()
OxidEsales\EshopCommunity\Application\Model\FileChecker::init |
( |
| ) |
|
Initializes object and checks web service availability
- Returns
- boolean
◆ setBaseDirectory()
OxidEsales\EshopCommunity\Application\Model\FileChecker::setBaseDirectory |
( |
|
$sDir | ) |
|
Setter for working directory
- Parameters
-
◆ setEdition()
OxidEsales\EshopCommunity\Application\Model\FileChecker::setEdition |
( |
|
$sEdition | ) |
|
Edition setter
- Parameters
-
◆ setRevision()
OxidEsales\EshopCommunity\Application\Model\FileChecker::setRevision |
( |
|
$sRevision | ) |
|
Revision setter
- Deprecated:
- since v6.0.0 (2017-12-04); This functionality will be removed completely
- Parameters
-
◆ setVersion()
OxidEsales\EshopCommunity\Application\Model\FileChecker::setVersion |
( |
|
$sVersion | ) |
|
Version setter
- Parameters
-
◆ setWebServiceUrl()
OxidEsales\EshopCommunity\Application\Model\FileChecker::setWebServiceUrl |
( |
|
$sUrl | ) |
|
Web service URL setter
- Parameters
-
string | $sUrl | Web service url. |
◆ $_blError
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_blError = false |
|
protected |
◆ $_blListAllFiles
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_blListAllFiles = false |
|
protected |
◆ $_oCurlHandler
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_oCurlHandler = null |
|
protected |
◆ $_sBaseDirectory
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_sBaseDirectory = '' |
|
protected |
◆ $_sEdition
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_sEdition = "" |
|
protected |
◆ $_sErrorMessage
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_sErrorMessage = null |
|
protected |
◆ $_sRevision
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_sRevision = "" |
|
protected |
◆ $_sVersion
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_sVersion = "" |
|
protected |
◆ $_sWebServiceUrl
OxidEsales\EshopCommunity\Application\Model\FileChecker::$_sWebServiceUrl = 'http://oxchkversion.oxid-esales.com/webService.php' |
The documentation for this class was generated from the following file: