var/classes/definition_News.php line 330

Open in your IDE?
  1. <?php
  2. /**
  3. * Inheritance: no
  4. * Variants: no
  5. Fields Summary:
  6. - localizedfields [localizedfields]
  7. -- title [input]
  8. -- shortText [textarea]
  9. - content [fieldcollections]
  10. - date [datetime]
  11. - gallery [imageGallery]
  12. */
  13. return Pimcore\Model\DataObject\ClassDefinition::__set_state(array(
  14.    'id' => 'NE',
  15.    'name' => 'News',
  16.    'description' => '',
  17.    'creationDate' => 0,
  18.    'modificationDate' => 1628593795,
  19.    'userOwner' => 2,
  20.    'userModification' => 1,
  21.    'parentClass' => '',
  22.    'implementsInterfaces' => '',
  23.    'listingParentClass' => '',
  24.    'useTraits' => '',
  25.    'listingUseTraits' => '',
  26.    'encryption' => false,
  27.    'encryptedTables' =>
  28.   array (
  29.   ),
  30.    'allowInherit' => false,
  31.    'allowVariants' => false,
  32.    'showVariants' => false,
  33.    'fieldDefinitions' =>
  34.   array (
  35.   ),
  36.    'layoutDefinitions' =>
  37.   Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  38.      'fieldtype' => 'panel',
  39.      'layout' => NULL,
  40.      'border' => false,
  41.      'name' => 'pimcore_root',
  42.      'type' => NULL,
  43.      'region' => NULL,
  44.      'title' => NULL,
  45.      'width' => 0,
  46.      'height' => 0,
  47.      'collapsible' => false,
  48.      'collapsed' => false,
  49.      'bodyStyle' => NULL,
  50.      'datatype' => 'layout',
  51.      'permissions' => NULL,
  52.      'childs' =>
  53.     array (
  54.       =>
  55.       Pimcore\Model\DataObject\ClassDefinition\Layout\Region::__set_state(array(
  56.          'fieldtype' => 'region',
  57.          'name' => 'Base Data',
  58.          'type' => NULL,
  59.          'region' => NULL,
  60.          'title' => 'Base Data',
  61.          'width' => NULL,
  62.          'height' => NULL,
  63.          'collapsible' => false,
  64.          'collapsed' => false,
  65.          'bodyStyle' => '',
  66.          'datatype' => 'layout',
  67.          'permissions' => NULL,
  68.          'childs' =>
  69.         array (
  70.           =>
  71.           Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  72.              'fieldtype' => 'panel',
  73.              'layout' => NULL,
  74.              'border' => false,
  75.              'name' => 'Layout',
  76.              'type' => NULL,
  77.              'region' => 'center',
  78.              'title' => '',
  79.              'width' => NULL,
  80.              'height' => NULL,
  81.              'collapsible' => false,
  82.              'collapsed' => false,
  83.              'bodyStyle' => '',
  84.              'datatype' => 'layout',
  85.              'permissions' => NULL,
  86.              'childs' =>
  87.             array (
  88.               =>
  89.               Pimcore\Model\DataObject\ClassDefinition\Data\Localizedfields::__set_state(array(
  90.                  'fieldtype' => 'localizedfields',
  91.                  'childs' =>
  92.                 array (
  93.                   =>
  94.                   Pimcore\Model\DataObject\ClassDefinition\Data\Input::__set_state(array(
  95.                      'fieldtype' => 'input',
  96.                      'width' => 300,
  97.                      'defaultValue' => NULL,
  98.                      'columnLength' => 190,
  99.                      'regex' => '',
  100.                      'unique' => false,
  101.                      'showCharCount' => false,
  102.                      'name' => 'title',
  103.                      'title' => 'Title',
  104.                      'tooltip' => '',
  105.                      'mandatory' => false,
  106.                      'noteditable' => false,
  107.                      'index' => false,
  108.                      'locked' => false,
  109.                      'style' => '',
  110.                      'permissions' => NULL,
  111.                      'datatype' => 'data',
  112.                      'relationType' => false,
  113.                      'invisible' => false,
  114.                      'visibleGridView' => true,
  115.                      'visibleSearch' => true,
  116.                      'forbiddenNames' =>
  117.                     array (
  118.                       => 'id',
  119.                       => 'key',
  120.                       => 'path',
  121.                       => 'type',
  122.                       => 'index',
  123.                       => 'classname',
  124.                       => 'creationdate',
  125.                       => 'userowner',
  126.                       => 'value',
  127.                       => 'class',
  128.                       10 => 'list',
  129.                       11 => 'fullpath',
  130.                       12 => 'childs',
  131.                       13 => 'values',
  132.                       14 => 'cachetag',
  133.                       15 => 'cachetags',
  134.                       16 => 'parent',
  135.                       17 => 'published',
  136.                       18 => 'valuefromparent',
  137.                       19 => 'userpermissions',
  138.                       20 => 'dependencies',
  139.                       21 => 'modificationdate',
  140.                       22 => 'usermodification',
  141.                       23 => 'byid',
  142.                       24 => 'bypath',
  143.                       25 => 'data',
  144.                       26 => 'versions',
  145.                       27 => 'properties',
  146.                       28 => 'permissions',
  147.                       29 => 'permissionsforuser',
  148.                       30 => 'childamount',
  149.                       31 => 'apipluginbroker',
  150.                       32 => 'resource',
  151.                       33 => 'parentClass',
  152.                       34 => 'definition',
  153.                       35 => 'locked',
  154.                       36 => 'language',
  155.                       37 => 'omitmandatorycheck',
  156.                       38 => 'idpath',
  157.                       39 => 'object',
  158.                       40 => 'fieldname',
  159.                       41 => 'property',
  160.                       42 => 'parentid',
  161.                       43 => 'children',
  162.                       44 => 'scheduledtasks',
  163.                     ),
  164.                      'blockedVarsForExport' =>
  165.                     array (
  166.                     ),
  167.                      'defaultValueGenerator' => '',
  168.                   )),
  169.                   =>
  170.                   Pimcore\Model\DataObject\ClassDefinition\Data\Textarea::__set_state(array(
  171.                      'fieldtype' => 'textarea',
  172.                      'width' => 300,
  173.                      'height' => '',
  174.                      'maxLength' => NULL,
  175.                      'showCharCount' => false,
  176.                      'excludeFromSearchIndex' => false,
  177.                      'name' => 'shortText',
  178.                      'title' => 'Short Text',
  179.                      'tooltip' => '',
  180.                      'mandatory' => false,
  181.                      'noteditable' => false,
  182.                      'index' => false,
  183.                      'locked' => false,
  184.                      'style' => '',
  185.                      'permissions' => NULL,
  186.                      'datatype' => 'data',
  187.                      'relationType' => false,
  188.                      'invisible' => false,
  189.                      'visibleGridView' => false,
  190.                      'visibleSearch' => false,
  191.                      'forbiddenNames' =>
  192.                     array (
  193.                       => 'id',
  194.                       => 'key',
  195.                       => 'path',
  196.                       => 'type',
  197.                       => 'index',
  198.                       => 'classname',
  199.                       => 'creationdate',
  200.                       => 'userowner',
  201.                       => 'value',
  202.                       => 'class',
  203.                       10 => 'list',
  204.                       11 => 'fullpath',
  205.                       12 => 'childs',
  206.                       13 => 'values',
  207.                       14 => 'cachetag',
  208.                       15 => 'cachetags',
  209.                       16 => 'parent',
  210.                       17 => 'published',
  211.                       18 => 'valuefromparent',
  212.                       19 => 'userpermissions',
  213.                       20 => 'dependencies',
  214.                       21 => 'modificationdate',
  215.                       22 => 'usermodification',
  216.                       23 => 'byid',
  217.                       24 => 'bypath',
  218.                       25 => 'data',
  219.                       26 => 'versions',
  220.                       27 => 'properties',
  221.                       28 => 'permissions',
  222.                       29 => 'permissionsforuser',
  223.                       30 => 'childamount',
  224.                       31 => 'apipluginbroker',
  225.                       32 => 'resource',
  226.                       33 => 'parentClass',
  227.                       34 => 'definition',
  228.                       35 => 'locked',
  229.                       36 => 'language',
  230.                       37 => 'omitmandatorycheck',
  231.                       38 => 'idpath',
  232.                       39 => 'object',
  233.                       40 => 'fieldname',
  234.                       41 => 'property',
  235.                       42 => 'parentid',
  236.                       43 => 'children',
  237.                       44 => 'scheduledtasks',
  238.                     ),
  239.                      'blockedVarsForExport' =>
  240.                     array (
  241.                     ),
  242.                   )),
  243.                 ),
  244.                  'name' => 'localizedfields',
  245.                  'region' => '',
  246.                  'layout' => NULL,
  247.                  'title' => '',
  248.                  'width' => '',
  249.                  'height' => '',
  250.                  'maxTabs' => NULL,
  251.                  'border' => false,
  252.                  'provideSplitView' => false,
  253.                  'tabPosition' => 'top',
  254.                  'hideLabelsWhenTabsReached' => NULL,
  255.                  'referencedFields' =>
  256.                 array (
  257.                 ),
  258.                  'fieldDefinitionsCache' => NULL,
  259.                  'permissionView' => NULL,
  260.                  'permissionEdit' => NULL,
  261.                  'tooltip' => '',
  262.                  'mandatory' => false,
  263.                  'noteditable' => false,
  264.                  'index' => NULL,
  265.                  'locked' => false,
  266.                  'style' => '',
  267.                  'permissions' => NULL,
  268.                  'datatype' => 'data',
  269.                  'relationType' => false,
  270.                  'invisible' => false,
  271.                  'visibleGridView' => true,
  272.                  'visibleSearch' => true,
  273.                  'forbiddenNames' =>
  274.                 array (
  275.                   => 'id',
  276.                   => 'key',
  277.                   => 'path',
  278.                   => 'type',
  279.                   => 'index',
  280.                   => 'classname',
  281.                   => 'creationdate',
  282.                   => 'userowner',
  283.                   => 'value',
  284.                   => 'class',
  285.                   10 => 'list',
  286.                   11 => 'fullpath',
  287.                   12 => 'childs',
  288.                   13 => 'values',
  289.                   14 => 'cachetag',
  290.                   15 => 'cachetags',
  291.                   16 => 'parent',
  292.                   17 => 'published',
  293.                   18 => 'valuefromparent',
  294.                   19 => 'userpermissions',
  295.                   20 => 'dependencies',
  296.                   21 => 'modificationdate',
  297.                   22 => 'usermodification',
  298.                   23 => 'byid',
  299.                   24 => 'bypath',
  300.                   25 => 'data',
  301.                   26 => 'versions',
  302.                   27 => 'properties',
  303.                   28 => 'permissions',
  304.                   29 => 'permissionsforuser',
  305.                   30 => 'childamount',
  306.                   31 => 'apipluginbroker',
  307.                   32 => 'resource',
  308.                   33 => 'parentClass',
  309.                   34 => 'definition',
  310.                   35 => 'locked',
  311.                   36 => 'language',
  312.                   37 => 'omitmandatorycheck',
  313.                   38 => 'idpath',
  314.                   39 => 'object',
  315.                   40 => 'fieldname',
  316.                   41 => 'property',
  317.                   42 => 'parentid',
  318.                   43 => 'children',
  319.                   44 => 'scheduledtasks',
  320.                 ),
  321.                  'blockedVarsForExport' =>
  322.                 array (
  323.                 ),
  324.                  'labelWidth' => 100,
  325.                  'labelAlign' => 'left',
  326.               )),
  327.               =>
  328.               Pimcore\Model\DataObject\ClassDefinition\Data\Fieldcollections::__set_state(array(
  329.                  'fieldtype' => 'fieldcollections',
  330.                  'allowedTypes' =>
  331.                 array (
  332.                   => 'NewsCars',
  333.                   => 'NewsLinks',
  334.                   => 'NewsText',
  335.                 ),
  336.                  'lazyLoading' => true,
  337.                  'maxItems' => '',
  338.                  'disallowAddRemove' => false,
  339.                  'disallowReorder' => false,
  340.                  'collapsed' => false,
  341.                  'collapsible' => false,
  342.                  'border' => false,
  343.                  'name' => 'content',
  344.                  'title' => 'Content',
  345.                  'tooltip' => '',
  346.                  'mandatory' => false,
  347.                  'noteditable' => false,
  348.                  'index' => false,
  349.                  'locked' => false,
  350.                  'style' => '',
  351.                  'permissions' => NULL,
  352.                  'datatype' => 'data',
  353.                  'relationType' => false,
  354.                  'invisible' => false,
  355.                  'visibleGridView' => false,
  356.                  'visibleSearch' => false,
  357.                  'forbiddenNames' =>
  358.                 array (
  359.                   => 'id',
  360.                   => 'key',
  361.                   => 'path',
  362.                   => 'type',
  363.                   => 'index',
  364.                   => 'classname',
  365.                   => 'creationdate',
  366.                   => 'userowner',
  367.                   => 'value',
  368.                   => 'class',
  369.                   10 => 'list',
  370.                   11 => 'fullpath',
  371.                   12 => 'childs',
  372.                   13 => 'values',
  373.                   14 => 'cachetag',
  374.                   15 => 'cachetags',
  375.                   16 => 'parent',
  376.                   17 => 'published',
  377.                   18 => 'valuefromparent',
  378.                   19 => 'userpermissions',
  379.                   20 => 'dependencies',
  380.                   21 => 'modificationdate',
  381.                   22 => 'usermodification',
  382.                   23 => 'byid',
  383.                   24 => 'bypath',
  384.                   25 => 'data',
  385.                   26 => 'versions',
  386.                   27 => 'properties',
  387.                   28 => 'permissions',
  388.                   29 => 'permissionsforuser',
  389.                   30 => 'childamount',
  390.                   31 => 'apipluginbroker',
  391.                   32 => 'resource',
  392.                   33 => 'parentClass',
  393.                   34 => 'definition',
  394.                   35 => 'locked',
  395.                   36 => 'language',
  396.                   37 => 'omitmandatorycheck',
  397.                   38 => 'idpath',
  398.                   39 => 'object',
  399.                   40 => 'fieldname',
  400.                   41 => 'property',
  401.                   42 => 'parentid',
  402.                   43 => 'children',
  403.                   44 => 'scheduledtasks',
  404.                 ),
  405.                  'blockedVarsForExport' =>
  406.                 array (
  407.                 ),
  408.               )),
  409.             ),
  410.              'locked' => false,
  411.              'blockedVarsForExport' =>
  412.             array (
  413.             ),
  414.              'icon' => NULL,
  415.              'labelWidth' => 100,
  416.              'labelAlign' => 'left',
  417.           )),
  418.           =>
  419.           Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  420.              'fieldtype' => 'panel',
  421.              'layout' => NULL,
  422.              'border' => false,
  423.              'name' => 'Dates & Images',
  424.              'type' => NULL,
  425.              'region' => 'east',
  426.              'title' => '',
  427.              'width' => 450,
  428.              'height' => NULL,
  429.              'collapsible' => false,
  430.              'collapsed' => false,
  431.              'bodyStyle' => '',
  432.              'datatype' => 'layout',
  433.              'permissions' => NULL,
  434.              'childs' =>
  435.             array (
  436.               =>
  437.               Pimcore\Model\DataObject\ClassDefinition\Data\Datetime::__set_state(array(
  438.                  'fieldtype' => 'datetime',
  439.                  'queryColumnType' => 'bigint(20)',
  440.                  'columnType' => 'bigint(20)',
  441.                  'defaultValue' => NULL,
  442.                  'useCurrentDate' => false,
  443.                  'name' => 'date',
  444.                  'title' => 'Date',
  445.                  'tooltip' => '',
  446.                  'mandatory' => false,
  447.                  'noteditable' => false,
  448.                  'index' => false,
  449.                  'locked' => false,
  450.                  'style' => '',
  451.                  'permissions' => NULL,
  452.                  'datatype' => 'data',
  453.                  'relationType' => false,
  454.                  'invisible' => false,
  455.                  'visibleGridView' => true,
  456.                  'visibleSearch' => true,
  457.                  'forbiddenNames' =>
  458.                 array (
  459.                   => 'id',
  460.                   => 'key',
  461.                   => 'path',
  462.                   => 'type',
  463.                   => 'index',
  464.                   => 'classname',
  465.                   => 'creationdate',
  466.                   => 'userowner',
  467.                   => 'value',
  468.                   => 'class',
  469.                   10 => 'list',
  470.                   11 => 'fullpath',
  471.                   12 => 'childs',
  472.                   13 => 'values',
  473.                   14 => 'cachetag',
  474.                   15 => 'cachetags',
  475.                   16 => 'parent',
  476.                   17 => 'published',
  477.                   18 => 'valuefromparent',
  478.                   19 => 'userpermissions',
  479.                   20 => 'dependencies',
  480.                   21 => 'modificationdate',
  481.                   22 => 'usermodification',
  482.                   23 => 'byid',
  483.                   24 => 'bypath',
  484.                   25 => 'data',
  485.                   26 => 'versions',
  486.                   27 => 'properties',
  487.                   28 => 'permissions',
  488.                   29 => 'permissionsforuser',
  489.                   30 => 'childamount',
  490.                   31 => 'apipluginbroker',
  491.                   32 => 'resource',
  492.                   33 => 'parentClass',
  493.                   34 => 'definition',
  494.                   35 => 'locked',
  495.                   36 => 'language',
  496.                   37 => 'omitmandatorycheck',
  497.                   38 => 'idpath',
  498.                   39 => 'object',
  499.                   40 => 'fieldname',
  500.                   41 => 'property',
  501.                   42 => 'parentid',
  502.                   43 => 'children',
  503.                   44 => 'scheduledtasks',
  504.                 ),
  505.                  'blockedVarsForExport' =>
  506.                 array (
  507.                 ),
  508.                  'defaultValueGenerator' => '',
  509.               )),
  510.               =>
  511.               Pimcore\Model\DataObject\ClassDefinition\Data\ImageGallery::__set_state(array(
  512.                  'fieldtype' => 'imageGallery',
  513.                  'width' => 412,
  514.                  'height' => 330,
  515.                  'uploadPath' => '',
  516.                  'ratioX' => NULL,
  517.                  'ratioY' => NULL,
  518.                  'predefinedDataTemplates' => '',
  519.                  'name' => 'gallery',
  520.                  'title' => 'Gallery',
  521.                  'tooltip' => '',
  522.                  'mandatory' => false,
  523.                  'noteditable' => false,
  524.                  'index' => false,
  525.                  'locked' => false,
  526.                  'style' => '',
  527.                  'permissions' => NULL,
  528.                  'datatype' => 'data',
  529.                  'relationType' => false,
  530.                  'invisible' => false,
  531.                  'visibleGridView' => false,
  532.                  'visibleSearch' => false,
  533.                  'forbiddenNames' =>
  534.                 array (
  535.                   => 'id',
  536.                   => 'key',
  537.                   => 'path',
  538.                   => 'type',
  539.                   => 'index',
  540.                   => 'classname',
  541.                   => 'creationdate',
  542.                   => 'userowner',
  543.                   => 'value',
  544.                   => 'class',
  545.                   10 => 'list',
  546.                   11 => 'fullpath',
  547.                   12 => 'childs',
  548.                   13 => 'values',
  549.                   14 => 'cachetag',
  550.                   15 => 'cachetags',
  551.                   16 => 'parent',
  552.                   17 => 'published',
  553.                   18 => 'valuefromparent',
  554.                   19 => 'userpermissions',
  555.                   20 => 'dependencies',
  556.                   21 => 'modificationdate',
  557.                   22 => 'usermodification',
  558.                   23 => 'byid',
  559.                   24 => 'bypath',
  560.                   25 => 'data',
  561.                   26 => 'versions',
  562.                   27 => 'properties',
  563.                   28 => 'permissions',
  564.                   29 => 'permissionsforuser',
  565.                   30 => 'childamount',
  566.                   31 => 'apipluginbroker',
  567.                   32 => 'resource',
  568.                   33 => 'parentClass',
  569.                   34 => 'definition',
  570.                   35 => 'locked',
  571.                   36 => 'language',
  572.                   37 => 'omitmandatorycheck',
  573.                   38 => 'idpath',
  574.                   39 => 'object',
  575.                   40 => 'fieldname',
  576.                   41 => 'property',
  577.                   42 => 'parentid',
  578.                   43 => 'children',
  579.                   44 => 'scheduledtasks',
  580.                 ),
  581.                  'blockedVarsForExport' =>
  582.                 array (
  583.                 ),
  584.               )),
  585.             ),
  586.              'locked' => false,
  587.              'blockedVarsForExport' =>
  588.             array (
  589.             ),
  590.              'icon' => NULL,
  591.              'labelWidth' => 100,
  592.              'labelAlign' => 'left',
  593.           )),
  594.         ),
  595.          'locked' => false,
  596.          'blockedVarsForExport' =>
  597.         array (
  598.         ),
  599.          'icon' => NULL,
  600.       )),
  601.     ),
  602.      'locked' => false,
  603.      'blockedVarsForExport' =>
  604.     array (
  605.     ),
  606.      'icon' => NULL,
  607.      'labelWidth' => 100,
  608.      'labelAlign' => 'left',
  609.   )),
  610.    'icon' => '/bundles/pimcoreadmin/img/flat-color-icons/news.svg',
  611.    'previewUrl' => '',
  612.    'group' => '',
  613.    'showAppLoggerTab' => false,
  614.    'linkGeneratorReference' => '@App\\Website\\LinkGenerator\\NewsLinkGenerator',
  615.    'previewGeneratorReference' => '',
  616.    'compositeIndices' =>
  617.   array (
  618.   ),
  619.    'generateTypeDeclarations' => true,
  620.    'showFieldLookup' => false,
  621.    'propertyVisibility' =>
  622.   array (
  623.     'grid' =>
  624.     array (
  625.       'id' => true,
  626.       'key' => false,
  627.       'path' => true,
  628.       'published' => true,
  629.       'modificationDate' => false,
  630.       'creationDate' => false,
  631.     ),
  632.     'search' =>
  633.     array (
  634.       'id' => true,
  635.       'key' => false,
  636.       'path' => true,
  637.       'published' => true,
  638.       'modificationDate' => false,
  639.       'creationDate' => false,
  640.     ),
  641.   ),
  642.    'enableGridLocking' => false,
  643.    'dao' => NULL,
  644.    'blockedVarsForExport' =>
  645.   array (
  646.   ),
  647. ));