1<?php 2namespace TYPO3\CMS\Frontend\ContentObject; 3 4/* 5 * This file is part of the TYPO3 CMS project. 6 * 7 * It is free software; you can redistribute it and/or modify it under 8 * the terms of the GNU General Public License, either version 2 9 * of the License, or any later version. 10 * 11 * For the full copyright and license information, please read the 12 * LICENSE.txt file that was distributed with this source code. 13 * 14 * The TYPO3 project - inspiring people to share! 15 */ 16 17/** 18 * interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional getData processing 19 */ 20interface ContentObjectGetDataHookInterface 21{ 22 /** 23 * Extends the getData()-Method of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer to process more/other commands 24 * 25 * @param string $getDataString Full content of getData-request e.g. "TSFE:id // field:title // field:uid 26 * @param array $fields Current field-array 27 * @param string $sectionValue Currently examined section value of the getData request e.g. "field:title 28 * @param string $returnValue Current returnValue that was processed so far by getData 29 * @param \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $parentObject Parent content object 30 * @return string Get data result 31 */ 32 public function getDataExtension($getDataString, array $fields, $sectionValue, $returnValue, ContentObjectRenderer &$parentObject); 33} 34