Skip to content

Commit

Permalink
Update fred 3.x tables
Browse files Browse the repository at this point in the history
  • Loading branch information
gpm3modx committed Jul 10, 2024
1 parent 55d5635 commit 752d25d
Show file tree
Hide file tree
Showing 15 changed files with 1,771 additions and 1,760 deletions.
3 changes: 1 addition & 2 deletions core/components/fred/elements/plugins/Fred.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/*
* This file is part of the Fred package.
*
Expand Down Expand Up @@ -46,4 +45,4 @@
$event->run();
} else {
$modx->log(\xPDO::LOG_LEVEL_ERROR, "Class {$class} not found");
}
}
49 changes: 24 additions & 25 deletions core/components/fred/src/Model/metadata.mysql.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
<?php

$xpdo_meta_map = [
$xpdo_meta_map = array (
'version' => '3.0',
'namespace' => 'Fred\\Model',
'namespacePrefix' => 'Fred',
'class_map' =>
[
'xPDO\\Om\\xPDOSimpleObject' =>
[
0 => 'Fred\\Model\\FredBlueprintCategory',
1 => 'Fred\\Model\\FredBlueprint',
2 => 'Fred\\Model\\FredElementCategory',
3 => 'Fred\\Model\\FredElementOptionSet',
4 => 'Fred\\Model\\FredElementRTEConfig',
5 => 'Fred\\Model\\FredElement',
6 => 'Fred\\Model\\FredTheme',
],
'xPDO\\Om\\xPDOObject' =>
[
0 => 'Fred\\Model\\FredThemedTemplate',
1 => 'Fred\\Model\\FredCache',
2 => 'Fred\\Model\\FredElementCategoryTemplateAccess',
3 => 'Fred\\Model\\FredElementTemplateAccess',
4 => 'Fred\\Model\\FredBlueprintCategoryTemplateAccess',
5 => 'Fred\\Model\\FredBlueprintTemplateAccess',
],
],
];
'class_map' =>
array (
'xPDO\\Om\\xPDOSimpleObject' =>
array (
0 => 'Fred\\Model\\FredBlueprintCategory',
1 => 'Fred\\Model\\FredBlueprint',
2 => 'Fred\\Model\\FredElementCategory',
3 => 'Fred\\Model\\FredElementOptionSet',
4 => 'Fred\\Model\\FredElementRTEConfig',
5 => 'Fred\\Model\\FredElement',
6 => 'Fred\\Model\\FredTheme',
),
'xPDO\\Om\\xPDOObject' =>
array (
0 => 'Fred\\Model\\FredThemedTemplate',
1 => 'Fred\\Model\\FredCache',
2 => 'Fred\\Model\\FredElementCategoryTemplateAccess',
3 => 'Fred\\Model\\FredElementTemplateAccess',
4 => 'Fred\\Model\\FredBlueprintCategoryTemplateAccess',
5 => 'Fred\\Model\\FredBlueprintTemplateAccess',
),
),
);
Loading

0 comments on commit 752d25d

Please sign in to comment.