TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DocumentRepository Class Reference

Public Member Functions

 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 findAll ()
 

Protected Member Functions

 getMetadata ($documentKey, $language)
 

Protected Attributes

 $objectManager
 

Detailed Description

An extension helper repository to be used in ext:documentation context

Definition at line 22 of file DocumentRepository.php.

Member Function Documentation

findAll ( )

Finds all documents.

Returns
[]

Definition at line 42 of file DocumentRepository.php.

getMetadata (   $documentKey,
  $language 
)
protected

Returns metadata associated to a given document key.

Parameters
string$documentKey
string$language
Returns
array

Definition at line 257 of file DocumentRepository.php.

References elseif, and GeneralUtility\isFirstPartOfStr().

injectObjectManager ( \TYPO3\CMS\Extbase\Object\ObjectManagerInterface  $objectManager)
Parameters
\TYPO3\CMS\Extbase\Object\ObjectManagerInterface$objectManager

Definition at line 32 of file DocumentRepository.php.

References DocumentRepository\$objectManager.

Member Data Documentation

$objectManager
protected

Definition at line 27 of file DocumentRepository.php.

Referenced by DocumentRepository\injectObjectManager().