TYPO3
7.6
|
Public Member Functions | |
setSelect ($mirrorId=null) | |
getMirror () | |
getMirrorUrl () | |
getMirrors () | |
setMirrors (array $mirrors) | |
Protected Attributes | |
$mirrors = array() | |
$currentMirror | |
$isRandomSelection = true | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractDomainObject | |
isPropertyDirty ($previousValue, $currentValue) | |
Repository mirrors object for extension manager.
Definition at line 21 of file Mirrors.php.
getMirror | ( | ) |
Method returns one mirror for use.
Mirror has previously been selected or is chosen randomly.
public
Definition at line 74 of file Mirrors.php.
References Mirrors\$currentMirror.
Referenced by Mirrors\getMirrorUrl().
getMirrors | ( | ) |
Method returns all available mirrors.
public
Definition at line 105 of file Mirrors.php.
References Mirrors\$mirrors.
getMirrorUrl | ( | ) |
Gets the mirror url from selected mirror
Definition at line 91 of file Mirrors.php.
References Mirrors\getMirror().
setMirrors | ( | array | $mirrors | ) |
Method sets available mirrors.
array | $mirrors | multidimensional array with mirrors and their properties |
Definition at line 117 of file Mirrors.php.
References Mirrors\$mirrors.
setSelect | ( | $mirrorId = null | ) |
Method selects one specific mirror to be used.
int | $mirrorId | number (>=1) of mirror or NULL for random selection |
Definition at line 54 of file Mirrors.php.
|
protected |
Definition at line 37 of file Mirrors.php.
Referenced by Mirrors\getMirror().
|
protected |
Definition at line 45 of file Mirrors.php.
|
protected |
Definition at line 28 of file Mirrors.php.
Referenced by Mirrors\getMirrors(), and Mirrors\setMirrors().