protected function createDcaItemListDummy($fieldPrefix, $fieldName, $fieldConfig, &$paletteFields, $dc, $createFromPost)
	{
		$dataKey = 'rsce_dummy';

		$GLOBALS['TL_DCA'][$dc->table]['fields'][$fieldPrefix . $fieldName . '__' . $dataKey . '_rsce_list_item_start'] = array(
			'inputType' => 'rsce_list_item_start',
			'label' => array($fieldConfig['elementLabel']),
			'eval' => array(
				'tl_class' => 'rsce_list_item_dummy',
				'label_template' => $fieldConfig['elementLabel'],
			),
		);
		$paletteFields[] = $fieldPrefix . $fieldName . '__' . $dataKey . '_rsce_list_item_start';

		foreach ($fieldConfig['fields'] as $fieldName2 => $fieldConfig2) {
			$this->createDcaItem($fieldPrefix . $fieldName . '__' . $dataKey . '__', $fieldName2, $fieldConfig2, $paletteFields, $dc, $createFromPost);
		}

		$GLOBALS['TL_DCA'][$dc->table]['fields'][$fieldPrefix . $fieldName . '__' . $dataKey . '_rsce_list_item_stop'] = array(
			'inputType' => 'rsce_list_item_stop',
		);
		$paletteFields[] = $fieldPrefix . $fieldName . '__' . $dataKey . '_rsce_list_item_stop';
	}
protected function createDcaItemListDummy($fieldPrefix, $fieldName, $fieldConfig, &$paletteFields, $dc, $createFromPost)
	{
		$dataKey = 'rsce_dummy';

		$GLOBALS['TL_DCA'][$dc->table]['fields'][$fieldPrefix . $fieldName . '__' . $dataKey . '_rsce_list_item_start'] = array(
			'inputType' => 'rsce_list_item_start',
			'label' => array($fieldConfig['elementLabel']),
			'eval' => array(
				'tl_class' => 'rsce_list_item_dummy',
				'label_template' => $fieldConfig['elementLabel'],
			),
		);
		$paletteFields[] = $fieldPrefix . $fieldName . '__' . $dataKey . '_rsce_list_item_start';

		foreach ($fieldConfig['fields'] as $fieldName2 => $fieldConfig2) {
			$this->createDcaItem($fieldPrefix . $fieldName . '__' . $dataKey . '__', $fieldName2, $fieldConfig2, $paletteFields, $dc, $createFromPost);
		}

		$GLOBALS['TL_DCA'][$dc->table]['fields'][$fieldPrefix . $fieldName . '__' . $dataKey . '_rsce_list_item_stop'] = array(
			'inputType' => 'rsce_list_item_stop',
		);
		$paletteFields[] = $fieldPrefix . $fieldName . '__' . $dataKey . '_rsce_list_item_stop';
	}
protected function createDcaItemListDummy ( $ fieldPrefix , $ fieldName , $ fieldConfig , & $ paletteFields , $ dc , $ createFromPost ) { $ dataKey = 'rsce_dummy' ; $ GLOBALS [ 'TL_DCA' ] [ $ dc -> table ] [ 'fields' ] [ $ fieldPrefix . $ fieldName . '__' . $ dataKey . '_rsce_list_item_start' ] = array ( 'inputType' => 'rsce_list_item_start' , 'label' => array ( $ fieldConfig [ 'elementLabel' ] ) , 'eval' => array ( 'tl_class' => 'rsce_list_item_dummy' , 'label_template' => $ fieldConfig [ 'elementLabel' ] , ) , ) ; $ paletteFields [ ] = $ fieldPrefix . $ fieldName . '__' . $ dataKey . '_rsce_list_item_start' ; foreach ( $ fieldConfig [ 'fields' ] as $ fieldName2 => $ fieldConfig2 ) { $ this -> createDcaItem ( $ fieldPrefix . $ fieldName . '__' . $ dataKey . '__' , $ fieldName2 , $ fieldConfig2 , $ paletteFields , $ dc , $ createFromPost ) ; } $ GLOBALS [ 'TL_DCA' ] [ $ dc -> table ] [ 'fields' ] [ $ fieldPrefix . $ fieldName . '__' . $ dataKey . '_rsce_list_item_stop' ] = array ( 'inputType' => 'rsce_list_item_stop' , ) ; $ paletteFields [ ] = $ fieldPrefix . $ fieldName . '__' . $ dataKey . '_rsce_list_item_stop' ; }
Create one list item dummy with the specified parameters

@param  string         $fieldPrefix    Field prefix, e.g. "rsce_field_"
@param  string         $fieldName      Field name
@param  array          $fieldConfig    Field configuration array
@param  array          $paletteFields  Reference to the list of all fields
@param  \DataContainer $dc             Data container
@param  boolean        $createFromPost Whether to create the field structure from post data or not
@return void
Create one list item dummy with the specified parameters