TYPO3
7.6
|
Public Member Functions | |
registerExtractionService ($className) | |
getExtractorsWithDriverSupport ($driverType) | |
Static Public Member Functions | |
static | getInstance () |
Protected Member Functions | |
compareExtractorPriority (ExtractorInterface $extractorA, ExtractorInterface $extractorB) | |
createExtractorInstance ($className) | |
Protected Attributes | |
$extractors = array() | |
$instances = null | |
Registry for MetaData extraction Services
Definition at line 24 of file ExtractorRegistry.php.
|
protected |
Compare the priority of two Extractor classes. Is used for sorting array of Extractor instances by priority. We want the result to be ordered from high to low so a higher priority comes before a lower.
ExtractorInterface | $extractorA | |
ExtractorInterface | $extractorB |
Definition at line 121 of file ExtractorRegistry.php.
References ExtractorInterface\getPriority().
|
protected |
Create an instance of a Metadata Extractor
string | $className |
Definition at line 132 of file ExtractorRegistry.php.
References GeneralUtility\makeInstance().
getExtractorsWithDriverSupport | ( | $driverType | ) |
Get Extractors which work for a special driver
string | $driverType |
Definition at line 96 of file ExtractorRegistry.php.
References elseif.
|
static |
Returns an instance of this class
Definition at line 44 of file ExtractorRegistry.php.
References GeneralUtility\makeInstance().
Referenced by Indexer\getExtractorRegistry().
registerExtractionService | ( | $className | ) |
Allows to register MetaData extraction to the FAL Indexer
string | $className |
\InvalidArgumentException |
Definition at line 55 of file ExtractorRegistry.php.
References elseif.
|
protected |
Definition at line 30 of file ExtractorRegistry.php.
|
protected |
Definition at line 37 of file ExtractorRegistry.php.