Skip to content

Instantly share code, notes, and snippets.

@pulponair
Last active December 27, 2015 16:09
Show Gist options
  • Save pulponair/7353330 to your computer and use it in GitHub Desktop.
Save pulponair/7353330 to your computer and use it in GitHub Desktop.
/**
* headerForegroundImage
*
* @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
*/
protected $headerForegroundImage;
/**
* headerBackgroundImage
*
* @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
*/
protected $headerBackgroundImage;
/**
* images
*
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference>
*/
protected $images;
-----
'header_foreground_image' => array(
'exclude' => 0,
'l10n_mode' => 'exclude',
'label' => $locallangDb . ':tx_revcasioemi_domain_model_product.header_foreground_image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('header_foreground_image', array(
'appearance' => array(
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
),
'minitems' => 0,
'maxitems' => 1,
), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
),
'header_background_image' => array(
'exclude' => 0,
'l10n_mode' => 'exclude',
'label' => $locallangDb . ':tx_revcasioemi_domain_model_product.header_background_image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('header_background_image', array(
'appearance' => array(
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
),
'minitems' => 0,
'maxitems' => 1,
), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
),
'images' => array(
'exclude' => 0,
'l10n_mode' => 'exclude',
'label' => $locallangDb . ':tx_revcasioemi_domain_model_product.images',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('images', array(
'appearance' => array(
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
),
), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment