Skip to content

Commit

Permalink
[Task] Update class and custom layout definitions (#489)
Browse files Browse the repository at this point in the history
* Updated class definitions

* Updated custom layouts
  • Loading branch information
mcop1 authored May 9, 2023
1 parent 9951903 commit 69927fe
Show file tree
Hide file tree
Showing 24 changed files with 4,825 additions and 14,086 deletions.
2,072 changes: 421 additions & 1,651 deletions var/classes/customlayouts/custom_definition_CarReview.php

Large diffs are not rendered by default.

224 changes: 118 additions & 106 deletions var/classes/customlayouts/custom_definition_CarTodo.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
<?php
<?php

/**
*/
/**
*/


return Pimcore\Model\DataObject\ClassDefinition\CustomLayout::__set_state(array(
'dao' => NULL,
'id' => 'CarTodo',
'name' => 'Todo',
'description' => '',
'creationDate' => 1566996476,
'modificationDate' => 1614249267,
'modificationDate' => 1683552878,
'userOwner' => 2,
'userModification' => 0,
'classId' => 'CAR',
'layoutDefinitions' =>
Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
'fieldtype' => 'panel',
'layout' => NULL,
'border' => false,
'name' => 'pimcore_root',
'type' => NULL,
'region' => NULL,
Expand All @@ -29,13 +27,10 @@
'bodyStyle' => NULL,
'datatype' => 'layout',
'permissions' => NULL,
'childs' =>
'children' =>
array (
0 =>
Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
'fieldtype' => 'panel',
'layout' => NULL,
'border' => false,
'name' => 'Basedata',
'type' => NULL,
'region' => NULL,
Expand All @@ -47,24 +42,32 @@
'bodyStyle' => '',
'datatype' => 'layout',
'permissions' => NULL,
'childs' =>
'children' =>
array (
0 =>
Pimcore\Model\DataObject\ClassDefinition\Data\Localizedfields::__set_state(array(
'name' => 'localizedfields',
'title' => '',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => NULL,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'localizedfields',
'childs' =>
'relationType' => false,
'invisible' => false,
'visibleGridView' => true,
'visibleSearch' => true,
'blockedVarsForExport' =>
array (
),
'children' =>
array (
0 =>
Pimcore\Model\DataObject\ClassDefinition\Data\Input::__set_state(array(
'fieldtype' => 'input',
'width' => NULL,
'defaultValue' => NULL,
'queryColumnType' => 'varchar',
'columnType' => 'varchar',
'columnLength' => 190,
'regex' => '',
'unique' => false,
'showCharCount' => false,
'name' => 'name',
'title' => 'Name',
'tooltip' => '',
Expand All @@ -75,21 +78,27 @@
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'input',
'relationType' => false,
'invisible' => false,
'visibleGridView' => true,
'visibleSearch' => true,
'blockedVarsForExport' =>
array (
),
'width' => NULL,
'defaultValue' => NULL,
'columnLength' => 190,
'regex' => '',
'regexFlags' =>
array (
),
'unique' => false,
'showCharCount' => false,
'defaultValueGenerator' => '',
)),
1 =>
Pimcore\Model\DataObject\ClassDefinition\Data\Wysiwyg::__set_state(array(
'fieldtype' => 'wysiwyg',
'width' => '',
'height' => '',
'queryColumnType' => 'longtext',
'columnType' => 'longtext',
'toolbarConfig' => '',
'excludeFromSearchIndex' => false,
'name' => 'description',
'title' => 'Description',
'tooltip' => '',
Expand All @@ -100,16 +109,23 @@
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'fieldtype' => 'wysiwyg',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'width' => '',
'height' => '',
'toolbarConfig' => '',
'excludeFromSearchIndex' => false,
'maxCharacters' => 0,
)),
),
'name' => 'localizedfields',
'region' => NULL,
'layout' => NULL,
'title' => '',
'width' => '',
'height' => '',
'maxTabs' => NULL,
Expand All @@ -121,38 +137,39 @@
array (
),
'fieldDefinitionsCache' => NULL,
'permissionView' =>
array (
),
'permissionEdit' =>
array (
),
'labelWidth' => 0,
'labelAlign' => 'left',
)),
1 =>
Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation::__set_state(array(
'name' => 'manufacturer',
'title' => 'Manufacturer',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => NULL,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'relationType' => false,
'invisible' => false,
'visibleGridView' => true,
'visibleSearch' => true,
'labelWidth' => NULL,
'labelAlign' => 'left',
)),
1 =>
Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation::__set_state(array(
'fieldtype' => 'manyToOneRelation',
'width' => 400,
'assetUploadPath' => '',
'relationType' => true,
'queryColumnType' =>
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
'id' => 'int(11)',
'type' => 'enum(\'document\',\'asset\',\'object\')',
),
'classes' =>
array (
0 =>
array (
'classes' => 'Manufacturer',
),
),
'pathFormatterClass' => '',
'width' => 400,
'assetUploadPath' => '',
'objectsAllowed' => true,
'assetsAllowed' => false,
'assetTypes' =>
Expand All @@ -162,16 +179,11 @@
'documentTypes' =>
array (
),
'classes' =>
array (
0 =>
array (
'classes' => 'Manufacturer',
),
),
'pathFormatterClass' => '',
'name' => 'manufacturer',
'title' => 'Manufacturer',
)),
2 =>
Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation::__set_state(array(
'name' => 'bodyStyle',
'title' => 'Body Style',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
Expand All @@ -180,21 +192,24 @@
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
)),
2 =>
Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation::__set_state(array(
'fieldtype' => 'manyToOneRelation',
'width' => 400,
'assetUploadPath' => '',
'relationType' => true,
'queryColumnType' =>
'invisible' => false,
'visibleGridView' => true,
'visibleSearch' => true,
'blockedVarsForExport' =>
array (
'id' => 'int(11)',
'type' => 'enum(\'document\',\'asset\',\'object\')',
),
'classes' =>
array (
0 =>
array (
'classes' => 'BodyStyle',
),
),
'pathFormatterClass' => '',
'width' => 400,
'assetUploadPath' => '',
'objectsAllowed' => true,
'assetsAllowed' => false,
'assetTypes' =>
Expand All @@ -204,16 +219,11 @@
'documentTypes' =>
array (
),
'classes' =>
array (
0 =>
array (
'classes' => 'BodyStyle',
),
),
'pathFormatterClass' => '',
'name' => 'bodyStyle',
'title' => 'Body Style',
)),
3 =>
Pimcore\Model\DataObject\ClassDefinition\Data\Select::__set_state(array(
'name' => 'carClass',
'title' => 'Class',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
Expand All @@ -222,13 +232,14 @@
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'invisible' => false,
'visibleGridView' => true,
'visibleSearch' => true,
)),
3 =>
Pimcore\Model\DataObject\ClassDefinition\Data\Select::__set_state(array(
'fieldtype' => 'select',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'blockedVarsForExport' =>
array (
),
'options' =>
array (
0 =>
Expand Down Expand Up @@ -296,38 +307,39 @@
'defaultValue' => '',
'optionsProviderClass' => '',
'optionsProviderData' => '',
'queryColumnType' => 'varchar',
'columnType' => 'varchar',
'columnLength' => 190,
'dynamicOptions' => false,
'name' => 'carClass',
'title' => 'Class',
'tooltip' => '',
'mandatory' => false,
'noteditable' => false,
'index' => false,
'locked' => false,
'style' => '',
'permissions' => NULL,
'datatype' => 'data',
'relationType' => false,
'invisible' => false,
'visibleGridView' => false,
'visibleSearch' => false,
'defaultValueGenerator' => '',
)),
),
'locked' => false,
'blockedVarsForExport' =>
array (
),
'fieldtype' => 'panel',
'layout' => NULL,
'border' => false,
'icon' => NULL,
'labelWidth' => 100,
'labelAlign' => 'left',
)),
),
'locked' => false,
'blockedVarsForExport' =>
array (
),
'fieldtype' => 'panel',
'layout' => NULL,
'border' => false,
'icon' => NULL,
'labelWidth' => 100,
'labelAlign' => 'left',
)),
'default' => 0,
'dao' => NULL,
'blockedVarsForExport' =>
array (
),
'activeDispatchingEvents' =>
array (
),
));
Loading

0 comments on commit 69927fe

Please sign in to comment.