Solutions Open Source

Référence de la classe SC_mod_tools_em_terconnection

Liste de tous les membres

Fonctions membres publiques

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

Attributs publics

 $wsdlURL
 $emObj


Documentation des fonctions membres

SC_mod_tools_em_terconnection::fetchExtension ( extKey,
version,
expectedMD5,
mirrorURL 
)

Fetches an extension from the given mirror

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

SC_mod_tools_em_terconnection::fetchTranslation ( extKey,
lang,
mirrorURL 
)

Fetches an extensions l10n file from the given mirror

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

SC_mod_tools_em_terconnection::fetchTranslationStatus ( extKey,
mirrorURL 
)

Fetches extension l10n status from the given mirror

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

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)

Paramètres:
string Data stream from remove server
Renvoie:
mixed On success, returns an array with data array and stats array as key 0 and 1. Otherwise returns error string
Voir également:
fetchServerData(), processRepositoryReturnData()

SC_mod_tools_em_terconnection::decodeExchangeData ( str  ) 

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

Paramètres:
string Data stream
Renvoie:
mixed Array with result on success, otherwise an error string.

SC_mod_tools_em_terconnection::makeUploadDataFromArray ( uploadArray  ) 

Encodes extension upload array

Paramètres:
array Array containing extension
Renvoie:
string Content stream

SC_mod_tools_em_terconnection::uploadToTER ( em  ) 

[Describe function...]

Paramètres:
[type] $em: ...
Renvoie:
[type] ...


Documentation des données membres

SC_mod_tools_em_terconnection::$wsdlURL

SC_mod_tools_em_terconnection::$emObj


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:41:37 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3