TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\ContentObject\ContentObjectGetSingleHookInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\ContentObjectGetSingleHookInterface:
tslib_content_cObjGetSingleHook

Public Member Functions

 getSingleContentObject ($contentObjectName, array $configuration, $TypoScriptKey, \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer &$parentObject)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Interface for classes which hook into tslib_content and do additional cObjGetSingle processing

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 21 of file ContentObjectGetSingleHookInterface.php.

Member Function Documentation

◆ getSingleContentObject()

TYPO3\CMS\Frontend\ContentObject\ContentObjectGetSingleHookInterface::getSingleContentObject (   $contentObjectName,
array  $configuration,
  $TypoScriptKey,
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $parentObject 
)

Renders content objects, that are not defined in the core

Parameters
string$contentObjectNameThe content object name, eg. "TEXT" or "USER" or "IMAGE
array$configurationArray with TypoScript properties for the content object
string$TypoScriptKeyLabel used for the internal debug tracking
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer$parentObjectParent content object
Returns
string cObject output