"TYPO3 4.0.1: SC_mod_tools_em_terconnection Class Reference", "datetime" => "Sat Dec 2 19:25:31 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

SC_mod_tools_em_terconnection Class Reference

List of all members.

Public Member Functions

 fetchExtension ($extKey, $version, $expectedMD5, $mirrorURL)
 fetchTranslation ($extKey, $lang, $mirrorURL)
 fetchTranslationStatus ($extKey, $mirrorURL)
 decodeServerData ($externalData)
 decodeExchangeData ($str)
 makeUploadDataFromArray ($uploadArray)
 uploadToTER ($em)

Public Attributes

 $wsdlURL
 $emObj

Detailed Description

Definition at line 46 of file class.em_terconnection.php.


Member Function Documentation

SC_mod_tools_em_terconnection::decodeExchangeData str  ) 
 

Decodes extension upload array. This kind of data is when an extension is uploaded to TER

Parameters:
string Data stream
Returns:
mixed Array with result on success, otherwise an error string.

Definition at line 148 of file class.em_terconnection.php.

Referenced by fetchExtension().

SC_mod_tools_em_terconnection::decodeServerData externalData  ) 
 

Decode server data This is information like the extension list, extension information etc., return data after uploads (new em_conf)

Parameters:
string Data stream from remove server
Returns:
mixed On success, returns an array with data array and stats array as key 0 and 1. Otherwise returns error string
See also:
fetchServerData(), processRepositoryReturnData()

Definition at line 121 of file class.em_terconnection.php.

SC_mod_tools_em_terconnection::fetchExtension extKey,
version,
expectedMD5,
mirrorURL
 

Fetches an extension from the given mirror

Parameters:
string $extKey Extension Key
string $version Version to install
string $expectedMD5 Expected MD5 hash of extension file
string $mirrorURL URL of mirror to use
Returns:
mixed T3X data (array) or error message (string)

Definition at line 59 of file class.em_terconnection.php.

References decodeExchangeData(), and t3lib_div::getURL().

SC_mod_tools_em_terconnection::fetchTranslation extKey,
lang,
mirrorURL
 

Fetches an extensions l10n file from the given mirror

Parameters:
string $extKey Extension Key
string $lang The language code of the translation to fetch
string $mirrorURL URL of mirror to use
Returns:
mixed Array containing l10n data or error message (string)

Definition at line 82 of file class.em_terconnection.php.

References t3lib_div::getURL().

SC_mod_tools_em_terconnection::fetchTranslationStatus extKey,
mirrorURL
 

Fetches extension l10n status from the given mirror

Parameters:
string $extKey Extension Key
string $mirrorURL URL of mirror to use
Returns:
mixed Array containing l10n status data or FALSE if no status could be fetched

Definition at line 100 of file class.em_terconnection.php.

References t3lib_div::getURL().

SC_mod_tools_em_terconnection::makeUploadDataFromArray uploadArray  ) 
 

Encodes extension upload array

Parameters:
array Array containing extension
Returns:
string Content stream

Definition at line 170 of file class.em_terconnection.php.

SC_mod_tools_em_terconnection::uploadToTER em  ) 
 

[Describe function...]

Parameters:
[type] $em: ...
Returns:
[type] ...

Definition at line 188 of file class.em_terconnection.php.

References t3lib_div::makeInstance().


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