TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
LoadedExtensionsArray Class Reference
Inheritance diagram for LoadedExtensionsArray:

Public Member Functions

 __construct (\TYPO3\CMS\Core\Package\PackageManager $packageManager)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 serialize ()
 
 unserialize ($serialized)
 
 count ()
 
 current ()
 
 next ()
 
 key ()
 
 valid ()
 
 rewind ()
 
 reset ()
 
 hasPackageManager ()
 
 toArray ()
 

Protected Attributes

 $packageManager
 
 $loadedExtensionArrayElementCache = array()
 
 $iteratorPosition
 

Detailed Description

Class to simulate the "old" extension information array

Definition at line 22 of file LoadedExtensionsArray.php.

Constructor & Destructor Documentation

__construct ( \TYPO3\CMS\Core\Package\PackageManager  $packageManager)
Parameters
\TYPO3\CMS\Core\Package\PackageManager

Definition at line 42 of file LoadedExtensionsArray.php.

References LoadedExtensionsArray\$packageManager.

Member Function Documentation

count ( )

Count elements of an object

int The custom count as an integer.

Definition at line 133 of file LoadedExtensionsArray.php.

current ( )

Return the current element

mixed Can return any type.

Definition at line 145 of file LoadedExtensionsArray.php.

References LoadedExtensionsArray\offsetGet().

hasPackageManager ( )

Whether package manager is set in class

Returns
bool TRUE if package manager is set

Definition at line 217 of file LoadedExtensionsArray.php.

key ( )

Return the key of the current element

mixed scalar on success, or null on failure.

Definition at line 173 of file LoadedExtensionsArray.php.

References LoadedExtensionsArray\$iteratorPosition.

next ( )

Move forward to next element

void Any returned value is ignored.

Definition at line 156 of file LoadedExtensionsArray.php.

offsetExists (   $offset)
offsetGet (   $offset)
offsetSet (   $offset,
  $value 
)
offsetUnset (   $offset)

Offset to unset

mixed $offset The offset to unset. void

Definition at line 99 of file LoadedExtensionsArray.php.

reset ( )

Reset

Returns
void

Definition at line 206 of file LoadedExtensionsArray.php.

References LoadedExtensionsArray\rewind().

rewind ( )

Rewind the Iterator to the first element

void Any returned value is ignored.

Definition at line 195 of file LoadedExtensionsArray.php.

Referenced by LoadedExtensionsArray\reset().

serialize ( )

String representation of object

string the string representation of the object or null

Definition at line 110 of file LoadedExtensionsArray.php.

toArray ( )
Returns
array

Definition at line 225 of file LoadedExtensionsArray.php.

unserialize (   $serialized)
valid ( )

Member Data Documentation

$iteratorPosition
protected

Definition at line 37 of file LoadedExtensionsArray.php.

Referenced by LoadedExtensionsArray\key().

$loadedExtensionArrayElementCache = array()
protected

Definition at line 32 of file LoadedExtensionsArray.php.

$packageManager
protected

Definition at line 27 of file LoadedExtensionsArray.php.

Referenced by LoadedExtensionsArray\__construct().