TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
TerUtility Class Reference
Inheritance diagram for TerUtility:
TerService

Public Member Functions

 injectConfigurationUtility (\TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility $configurationUtility)
 
 fetchExtension ($extensionKey, $version, $expectedMd5, $mirrorUrl)
 
 decodeServerData ($externalData)
 
 decodeExchangeData ($stream)
 

Public Attributes

 $wsdlUrl
 

Protected Attributes

 $configurationUtility
 

Detailed Description

TER2 connection handling class for the TYPO3 Extension Manager.

It contains methods for downloading and uploading extensions and related code

Definition at line 25 of file TerUtility.php.

Member Function Documentation

decodeExchangeData (   $stream)

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

Parameters
string$streamData stream
Exceptions
ExtensionManagerException
Returns
array Array with result on success, otherwise an error string.

Definition at line 123 of file TerUtility.php.

Referenced by TerUtility\fetchExtension().

decodeServerData (   $externalData)

Decode server data This is information like the extension list, extension information etc., return data after uploads (new em_conf) On success, returns an array with data array and stats array as key 0 and 1.

Parameters
string$externalDataData stream from remove server
Exceptions
ExtensionManagerException
Returns
array $externalData
See also
fetchServerData(), processRepositoryReturnData()

Definition at line 91 of file TerUtility.php.

fetchExtension (   $extensionKey,
  $version,
  $expectedMd5,
  $mirrorUrl 
)

Fetches an extension from the given mirror

Parameters
string$extensionKeyExtension Key
string$versionVersion to install
string$expectedMd5Expected MD5 hash of extension file
string$mirrorUrlURL of mirror to use
Exceptions
ExtensionManagerException
Returns
array T3X data

Definition at line 55 of file TerUtility.php.

References TerUtility\decodeExchangeData(), and Bootstrap\usesComposerClassLoading().

injectConfigurationUtility ( \TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility  $configurationUtility)
Parameters
\TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility$configurationUtility

Definition at line 40 of file TerUtility.php.

References TerUtility\$configurationUtility.

Member Data Documentation

$configurationUtility
protected

Definition at line 35 of file TerUtility.php.

Referenced by TerUtility\injectConfigurationUtility().

$wsdlUrl

Definition at line 30 of file TerUtility.php.