diff --git a/dump/data-0-bootstrap.sql b/dump/data-0-bootstrap.sql index c861202f..4cd2b211 100644 --- a/dump/data-0-bootstrap.sql +++ b/dump/data-0-bootstrap.sql @@ -1854,6 +1854,7 @@ CREATE TABLE `object_query_EV` ( `contactEmail` varchar(190) DEFAULT NULL, `contactAddress` longtext DEFAULT NULL, `cars` text DEFAULT NULL, + `status` varchar(190) DEFAULT NULL, PRIMARY KEY (`oo_id`), CONSTRAINT `fk_object_query_EV__oo_id` FOREIGN KEY (`oo_id`) REFERENCES `objects` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; @@ -2708,6 +2709,7 @@ CREATE TABLE `object_store_EV` ( `contactPhone` varchar(190) DEFAULT NULL, `contactEmail` varchar(190) DEFAULT NULL, `contactAddress` longtext DEFAULT NULL, + `status` varchar(190) DEFAULT NULL, PRIMARY KEY (`oo_id`), CONSTRAINT `fk_object_store_EV__oo_id` FOREIGN KEY (`oo_id`) REFERENCES `objects` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; diff --git a/dump/data-1-object_query_EV.sql b/dump/data-1-object_query_EV.sql index 792ff0b0..cd72e254 100644 --- a/dump/data-1-object_query_EV.sql +++ b/dump/data-1-object_query_EV.sql @@ -1,11 +1,11 @@ SET NAMES utf8mb4; -INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`) VALUES (1120,'EV','Event',',Retro,1970,Salzburg,','Messezentrum Salzburg GmbH, Salzburg, Austria',13.029676192221,47.8235801,1569740400,1569859200,401,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',321,325,350,250,268,192,205,'); -INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`) VALUES (1121,'EV','Event',',Trade Show,1950,Salzburg,','Messezentrum Salzburg GmbH, Salzburg, Austria',13.029676192221,47.8235801,1569481200,1585328400,402,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',43,53,63,70,74,82,90,'); -INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`) VALUES (1122,'EV','Event',',Retro,Wels,','Messe Wels GmbH, Wels, Austria',14.0183948,48.1523808,1570255200,1570374000,403,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',30,26,259,265,280,292,'); -INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`) VALUES (1123,'EV','Event',',Retro,Trade Show,Vienna,','Reed Messe Wien, Vienna, Austria',16.409917497177,48.215057,1569394800,1569699000,404,'a:8:{s:4:\"type\";s:7:\"youtube\";s:4:\"data\";s:11:\"HjFbyUVehR0\";s:6:\"poster\";s:0:\"\";s:5:\"title\";s:0:\"\";s:11:\"description\";s:0:\"\";s:6:\"_owner\";N;s:10:\"_fieldname\";s:0:\"\";s:9:\"_language\";N;}','','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',312,316,305,20,26,247,245,'); -INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`) VALUES (1124,'EV','Event',',Trade Show,Retro,Vienna,','Reed Messe Wien, Vienna, Austria',16.409917497177,48.215057,1570633200,1570820400,405,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',20,31,38,120,157,172,200,'); -INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`) VALUES (1125,'EV','Event',',Retro,Trade Show,International,','Congress Center Messe Frankfurt, Frankfurt, Germany',8.6479316880145,50.1115525,1569650400,1569855600,406,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',217,220,232,277,279,283,295,'); -INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`) VALUES (1126,'EV','Event',',Trade Show,Retro,1960,','Tyrol, South Tyrol, Graubünden, Austria.',11.22963726417,46.65594215,1569916800,1570024800,407,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',360,351,348,338,305,321,'); -INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`) VALUES (1127,'EV','Event',',1970,Trade Show,International,','Messe Erfurt GmbH, Erfurt, Germany',10.9900029,50.9603668,1569402000,1569693600,408,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',38,51,133,202,216,245,266,294,'); +INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`,`status`) VALUES (1120,'EV','Event',',Retro,1970,Salzburg,','Messezentrum Salzburg GmbH, Salzburg, Austria',13.029676192221,47.8235801,1569740400,1569859200,401,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',321,325,350,250,268,192,205,',NULL); +INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`,`status`) VALUES (1121,'EV','Event',',Trade Show,1950,Salzburg,','Messezentrum Salzburg GmbH, Salzburg, Austria',13.029676192221,47.8235801,1569481200,1585328400,402,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',43,53,63,70,74,82,90,','Scheduled'); +INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`,`status`) VALUES (1122,'EV','Event',',Retro,Wels,','Messe Wels GmbH, Wels, Austria',14.0183948,48.1523808,1570255200,1570374000,403,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',30,26,259,265,280,292,',NULL); +INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`,`status`) VALUES (1123,'EV','Event',',Retro,Trade Show,Vienna,','Reed Messe Wien, Vienna, Austria',16.409917497177,48.215057,1569394800,1569699000,404,'a:8:{s:4:\"type\";s:7:\"youtube\";s:4:\"data\";s:11:\"HjFbyUVehR0\";s:6:\"poster\";s:0:\"\";s:5:\"title\";s:0:\"\";s:11:\"description\";s:0:\"\";s:6:\"_owner\";N;s:10:\"_fieldname\";s:0:\"\";s:9:\"_language\";N;}','','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',312,316,305,20,26,247,245,',NULL); +INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`,`status`) VALUES (1124,'EV','Event',',Trade Show,Retro,Vienna,','Reed Messe Wien, Vienna, Austria',16.409917497177,48.215057,1570633200,1570820400,405,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',20,31,38,120,157,172,200,',NULL); +INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`,`status`) VALUES (1125,'EV','Event',',Retro,Trade Show,International,','Congress Center Messe Frankfurt, Frankfurt, Germany',8.6479316880145,50.1115525,1569650400,1569855600,406,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',217,220,232,277,279,283,295,',NULL); +INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`,`status`) VALUES (1126,'EV','Event',',Trade Show,Retro,1960,','Tyrol, South Tyrol, Graubünden, Austria.',11.22963726417,46.65594215,1569916800,1570024800,407,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',360,351,348,338,305,321,',NULL); +INSERT INTO object_query_EV (`oo_id`,`oo_classId`,`oo_className`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`cars`,`status`) VALUES (1127,'EV','Event',',1970,Trade Show,International,','Messe Erfurt GmbH, Erfurt, Germany',10.9900029,50.9603668,1569402000,1569693600,408,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',',38,51,133,202,216,245,266,294,',NULL); diff --git a/dump/data-1-object_store_EV.sql b/dump/data-1-object_store_EV.sql index 5cd5e369..4269e6cf 100644 --- a/dump/data-1-object_store_EV.sql +++ b/dump/data-1-object_store_EV.sql @@ -1,11 +1,11 @@ SET NAMES utf8mb4; -INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`) VALUES (1120,'Retro,1970,Salzburg','Messezentrum Salzburg GmbH, Salzburg, Austria',13.029676192221,47.8235801,1569740400,1569859200,401,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com',''); -INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`) VALUES (1121,'Trade Show,1950,Salzburg','Messezentrum Salzburg GmbH, Salzburg, Austria',13.029676192221,47.8235801,1569481200,1585328400,402,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com',''); -INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`) VALUES (1122,'Retro,Wels','Messe Wels GmbH, Wels, Austria',14.0183948,48.1523808,1570255200,1570374000,403,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com',''); -INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`) VALUES (1123,'Retro,Trade Show,Vienna','Reed Messe Wien, Vienna, Austria',16.409917497177,48.215057,1569394800,1569699000,404,'a:8:{s:4:\"type\";s:7:\"youtube\";s:4:\"data\";s:11:\"HjFbyUVehR0\";s:6:\"poster\";s:0:\"\";s:5:\"title\";s:0:\"\";s:11:\"description\";s:0:\"\";s:6:\"_owner\";N;s:10:\"_fieldname\";s:0:\"\";s:9:\"_language\";N;}','','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com',''); -INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`) VALUES (1124,'Trade Show,Retro,Vienna','Reed Messe Wien, Vienna, Austria',16.409917497177,48.215057,1570633200,1570820400,405,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com',''); -INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`) VALUES (1125,'Retro,Trade Show,International','Congress Center Messe Frankfurt, Frankfurt, Germany',8.6479316880145,50.1115525,1569650400,1569855600,406,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com',''); -INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`) VALUES (1126,'Trade Show,Retro,1960','Tyrol, South Tyrol, Graubünden, Austria.',11.22963726417,46.65594215,1569916800,1570024800,407,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com',''); -INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`) VALUES (1127,'1970,Trade Show,International','Messe Erfurt GmbH, Erfurt, Germany',10.9900029,50.9603668,1569402000,1569693600,408,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com',''); +INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`status`) VALUES (1120,'Retro,1970,Salzburg','Messezentrum Salzburg GmbH, Salzburg, Austria',13.029676192221,47.8235801,1569740400,1569859200,401,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',NULL); +INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`status`) VALUES (1121,'Trade Show,1950,Salzburg','Messezentrum Salzburg GmbH, Salzburg, Austria',13.029676192221,47.8235801,1569481200,1585328400,402,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','','Scheduled'); +INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`status`) VALUES (1122,'Retro,Wels','Messe Wels GmbH, Wels, Austria',14.0183948,48.1523808,1570255200,1570374000,403,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',NULL); +INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`status`) VALUES (1123,'Retro,Trade Show,Vienna','Reed Messe Wien, Vienna, Austria',16.409917497177,48.215057,1569394800,1569699000,404,'a:8:{s:4:\"type\";s:7:\"youtube\";s:4:\"data\";s:11:\"HjFbyUVehR0\";s:6:\"poster\";s:0:\"\";s:5:\"title\";s:0:\"\";s:11:\"description\";s:0:\"\";s:6:\"_owner\";N;s:10:\"_fieldname\";s:0:\"\";s:9:\"_language\";N;}','','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',NULL); +INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`status`) VALUES (1124,'Trade Show,Retro,Vienna','Reed Messe Wien, Vienna, Austria',16.409917497177,48.215057,1570633200,1570820400,405,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',NULL); +INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`status`) VALUES (1125,'Retro,Trade Show,International','Congress Center Messe Frankfurt, Frankfurt, Germany',8.6479316880145,50.1115525,1569650400,1569855600,406,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',NULL); +INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`status`) VALUES (1126,'Trade Show,Retro,1960','Tyrol, South Tyrol, Graubünden, Austria.',11.22963726417,46.65594215,1569916800,1570024800,407,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',NULL); +INSERT INTO object_store_EV (`oo_id`,`tags`,`locationAddress`,`locationMap__longitude`,`locationMap__latitude`,`fromDate`,`toDate`,`mainImage`,`video`,`images__images`,`images__hotspots`,`contactName`,`contactPhone`,`contactEmail`,`contactAddress`,`status`) VALUES (1127,'1970,Trade Show,International','Messe Erfurt GmbH, Erfurt, Germany',10.9900029,50.9603668,1569402000,1569693600,408,NULL,'','a:0:{}','John Doe','+43-6776-000000','john.doe@mail.com','',NULL); diff --git a/dump/data-1-users_permission_definitions.sql b/dump/data-1-users_permission_definitions.sql index de00fd3a..54f90ab3 100644 --- a/dump/data-1-users_permission_definitions.sql +++ b/dump/data-1-users_permission_definitions.sql @@ -47,6 +47,7 @@ INSERT INTO users_permission_definitions (`key`,`category`) VALUES ('reports_con INSERT INTO users_permission_definitions (`key`,`category`) VALUES ('robots.txt','Pimcore Seo Bundle'); INSERT INTO users_permission_definitions (`key`,`category`) VALUES ('routes','Pimcore Static Routes Bundle'); INSERT INTO users_permission_definitions (`key`,`category`) VALUES ('seemode',''); +INSERT INTO users_permission_definitions (`key`,`category`) VALUES ('selectoptions',''); INSERT INTO users_permission_definitions (`key`,`category`) VALUES ('seo_document_editor','Pimcore Seo Bundle'); INSERT INTO users_permission_definitions (`key`,`category`) VALUES ('share_configurations',''); INSERT INTO users_permission_definitions (`key`,`category`) VALUES ('system_appearance_settings','Pimcore Admin Bundle'); diff --git a/var/classes/definition_Event.php b/var/classes/definition_Event.php index a828a6f7..693b827c 100644 --- a/var/classes/definition_Event.php +++ b/var/classes/definition_Event.php @@ -11,6 +11,7 @@ * - tags [multiselect] * - locationAddress [textarea] * - locationMap [geopoint] + * - status [select] * - fromDate [datetime] * - toDate [datetime] * - cars [manyToManyObjectRelation] @@ -30,7 +31,7 @@ 'title' => '', 'description' => '', 'creationDate' => 0, - 'modificationDate' => 1693492263, + 'modificationDate' => 1698143169, 'userOwner' => 2, 'userModification' => 2, 'parentClass' => '', @@ -263,11 +264,12 @@ ), 'maxItems' => NULL, 'renderType' => 'tags', - 'optionsProviderClass' => '', - 'optionsProviderData' => '', 'dynamicOptions' => false, 'height' => '', 'width' => 500, + 'optionsProviderType' => NULL, + 'optionsProviderClass' => '', + 'optionsProviderData' => '', )), 2 => \Pimcore\Model\DataObject\ClassDefinition\Data\Textarea::__set_state(array( @@ -320,6 +322,34 @@ 'height' => 0, 'width' => 0, )), + 4 => + \Pimcore\Model\DataObject\ClassDefinition\Data\Select::__set_state(array( + 'name' => 'status', + 'title' => 'Status', + 'tooltip' => '', + 'mandatory' => false, + 'noteditable' => false, + 'index' => false, + 'locked' => false, + 'style' => '', + 'permissions' => NULL, + 'fieldtype' => '', + 'relationType' => false, + 'invisible' => false, + 'visibleGridView' => false, + 'visibleSearch' => false, + 'blockedVarsForExport' => + array ( + ), + 'defaultValue' => '', + 'columnLength' => 190, + 'dynamicOptions' => false, + 'defaultValueGenerator' => '', + 'width' => '', + 'optionsProviderType' => 'select_options', + 'optionsProviderClass' => 'Pimcore\\Bundle\\CoreBundle\\OptionsProvider\\SelectOptionsOptionsProvider', + 'optionsProviderData' => 'EventStatus', + )), ), 'locked' => false, 'blockedVarsForExport' => diff --git a/var/config/select_options/EventStatus.yaml b/var/config/select_options/EventStatus.yaml new file mode 100644 index 00000000..bbcea3bb --- /dev/null +++ b/var/config/select_options/EventStatus.yaml @@ -0,0 +1,26 @@ +pimcore: + objects: + select_options: + definitions: + EventStatus: + id: EventStatus + group: '' + useTraits: '' + implementsInterfaces: '' + selectOptions: + - + value: Scheduled + label: Scheduled + name: '' + - + value: On-Hold + label: On-Hold + name: '' + - + value: Completed + label: Completed + name: '' + - + value: Cancelled + label: Cancelled + name: ''