<?php

/**
 * TCA Structure for ConfigurationGroups
 */
$base = \HDNET\Autoloader\Utility\ModelUtility::getTcaInformation('HDNET\\Calendarize\\Domain\\Model\\ConfigurationGroup');
$custom = array('ctrl' => array('searchFields' => 'uid,title'), 'columns' => array('configurations' => array('config' => array('type' => 'inline', 'foreign_table' => 'tx_calendarize_domain_model_configuration', 'minitems' => 1))));
return \HDNET\Autoloader\Utility\ArrayUtility::mergeRecursiveDistinct($base, $custom);
コード例 #2
0
<?php

/**
 * TCA Structure for Events
 */
$base = \HDNET\Autoloader\Utility\ModelUtility::getTcaInformation('HDNET\\Calendarize\\Domain\\Model\\Event');
$custom = array('ctrl' => array('hideTable' => (bool) \HDNET\Calendarize\Utility\ConfigurationUtility::get('disableDefaultEvent'), 'searchFields' => 'uid,title,description', 'thumbnail' => 'images'), 'columns' => array('title' => array('type' => 'text', 'eval' => 'required')));
return \HDNET\Autoloader\Utility\ArrayUtility::mergeRecursiveDistinct($base, $custom);
コード例 #3
0
<?php

/**
 * Base TCA generation for the model HDNET\\Focuspoint\\Domain\\Model\\FileStandalone
 */
use HDNET\Autoloader\Utility\ArrayUtility;
use HDNET\Autoloader\Utility\ModelUtility;
use HDNET\Focuspoint\Utility\TcaUtility;
$base = ModelUtility::getTcaInformation('HDNET\\Focuspoint\\Domain\\Model\\FileStandalone');
$custom = ['ctrl' => ['hideTable' => true], 'columns' => ['focus_point_y' => TcaUtility::getBaseConfiguration(), 'focus_point_x' => TcaUtility::getBaseConfiguration()]];
return ArrayUtility::mergeRecursiveDistinct($base, $custom);
コード例 #4
0
<?php

$base = \HDNET\Autoloader\Utility\ModelUtility::getTcaInformation('HDNET\\Faq\\Domain\\Model\\Question');
$custom = array('ctrl' => array('sortby' => null), 'columns' => array('title' => array('config' => array('eval' => 'trim,required')), 'answer' => array('config' => array('type' => 'text'), 'defaultExtras' => 'richtext:rte_transform[flag=rte_enabled|mode=ts_css]'), 'categories' => array('config' => array('type' => 'select', 'renderType' => 'selectTree', 'foreign_table' => 'tx_faq_domain_model_questioncategory', 'maxitems' => '999', 'minitems' => '1', 'MM' => 'tx_faq_mm_question_questioncategory', 'renderMode' => 'tree', 'treeConfig' => array('parentField' => 'parent')))));
return \HDNET\Autoloader\Utility\ArrayUtility::mergeRecursiveDistinct($base, $custom);
コード例 #5
0
<?php

use HDNET\Autoloader\Utility\ArrayUtility;
use HDNET\Autoloader\Utility\ModelUtility;
use HDNET\Faq\Domain\Model\Questioncategory;
$base = ModelUtility::getTcaInformation(Questioncategory::class);
$custom = ['columns' => ['parent' => ['config' => ['type' => 'select', 'renderType' => 'selectTree', 'foreign_table' => 'tx_faq_domain_model_questioncategory', 'maxitems' => '1', 'minitems' => '0', 'renderMode' => 'tree', 'treeConfig' => ['parentField' => 'parent']]]]];
return ArrayUtility::mergeRecursiveDistinct($base, $custom);