‪TYPO3CMS  9.5
TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement Class Reference
Inheritance diagram for TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement:

Public Member Functions

 __construct (PackageInterface $package)
 
Traversable getIterator ()
 
bool offsetExists ($offset)
 
mixed offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
string serialize ()
 
mixed unserialize ($serialized)
 
int count ()
 
array toArray ()
 

Protected Member Functions

 initializeBasicExtensionInformation ()
 
 initializeExtensionIcon ()
 
 initializeExtensionFiles ()
 

Protected Attributes

PackageInterface $package
 
array $extensionFilesToCheckFor
 
array $extensionInformation = array( )
 

Detailed Description

Class to simulate the "old" extension information array element

Definition at line 25 of file LoadedExtensionArrayElement.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::__construct ( PackageInterface  $package)

Member Function Documentation

◆ count()

int TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::count ( )

◆ getIterator()

Traversable TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::getIterator ( )

◆ initializeBasicExtensionInformation()

TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::initializeBasicExtensionInformation ( )
protected

◆ initializeExtensionFiles()

TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::initializeExtensionFiles ( )
protected

Register found files in extension array if extension was found

Definition at line 105 of file LoadedExtensionArrayElement.php.

Referenced by TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement\__construct().

◆ initializeExtensionIcon()

TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::initializeExtensionIcon ( )
protected

◆ offsetExists()

bool TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::offsetExists (   $offset)

◆ offsetGet()

mixed TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::offsetGet (   $offset)

◆ offsetSet()

TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::offsetSet (   $offset,
  $value 
)

◆ offsetUnset()

TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::offsetUnset (   $offset)

Offset to unset

mixed $offset The offset to unset.

Definition at line 170 of file LoadedExtensionArrayElement.php.

◆ serialize()

string TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::serialize ( )

String representation of object

string the string representation of the object or null

Definition at line 181 of file LoadedExtensionArrayElement.php.

◆ toArray()

array TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::toArray ( )
Returns
‪array

Definition at line 212 of file LoadedExtensionArrayElement.php.

◆ unserialize()

mixed TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::unserialize (   $serialized)

Member Data Documentation

◆ $extensionFilesToCheckFor

array TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::$extensionFilesToCheckFor
protected
Initial value:
= array(
'ext_localconf.php',
'ext_tables.php',
'ext_tables.sql',
'ext_tables_static+adt.sql',
'ext_typoscript_constants.typoscript',
'ext_typoscript_setup.typoscript',
'ext_typoscript_constants.txt',
'ext_typoscript_setup.txt'
)

List of relevant extension files

Definition at line 33 of file LoadedExtensionArrayElement.php.

◆ $extensionInformation

array TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::$extensionInformation = array( )
protected

Final extension information

Definition at line 46 of file LoadedExtensionArrayElement.php.

◆ $package

PackageInterface TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement::$package
protected

Instance of package manager

Definition at line 29 of file LoadedExtensionArrayElement.php.