<?php
/**
* Inheritance: no
* Variants: no
*
* Fields Summary:
* - siteId [numeric]
* - newsTotal [numeric]
* - priority [numeric]
* - destination [manyToOneRelation]
* - useForSGR [checkbox]
* - localizedfields [localizedfields]
* -- slug [input]
* -- name [input]
* -- detailJson [textarea]
* - image [image]
* - isBeloved [checkbox]
* - isStillCategory [checkbox]
* - isHandBook [checkbox]
*/
return \Pimcore\Model\DataObject\ClassDefinition::__set_state(array(
'dao' => NULL,
'id' => 'newscategory',
'name' => 'Newscategory',
'description' => '',
'creationDate' => 0,
'modificationDate' => 1765860587,
'userOwner' => 2,
'userModification' => 2,
'parentClass' => '',
'implementsInterfaces' => '',
'listingParentClass' => '',
'useTraits' => '',
'listingUseTraits' => '',
'encryption' => false,
'encryptedTables' =>
array (
),
'allowInherit' => false,
'allowVariants' => false,
'showVariants' => false,
'fieldDefinitions' =>
array (
),
'layoutDefinitions' =>
\Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
'name' => 'pimcore_root',
'type' => NULL,
'region' => NULL,
'title' => NULL,
'width' => 0,
'height' => 0,
'collapsible' => false,
'collapsed' => false,
'bodyStyle' => NULL,
'datatype' => 'layout',
'permissions' => NULL,
'children' =>
array (
0 =>
\Pimcore\Model\DataObject\ClassDefinition\Layout\Tabpanel::__set_state(array(
'name' => 'layout',
'type' => NULL,
'region' => NULL,
'title' => '',
'width' => '',
'height' => '',
'collapsible' => false,
'collapsed' => false,
'bodyStyle' => '',
'datatype' => 'layout',
'permissions' => NULL,
'children' =>
array (
0 =>
\Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
'name' => 'base',
'type' => NULL,
'region' => NULL,
'title' => 'Base',
'width' => '',
'height' => '',
'collapsible' => false,
'collapsed' => false,
'bodyStyle' => '',
'datatype' => 'layout',
'permissions' => NULL,
'children' =>
array (
0 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Numeric::__set_state(array(
'name' => 'siteId',
'title' => 'Site ID',
'tooltip' => '',
'mandatory' => false,
'noteditable' => true,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'numeric',
'relationType' => false,
'invisible' => true,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'width' => '',
'defaultValue' => NULL,
'integer' => true,
'unsigned' => false,
'minValue' => NULL,
'maxValue' => NULL,
'unique' => false,
'decimalSize' => NULL,
'decimalPrecision' => NULL,
'defaultValueGenerator' => '',
)),
1 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Numeric::__set_state(array(
'name' => 'newsTotal',
'title' => 'News Total',
'tooltip' => '',
'mandatory' => false,
'noteditable' => true,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'numeric',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'width' => '',
'defaultValue' => 0,
'integer' => true,
'unsigned' => false,
'minValue' => NULL,
'maxValue' => NULL,
'unique' => false,
'decimalSize' => NULL,
'decimalPrecision' => NULL,
'defaultValueGenerator' => '',
)),
2 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Numeric::__set_state(array(
'name' => 'priority',
'title' => 'Priority',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'numeric',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'width' => '',
'defaultValue' => 9999,
'integer' => true,
'unsigned' => false,
'minValue' => NULL,
'maxValue' => NULL,
'unique' => false,
'decimalSize' => NULL,
'decimalPrecision' => NULL,
'defaultValueGenerator' => '',
)),
3 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation::__set_state(array(
'name' => 'destination',
'title' => 'Destination',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'manyToOneRelation',
'relationType' => true,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'classes' =>
array (
0 =>
array (
'classes' => 'Destination',
),
),
'pathFormatterClass' => '',
'width' => '',
'assetUploadPath' => '',
'objectsAllowed' => true,
'assetsAllowed' => false,
'assetTypes' =>
array (
),
'documentsAllowed' => false,
'documentTypes' =>
array (
),
)),
4 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox::__set_state(array(
'name' => 'useForSGR',
'title' => 'Nếu cate lấy các bài viết từ SunGroup',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'checkbox',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'defaultValue' => NULL,
'defaultValueGenerator' => '',
)),
5 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Localizedfields::__set_state(array(
'name' => 'localizedfields',
'title' => '',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'localizedfields',
'relationType' => false,
'invisible' => false,
'visibleGridView' => true,
'visibleSearch' => true,
'blockedVarsForExport' =>
array (
),
'children' =>
array (
0 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Input::__set_state(array(
'name' => 'slug',
'title' => 'Slug',
'tooltip' => '',
'mandatory' => false,
'noteditable' => true,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'input',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'width' => '',
'defaultValue' => NULL,
'columnLength' => 190,
'regex' => '',
'regexFlags' =>
array (
),
'unique' => false,
'showCharCount' => false,
'defaultValueGenerator' => '',
)),
1 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Input::__set_state(array(
'name' => 'name',
'title' => 'Name',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'input',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'width' => '',
'defaultValue' => NULL,
'columnLength' => 190,
'regex' => '',
'regexFlags' =>
array (
),
'unique' => false,
'showCharCount' => false,
'defaultValueGenerator' => '',
)),
2 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Textarea::__set_state(array(
'name' => 'detailJson',
'title' => 'Detail Json',
'tooltip' => '',
'mandatory' => false,
'noteditable' => true,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'textarea',
'relationType' => false,
'invisible' => true,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'width' => '',
'height' => '',
'maxLength' => NULL,
'showCharCount' => false,
'excludeFromSearchIndex' => false,
)),
),
'region' => NULL,
'layout' => NULL,
'width' => '',
'height' => '',
'maxTabs' => NULL,
'border' => false,
'provideSplitView' => false,
'tabPosition' => NULL,
'hideLabelsWhenTabsReached' => NULL,
'referencedFields' =>
array (
),
'fieldDefinitionsCache' => NULL,
'permissionView' => NULL,
'permissionEdit' => NULL,
'labelWidth' => 0,
'labelAlign' => 'left',
)),
6 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Image::__set_state(array(
'name' => 'image',
'title' => 'Image',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'image',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'width' => '',
'height' => '',
'uploadPath' => '',
)),
),
'locked' => false,
'blockedVarsForExport' =>
array (
),
'fieldtype' => 'panel',
'layout' => NULL,
'border' => false,
'icon' => '',
'labelWidth' => 0,
'labelAlign' => 'left',
)),
1 =>
\Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
'name' => '[Sun Group] Beloved Vietnam',
'type' => NULL,
'region' => NULL,
'title' => '[Sun Group] Beloved Vietnam',
'width' => '',
'height' => '',
'collapsible' => false,
'collapsed' => false,
'bodyStyle' => '',
'datatype' => 'layout',
'permissions' => NULL,
'children' =>
array (
0 =>
\Pimcore\Model\DataObject\ClassDefinition\Layout\Text::__set_state(array(
'name' => 'Layout',
'type' => NULL,
'region' => NULL,
'title' => '',
'width' => '',
'height' => '',
'collapsible' => false,
'collapsed' => false,
'bodyStyle' => '',
'datatype' => 'layout',
'permissions' => NULL,
'children' =>
array (
),
'locked' => false,
'blockedVarsForExport' =>
array (
),
'fieldtype' => 'text',
'html' => '<font color="#ff0000">Các cấu hình ở mục này chỉ áp dụng cho website SunGroup</font>',
'renderingClass' => '',
'renderingData' => '',
'border' => false,
)),
1 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox::__set_state(array(
'name' => 'isBeloved',
'title' => 'Chọn nếu là phân loại cho Beloved Vietnam',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'checkbox',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'defaultValue' => NULL,
'defaultValueGenerator' => '',
)),
2 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox::__set_state(array(
'name' => 'isStillCategory',
'title' => 'Chọn thêm nếu muốn phân loại này vẫn hiển thị ở trang Tin tức',
'tooltip' => 'Cần chọn cả mục ở trên',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'checkbox',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'defaultValue' => NULL,
'defaultValueGenerator' => '',
)),
),
'locked' => false,
'blockedVarsForExport' =>
array (
),
'fieldtype' => 'panel',
'layout' => NULL,
'border' => false,
'icon' => '',
'labelWidth' => 0,
'labelAlign' => 'left',
)),
2 =>
\Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
'name' => 'Sun property setting',
'type' => NULL,
'region' => NULL,
'title' => 'Sun property setting',
'width' => '',
'height' => '',
'collapsible' => false,
'collapsed' => false,
'bodyStyle' => '',
'datatype' => 'layout',
'permissions' => NULL,
'children' =>
array (
0 =>
\Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox::__set_state(array(
'name' => 'isHandBook',
'title' => 'Là cẩm nang BĐS',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'checkbox',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'defaultValue' => NULL,
'defaultValueGenerator' => '',
)),
),
'locked' => false,
'blockedVarsForExport' =>
array (
),
'fieldtype' => 'panel',
'layout' => NULL,
'border' => false,
'icon' => '',
'labelWidth' => 200,
'labelAlign' => 'left',
)),
),
'locked' => false,
'blockedVarsForExport' =>
array (
),
'fieldtype' => 'tabpanel',
'border' => false,
'tabPosition' => NULL,
)),
),
'locked' => false,
'blockedVarsForExport' =>
array (
),
'fieldtype' => 'panel',
'layout' => NULL,
'border' => false,
'icon' => NULL,
'labelWidth' => 100,
'labelAlign' => 'left',
)),
'icon' => '',
'previewUrl' => '',
'group' => '',
'showAppLoggerTab' => false,
'linkGeneratorReference' => '',
'previewGeneratorReference' => '',
'compositeIndices' =>
array (
),
'generateTypeDeclarations' => true,
'showFieldLookup' => false,
'propertyVisibility' =>
array (
'grid' =>
array (
'id' => true,
'key' => false,
'path' => true,
'published' => true,
'modificationDate' => true,
'creationDate' => true,
),
'search' =>
array (
'id' => true,
'key' => false,
'path' => true,
'published' => true,
'modificationDate' => true,
'creationDate' => true,
),
),
'enableGridLocking' => false,
'deletedDataComponents' =>
array (
),
'blockedVarsForExport' =>
array (
),
'activeDispatchingEvents' =>
array (
),
));