OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
oxEfiDownloader Class Reference
+ Inheritance diagram for oxEfiDownloader:
+ Collaboration diagram for oxEfiDownloader:

Public Member Functions

 downloadConnector ($sUsername, $sPassword, $sShopVersion, $blSaveCredentials)
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _init ($sUsername, $sPassword)
 _getConnectorClassName ($sShopVersion)
 _getConnectorContents ($sShopVersion)

Protected Attributes

 $_oSoapClient = null
 $_sVersion = null

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

Efire SOAP client responsible for getting retrieving a connector over SOAP.

Definition at line 11 of file oxefidownloader.php.

Member Function Documentation

oxEfiDownloader::_getConnectorClassName (   $sShopVersion)
protected

Retrieves filename for current connector.

Parameters
string$sShopVersionShop edition and version (eg. 'CE 4.0.0.0')
Returns
string

Definition at line 92 of file oxefidownloader.php.

oxEfiDownloader::_getConnectorContents (   $sShopVersion)
protected

Get contents of connector

Parameters
string$sShopVersionShop edition and version (eg. 'CE 4.0.0.0')
Exceptions
Exception
Returns
string

Definition at line 111 of file oxefidownloader.php.

oxEfiDownloader::_init (   $sUsername,
  $sPassword 
)
protected

Initialises eFire SOAP connection

Parameters
string$sUsernameeFire External Communication Username
string$sPasswordeFire External Communication Passsword
Returns
bool

Definition at line 71 of file oxefidownloader.php.

oxEfiDownloader::downloadConnector (   $sUsername,
  $sPassword,
  $sShopVersion,
  $blSaveCredentials 
)

Retrieves connector filename, the contents and saves it to shop directory. Returns connector $sFileName.

Parameters
string$sUsernameeFire External Transaction username
string$sPasswordeFire External Transaction password
string$sShopVersioneShop version
bool$blSaveCredentialswhether to save username and password to config for later use
Returns
string

Definition at line 32 of file oxefidownloader.php.

Member Data Documentation

oxEfiDownloader::$_oSoapClient = null
protected

Definition at line 18 of file oxefidownloader.php.

oxEfiDownloader::$_sVersion = null
protected

Definition at line 20 of file oxefidownloader.php.


The documentation for this class was generated from the following file: