var/classes/definition_Newscategory.php line 429

Open in your IDE?
  1. <?php
  2. /**
  3.  * Inheritance: no
  4.  * Variants: no
  5.  *
  6.  * Fields Summary:
  7.  * - siteId [numeric]
  8.  * - newsTotal [numeric]
  9.  * - priority [numeric]
  10.  * - destination [manyToOneRelation]
  11.  * - useForSGR [checkbox]
  12.  * - localizedfields [localizedfields]
  13.  * -- slug [input]
  14.  * -- name [input]
  15.  * -- detailJson [textarea]
  16.  * - image [image]
  17.  * - isBeloved [checkbox]
  18.  * - isStillCategory [checkbox]
  19.  * - isHandBook [checkbox]
  20.  */
  21. return \Pimcore\Model\DataObject\ClassDefinition::__set_state(array(
  22.    'dao' => NULL,
  23.    'id' => 'newscategory',
  24.    'name' => 'Newscategory',
  25.    'description' => '',
  26.    'creationDate' => 0,
  27.    'modificationDate' => 1765860587,
  28.    'userOwner' => 2,
  29.    'userModification' => 2,
  30.    'parentClass' => '',
  31.    'implementsInterfaces' => '',
  32.    'listingParentClass' => '',
  33.    'useTraits' => '',
  34.    'listingUseTraits' => '',
  35.    'encryption' => false,
  36.    'encryptedTables' => 
  37.   array (
  38.   ),
  39.    'allowInherit' => false,
  40.    'allowVariants' => false,
  41.    'showVariants' => false,
  42.    'fieldDefinitions' => 
  43.   array (
  44.   ),
  45.    'layoutDefinitions' => 
  46.   \Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  47.      'name' => 'pimcore_root',
  48.      'type' => NULL,
  49.      'region' => NULL,
  50.      'title' => NULL,
  51.      'width' => 0,
  52.      'height' => 0,
  53.      'collapsible' => false,
  54.      'collapsed' => false,
  55.      'bodyStyle' => NULL,
  56.      'datatype' => 'layout',
  57.      'permissions' => NULL,
  58.      'children' => 
  59.     array (
  60.       => 
  61.       \Pimcore\Model\DataObject\ClassDefinition\Layout\Tabpanel::__set_state(array(
  62.          'name' => 'layout',
  63.          'type' => NULL,
  64.          'region' => NULL,
  65.          'title' => '',
  66.          'width' => '',
  67.          'height' => '',
  68.          'collapsible' => false,
  69.          'collapsed' => false,
  70.          'bodyStyle' => '',
  71.          'datatype' => 'layout',
  72.          'permissions' => NULL,
  73.          'children' => 
  74.         array (
  75.           => 
  76.           \Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  77.              'name' => 'base',
  78.              'type' => NULL,
  79.              'region' => NULL,
  80.              'title' => 'Base',
  81.              'width' => '',
  82.              'height' => '',
  83.              'collapsible' => false,
  84.              'collapsed' => false,
  85.              'bodyStyle' => '',
  86.              'datatype' => 'layout',
  87.              'permissions' => NULL,
  88.              'children' => 
  89.             array (
  90.               => 
  91.               \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric::__set_state(array(
  92.                  'name' => 'siteId',
  93.                  'title' => 'Site ID',
  94.                  'tooltip' => '',
  95.                  'mandatory' => false,
  96.                  'noteditable' => true,
  97.                  'index' => false,
  98.                  'locked' => false,
  99.                  'style' => '',
  100.                  'permissions' => NULL,
  101.                  'datatype' => 'data',
  102.                  'fieldtype' => 'numeric',
  103.                  'relationType' => false,
  104.                  'invisible' => true,
  105.                  'visibleGridView' => false,
  106.                  'visibleSearch' => false,
  107.                  'blockedVarsForExport' => 
  108.                 array (
  109.                 ),
  110.                  'width' => '',
  111.                  'defaultValue' => NULL,
  112.                  'integer' => true,
  113.                  'unsigned' => false,
  114.                  'minValue' => NULL,
  115.                  'maxValue' => NULL,
  116.                  'unique' => false,
  117.                  'decimalSize' => NULL,
  118.                  'decimalPrecision' => NULL,
  119.                  'defaultValueGenerator' => '',
  120.               )),
  121.               => 
  122.               \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric::__set_state(array(
  123.                  'name' => 'newsTotal',
  124.                  'title' => 'News Total',
  125.                  'tooltip' => '',
  126.                  'mandatory' => false,
  127.                  'noteditable' => true,
  128.                  'index' => false,
  129.                  'locked' => false,
  130.                  'style' => '',
  131.                  'permissions' => NULL,
  132.                  'datatype' => 'data',
  133.                  'fieldtype' => 'numeric',
  134.                  'relationType' => false,
  135.                  'invisible' => false,
  136.                  'visibleGridView' => false,
  137.                  'visibleSearch' => false,
  138.                  'blockedVarsForExport' => 
  139.                 array (
  140.                 ),
  141.                  'width' => '',
  142.                  'defaultValue' => 0,
  143.                  'integer' => true,
  144.                  'unsigned' => false,
  145.                  'minValue' => NULL,
  146.                  'maxValue' => NULL,
  147.                  'unique' => false,
  148.                  'decimalSize' => NULL,
  149.                  'decimalPrecision' => NULL,
  150.                  'defaultValueGenerator' => '',
  151.               )),
  152.               => 
  153.               \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric::__set_state(array(
  154.                  'name' => 'priority',
  155.                  'title' => 'Priority',
  156.                  'tooltip' => '',
  157.                  'mandatory' => false,
  158.                  'noteditable' => false,
  159.                  'index' => false,
  160.                  'locked' => false,
  161.                  'style' => '',
  162.                  'permissions' => NULL,
  163.                  'datatype' => 'data',
  164.                  'fieldtype' => 'numeric',
  165.                  'relationType' => false,
  166.                  'invisible' => false,
  167.                  'visibleGridView' => false,
  168.                  'visibleSearch' => false,
  169.                  'blockedVarsForExport' => 
  170.                 array (
  171.                 ),
  172.                  'width' => '',
  173.                  'defaultValue' => 9999,
  174.                  'integer' => true,
  175.                  'unsigned' => false,
  176.                  'minValue' => NULL,
  177.                  'maxValue' => NULL,
  178.                  'unique' => false,
  179.                  'decimalSize' => NULL,
  180.                  'decimalPrecision' => NULL,
  181.                  'defaultValueGenerator' => '',
  182.               )),
  183.               => 
  184.               \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation::__set_state(array(
  185.                  'name' => 'destination',
  186.                  'title' => 'Destination',
  187.                  'tooltip' => '',
  188.                  'mandatory' => false,
  189.                  'noteditable' => false,
  190.                  'index' => false,
  191.                  'locked' => false,
  192.                  'style' => '',
  193.                  'permissions' => NULL,
  194.                  'datatype' => 'data',
  195.                  'fieldtype' => 'manyToOneRelation',
  196.                  'relationType' => true,
  197.                  'invisible' => false,
  198.                  'visibleGridView' => false,
  199.                  'visibleSearch' => false,
  200.                  'blockedVarsForExport' => 
  201.                 array (
  202.                 ),
  203.                  'classes' => 
  204.                 array (
  205.                   => 
  206.                   array (
  207.                     'classes' => 'Destination',
  208.                   ),
  209.                 ),
  210.                  'pathFormatterClass' => '',
  211.                  'width' => '',
  212.                  'assetUploadPath' => '',
  213.                  'objectsAllowed' => true,
  214.                  'assetsAllowed' => false,
  215.                  'assetTypes' => 
  216.                 array (
  217.                 ),
  218.                  'documentsAllowed' => false,
  219.                  'documentTypes' => 
  220.                 array (
  221.                 ),
  222.               )),
  223.               => 
  224.               \Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox::__set_state(array(
  225.                  'name' => 'useForSGR',
  226.                  'title' => 'Nếu cate lấy các bài viết từ SunGroup',
  227.                  'tooltip' => '',
  228.                  'mandatory' => false,
  229.                  'noteditable' => false,
  230.                  'index' => false,
  231.                  'locked' => false,
  232.                  'style' => '',
  233.                  'permissions' => NULL,
  234.                  'datatype' => 'data',
  235.                  'fieldtype' => 'checkbox',
  236.                  'relationType' => false,
  237.                  'invisible' => false,
  238.                  'visibleGridView' => false,
  239.                  'visibleSearch' => false,
  240.                  'blockedVarsForExport' => 
  241.                 array (
  242.                 ),
  243.                  'defaultValue' => NULL,
  244.                  'defaultValueGenerator' => '',
  245.               )),
  246.               => 
  247.               \Pimcore\Model\DataObject\ClassDefinition\Data\Localizedfields::__set_state(array(
  248.                  'name' => 'localizedfields',
  249.                  'title' => '',
  250.                  'tooltip' => '',
  251.                  'mandatory' => false,
  252.                  'noteditable' => false,
  253.                  'index' => false,
  254.                  'locked' => false,
  255.                  'style' => '',
  256.                  'permissions' => NULL,
  257.                  'datatype' => 'data',
  258.                  'fieldtype' => 'localizedfields',
  259.                  'relationType' => false,
  260.                  'invisible' => false,
  261.                  'visibleGridView' => true,
  262.                  'visibleSearch' => true,
  263.                  'blockedVarsForExport' => 
  264.                 array (
  265.                 ),
  266.                  'children' => 
  267.                 array (
  268.                   => 
  269.                   \Pimcore\Model\DataObject\ClassDefinition\Data\Input::__set_state(array(
  270.                      'name' => 'slug',
  271.                      'title' => 'Slug',
  272.                      'tooltip' => '',
  273.                      'mandatory' => false,
  274.                      'noteditable' => true,
  275.                      'index' => false,
  276.                      'locked' => false,
  277.                      'style' => '',
  278.                      'permissions' => NULL,
  279.                      'datatype' => 'data',
  280.                      'fieldtype' => 'input',
  281.                      'relationType' => false,
  282.                      'invisible' => false,
  283.                      'visibleGridView' => false,
  284.                      'visibleSearch' => false,
  285.                      'blockedVarsForExport' => 
  286.                     array (
  287.                     ),
  288.                      'width' => '',
  289.                      'defaultValue' => NULL,
  290.                      'columnLength' => 190,
  291.                      'regex' => '',
  292.                      'regexFlags' => 
  293.                     array (
  294.                     ),
  295.                      'unique' => false,
  296.                      'showCharCount' => false,
  297.                      'defaultValueGenerator' => '',
  298.                   )),
  299.                   => 
  300.                   \Pimcore\Model\DataObject\ClassDefinition\Data\Input::__set_state(array(
  301.                      'name' => 'name',
  302.                      'title' => 'Name',
  303.                      'tooltip' => '',
  304.                      'mandatory' => false,
  305.                      'noteditable' => false,
  306.                      'index' => false,
  307.                      'locked' => false,
  308.                      'style' => '',
  309.                      'permissions' => NULL,
  310.                      'datatype' => 'data',
  311.                      'fieldtype' => 'input',
  312.                      'relationType' => false,
  313.                      'invisible' => false,
  314.                      'visibleGridView' => false,
  315.                      'visibleSearch' => false,
  316.                      'blockedVarsForExport' => 
  317.                     array (
  318.                     ),
  319.                      'width' => '',
  320.                      'defaultValue' => NULL,
  321.                      'columnLength' => 190,
  322.                      'regex' => '',
  323.                      'regexFlags' => 
  324.                     array (
  325.                     ),
  326.                      'unique' => false,
  327.                      'showCharCount' => false,
  328.                      'defaultValueGenerator' => '',
  329.                   )),
  330.                   => 
  331.                   \Pimcore\Model\DataObject\ClassDefinition\Data\Textarea::__set_state(array(
  332.                      'name' => 'detailJson',
  333.                      'title' => 'Detail Json',
  334.                      'tooltip' => '',
  335.                      'mandatory' => false,
  336.                      'noteditable' => true,
  337.                      'index' => false,
  338.                      'locked' => false,
  339.                      'style' => '',
  340.                      'permissions' => NULL,
  341.                      'datatype' => 'data',
  342.                      'fieldtype' => 'textarea',
  343.                      'relationType' => false,
  344.                      'invisible' => true,
  345.                      'visibleGridView' => false,
  346.                      'visibleSearch' => false,
  347.                      'blockedVarsForExport' => 
  348.                     array (
  349.                     ),
  350.                      'width' => '',
  351.                      'height' => '',
  352.                      'maxLength' => NULL,
  353.                      'showCharCount' => false,
  354.                      'excludeFromSearchIndex' => false,
  355.                   )),
  356.                 ),
  357.                  'region' => NULL,
  358.                  'layout' => NULL,
  359.                  'width' => '',
  360.                  'height' => '',
  361.                  'maxTabs' => NULL,
  362.                  'border' => false,
  363.                  'provideSplitView' => false,
  364.                  'tabPosition' => NULL,
  365.                  'hideLabelsWhenTabsReached' => NULL,
  366.                  'referencedFields' => 
  367.                 array (
  368.                 ),
  369.                  'fieldDefinitionsCache' => NULL,
  370.                  'permissionView' => NULL,
  371.                  'permissionEdit' => NULL,
  372.                  'labelWidth' => 0,
  373.                  'labelAlign' => 'left',
  374.               )),
  375.               => 
  376.               \Pimcore\Model\DataObject\ClassDefinition\Data\Image::__set_state(array(
  377.                  'name' => 'image',
  378.                  'title' => 'Image',
  379.                  'tooltip' => '',
  380.                  'mandatory' => false,
  381.                  'noteditable' => false,
  382.                  'index' => false,
  383.                  'locked' => false,
  384.                  'style' => '',
  385.                  'permissions' => NULL,
  386.                  'datatype' => 'data',
  387.                  'fieldtype' => 'image',
  388.                  'relationType' => false,
  389.                  'invisible' => false,
  390.                  'visibleGridView' => false,
  391.                  'visibleSearch' => false,
  392.                  'blockedVarsForExport' => 
  393.                 array (
  394.                 ),
  395.                  'width' => '',
  396.                  'height' => '',
  397.                  'uploadPath' => '',
  398.               )),
  399.             ),
  400.              'locked' => false,
  401.              'blockedVarsForExport' => 
  402.             array (
  403.             ),
  404.              'fieldtype' => 'panel',
  405.              'layout' => NULL,
  406.              'border' => false,
  407.              'icon' => '',
  408.              'labelWidth' => 0,
  409.              'labelAlign' => 'left',
  410.           )),
  411.           => 
  412.           \Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  413.              'name' => '[Sun Group] Beloved Vietnam',
  414.              'type' => NULL,
  415.              'region' => NULL,
  416.              'title' => '[Sun Group] Beloved Vietnam',
  417.              'width' => '',
  418.              'height' => '',
  419.              'collapsible' => false,
  420.              'collapsed' => false,
  421.              'bodyStyle' => '',
  422.              'datatype' => 'layout',
  423.              'permissions' => NULL,
  424.              'children' => 
  425.             array (
  426.               => 
  427.               \Pimcore\Model\DataObject\ClassDefinition\Layout\Text::__set_state(array(
  428.                  'name' => 'Layout',
  429.                  'type' => NULL,
  430.                  'region' => NULL,
  431.                  'title' => '',
  432.                  'width' => '',
  433.                  'height' => '',
  434.                  'collapsible' => false,
  435.                  'collapsed' => false,
  436.                  'bodyStyle' => '',
  437.                  'datatype' => 'layout',
  438.                  'permissions' => NULL,
  439.                  'children' => 
  440.                 array (
  441.                 ),
  442.                  'locked' => false,
  443.                  'blockedVarsForExport' => 
  444.                 array (
  445.                 ),
  446.                  'fieldtype' => 'text',
  447.                  'html' => '<font color="#ff0000">​Các cấu hình ở mục này chỉ áp dụng cho website SunGroup</font>',
  448.                  'renderingClass' => '',
  449.                  'renderingData' => '',
  450.                  'border' => false,
  451.               )),
  452.               => 
  453.               \Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox::__set_state(array(
  454.                  'name' => 'isBeloved',
  455.                  'title' => 'Chọn nếu là phân loại cho Beloved Vietnam',
  456.                  'tooltip' => '',
  457.                  'mandatory' => false,
  458.                  'noteditable' => false,
  459.                  'index' => false,
  460.                  'locked' => false,
  461.                  'style' => '',
  462.                  'permissions' => NULL,
  463.                  'datatype' => 'data',
  464.                  'fieldtype' => 'checkbox',
  465.                  'relationType' => false,
  466.                  'invisible' => false,
  467.                  'visibleGridView' => false,
  468.                  'visibleSearch' => false,
  469.                  'blockedVarsForExport' => 
  470.                 array (
  471.                 ),
  472.                  'defaultValue' => NULL,
  473.                  'defaultValueGenerator' => '',
  474.               )),
  475.               => 
  476.               \Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox::__set_state(array(
  477.                  'name' => 'isStillCategory',
  478.                  'title' => 'Chọn thêm nếu muốn phân loại này vẫn hiển thị ở trang Tin tức',
  479.                  'tooltip' => 'Cần chọn cả mục ở trên',
  480.                  'mandatory' => false,
  481.                  'noteditable' => false,
  482.                  'index' => false,
  483.                  'locked' => false,
  484.                  'style' => '',
  485.                  'permissions' => NULL,
  486.                  'datatype' => 'data',
  487.                  'fieldtype' => 'checkbox',
  488.                  'relationType' => false,
  489.                  'invisible' => false,
  490.                  'visibleGridView' => false,
  491.                  'visibleSearch' => false,
  492.                  'blockedVarsForExport' => 
  493.                 array (
  494.                 ),
  495.                  'defaultValue' => NULL,
  496.                  'defaultValueGenerator' => '',
  497.               )),
  498.             ),
  499.              'locked' => false,
  500.              'blockedVarsForExport' => 
  501.             array (
  502.             ),
  503.              'fieldtype' => 'panel',
  504.              'layout' => NULL,
  505.              'border' => false,
  506.              'icon' => '',
  507.              'labelWidth' => 0,
  508.              'labelAlign' => 'left',
  509.           )),
  510.           => 
  511.           \Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  512.              'name' => 'Sun property setting',
  513.              'type' => NULL,
  514.              'region' => NULL,
  515.              'title' => 'Sun property setting',
  516.              'width' => '',
  517.              'height' => '',
  518.              'collapsible' => false,
  519.              'collapsed' => false,
  520.              'bodyStyle' => '',
  521.              'datatype' => 'layout',
  522.              'permissions' => NULL,
  523.              'children' => 
  524.             array (
  525.               => 
  526.               \Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox::__set_state(array(
  527.                  'name' => 'isHandBook',
  528.                  'title' => 'Là cẩm nang BĐS',
  529.                  'tooltip' => '',
  530.                  'mandatory' => false,
  531.                  'noteditable' => false,
  532.                  'index' => false,
  533.                  'locked' => false,
  534.                  'style' => '',
  535.                  'permissions' => NULL,
  536.                  'datatype' => 'data',
  537.                  'fieldtype' => 'checkbox',
  538.                  'relationType' => false,
  539.                  'invisible' => false,
  540.                  'visibleGridView' => false,
  541.                  'visibleSearch' => false,
  542.                  'blockedVarsForExport' => 
  543.                 array (
  544.                 ),
  545.                  'defaultValue' => NULL,
  546.                  'defaultValueGenerator' => '',
  547.               )),
  548.             ),
  549.              'locked' => false,
  550.              'blockedVarsForExport' => 
  551.             array (
  552.             ),
  553.              'fieldtype' => 'panel',
  554.              'layout' => NULL,
  555.              'border' => false,
  556.              'icon' => '',
  557.              'labelWidth' => 200,
  558.              'labelAlign' => 'left',
  559.           )),
  560.         ),
  561.          'locked' => false,
  562.          'blockedVarsForExport' => 
  563.         array (
  564.         ),
  565.          'fieldtype' => 'tabpanel',
  566.          'border' => false,
  567.          'tabPosition' => NULL,
  568.       )),
  569.     ),
  570.      'locked' => false,
  571.      'blockedVarsForExport' => 
  572.     array (
  573.     ),
  574.      'fieldtype' => 'panel',
  575.      'layout' => NULL,
  576.      'border' => false,
  577.      'icon' => NULL,
  578.      'labelWidth' => 100,
  579.      'labelAlign' => 'left',
  580.   )),
  581.    'icon' => '',
  582.    'previewUrl' => '',
  583.    'group' => '',
  584.    'showAppLoggerTab' => false,
  585.    'linkGeneratorReference' => '',
  586.    'previewGeneratorReference' => '',
  587.    'compositeIndices' => 
  588.   array (
  589.   ),
  590.    'generateTypeDeclarations' => true,
  591.    'showFieldLookup' => false,
  592.    'propertyVisibility' => 
  593.   array (
  594.     'grid' => 
  595.     array (
  596.       'id' => true,
  597.       'key' => false,
  598.       'path' => true,
  599.       'published' => true,
  600.       'modificationDate' => true,
  601.       'creationDate' => true,
  602.     ),
  603.     'search' => 
  604.     array (
  605.       'id' => true,
  606.       'key' => false,
  607.       'path' => true,
  608.       'published' => true,
  609.       'modificationDate' => true,
  610.       'creationDate' => true,
  611.     ),
  612.   ),
  613.    'enableGridLocking' => false,
  614.    'deletedDataComponents' => 
  615.   array (
  616.   ),
  617.    'blockedVarsForExport' => 
  618.   array (
  619.   ),
  620.    'activeDispatchingEvents' => 
  621.   array (
  622.   ),
  623. ));