diff --git a/_build/config.json b/_build/config.json index 7b650f55..5221c309 100644 --- a/_build/config.json +++ b/_build/config.json @@ -3,7 +3,7 @@ "lowCaseName": "fred", "description": "Frontend Editor", "author": "John Peca", - "version": "1.1.0-beta3", + "version": "1.1.0-beta4", "package": { "menus": [ { diff --git a/core/components/fred/model/fred/fred.class.php b/core/components/fred/model/fred/fred.class.php index e52bce95..20857009 100644 --- a/core/components/fred/model/fred/fred.class.php +++ b/core/components/fred/model/fred/fred.class.php @@ -15,7 +15,7 @@ */ class Fred { - const VERSION = '1.1.0-beta'; + const VERSION = '1.1.0-beta4'; public $modx = null; public $namespace = 'fred'; diff --git a/core/components/fred/model/fred/mysql/fredblueprint.map.inc.php b/core/components/fred/model/fred/mysql/fredblueprint.map.inc.php index 514de9bf..367d21b9 100644 --- a/core/components/fred/model/fred/mysql/fredblueprint.map.inc.php +++ b/core/components/fred/model/fred/mysql/fredblueprint.map.inc.php @@ -7,11 +7,11 @@ 'version' => '0.1', 'table' => 'fred_blueprints', 'extends' => 'xPDOSimpleObject', - 'tableMeta' => + 'tableMeta' => array ( 'engine' => 'InnoDB', ), - 'fields' => + 'fields' => array ( 'name' => NULL, 'uuid' => NULL, @@ -24,16 +24,16 @@ 'createdBy' => 0, 'data' => '', ), - 'fieldMeta' => + 'fieldMeta' => array ( - 'name' => + 'name' => array ( 'dbtype' => 'varchar', 'precision' => '127', 'phptype' => 'string', 'null' => false, ), - 'uuid' => + 'uuid' => array ( 'dbtype' => 'varchar', 'precision' => '36', @@ -41,7 +41,7 @@ 'null' => false, 'index' => 'unique', ), - 'description' => + 'description' => array ( 'dbtype' => 'varchar', 'precision' => '255', @@ -49,14 +49,14 @@ 'null' => false, 'default' => '', ), - 'image' => + 'image' => array ( 'dbtype' => 'text', 'phptype' => 'string', 'null' => false, 'default' => '', ), - 'category' => + 'category' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -64,7 +64,7 @@ 'phptype' => 'integer', 'null' => false, ), - 'rank' => + 'rank' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -73,7 +73,7 @@ 'null' => false, 'default' => 0, ), - 'complete' => + 'complete' => array ( 'dbtype' => 'tinyint', 'attributes' => 'unsigned', @@ -82,7 +82,7 @@ 'null' => false, 'default' => 0, ), - 'public' => + 'public' => array ( 'dbtype' => 'tinyint', 'precision' => '1', @@ -90,7 +90,7 @@ 'null' => false, 'default' => 0, ), - 'createdBy' => + 'createdBy' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -99,7 +99,7 @@ 'null' => false, 'default' => 0, ), - 'data' => + 'data' => array ( 'dbtype' => 'mediumtext', 'phptype' => 'json', @@ -107,21 +107,21 @@ 'default' => '', ), ), - 'fieldAliases' => + 'fieldAliases' => array ( 'content' => 'data', ), - 'indexes' => + 'indexes' => array ( - 'uuid' => + 'uuid' => array ( 'alias' => 'uuid', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'uuid' => + 'uuid' => array ( 'length' => '', 'collation' => 'A', @@ -129,15 +129,15 @@ ), ), ), - 'category' => + 'category' => array ( 'alias' => 'category', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'category' => + 'category' => array ( 'length' => '', 'collation' => 'A', @@ -145,15 +145,15 @@ ), ), ), - 'rank' => + 'rank' => array ( 'alias' => 'rank', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'rank' => + 'rank' => array ( 'length' => '', 'collation' => 'A', @@ -161,15 +161,15 @@ ), ), ), - 'complete' => + 'complete' => array ( 'alias' => 'complete', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'complete' => + 'complete' => array ( 'length' => '', 'collation' => 'A', @@ -177,15 +177,15 @@ ), ), ), - 'createdBy' => + 'createdBy' => array ( 'alias' => 'createdBy', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'createdBy' => + 'createdBy' => array ( 'length' => '', 'collation' => 'A', @@ -193,21 +193,21 @@ ), ), ), - 'name_category' => + 'name_category' => array ( 'alias' => 'name_category', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'name' => + 'name' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), - 'category' => + 'category' => array ( 'length' => '', 'collation' => 'A', @@ -216,9 +216,9 @@ ), ), ), - 'aggregates' => + 'aggregates' => array ( - 'User' => + 'User' => array ( 'class' => 'modUser', 'local' => 'user', @@ -226,7 +226,7 @@ 'cardinality' => 'one', 'owner' => 'foreign', ), - 'Category' => + 'Category' => array ( 'class' => 'FredBlueprintCategory', 'local' => 'category', diff --git a/core/components/fred/model/fred/mysql/fredblueprintcategory.map.inc.php b/core/components/fred/model/fred/mysql/fredblueprintcategory.map.inc.php index 52492804..71bb9afd 100644 --- a/core/components/fred/model/fred/mysql/fredblueprintcategory.map.inc.php +++ b/core/components/fred/model/fred/mysql/fredblueprintcategory.map.inc.php @@ -7,11 +7,11 @@ 'version' => '0.1', 'table' => 'fred_blueprint_categories', 'extends' => 'xPDOSimpleObject', - 'tableMeta' => + 'tableMeta' => array ( 'engine' => 'InnoDB', ), - 'fields' => + 'fields' => array ( 'name' => NULL, 'uuid' => NULL, @@ -20,16 +20,16 @@ 'public' => 0, 'createdBy' => 0, ), - 'fieldMeta' => + 'fieldMeta' => array ( - 'name' => + 'name' => array ( 'dbtype' => 'varchar', 'precision' => '127', 'phptype' => 'string', 'null' => false, ), - 'uuid' => + 'uuid' => array ( 'dbtype' => 'varchar', 'precision' => '36', @@ -37,7 +37,7 @@ 'null' => false, 'index' => 'unique', ), - 'rank' => + 'rank' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -46,7 +46,7 @@ 'null' => false, 'default' => 0, ), - 'theme' => + 'theme' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -54,7 +54,7 @@ 'phptype' => 'integer', 'null' => false, ), - 'public' => + 'public' => array ( 'dbtype' => 'tinyint', 'precision' => '1', @@ -62,7 +62,7 @@ 'null' => false, 'default' => 0, ), - 'createdBy' => + 'createdBy' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -72,17 +72,17 @@ 'default' => 0, ), ), - 'indexes' => + 'indexes' => array ( - 'uuid' => + 'uuid' => array ( 'alias' => 'uuid', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'uuid' => + 'uuid' => array ( 'length' => '', 'collation' => 'A', @@ -90,15 +90,15 @@ ), ), ), - 'theme' => + 'theme' => array ( 'alias' => 'theme', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'theme' => + 'theme' => array ( 'length' => '', 'collation' => 'A', @@ -106,15 +106,15 @@ ), ), ), - 'public' => + 'public' => array ( 'alias' => 'public', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'public' => + 'public' => array ( 'length' => '', 'collation' => 'A', @@ -122,15 +122,15 @@ ), ), ), - 'rank' => + 'rank' => array ( 'alias' => 'rank', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'rank' => + 'rank' => array ( 'length' => '', 'collation' => 'A', @@ -138,15 +138,15 @@ ), ), ), - 'createdBy' => + 'createdBy' => array ( 'alias' => 'createdBy', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'createdBy' => + 'createdBy' => array ( 'length' => '', 'collation' => 'A', @@ -154,21 +154,21 @@ ), ), ), - 'name_theme' => + 'name_theme' => array ( 'alias' => 'name_theme', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'name' => + 'name' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), - 'theme' => + 'theme' => array ( 'length' => '', 'collation' => 'A', @@ -177,9 +177,9 @@ ), ), ), - 'composites' => + 'composites' => array ( - 'Blueprints' => + 'Blueprints' => array ( 'class' => 'FredBlueprint', 'local' => 'id', @@ -188,9 +188,9 @@ 'owner' => 'local', ), ), - 'aggregates' => + 'aggregates' => array ( - 'User' => + 'User' => array ( 'class' => 'modUser', 'local' => 'user', @@ -198,7 +198,7 @@ 'cardinality' => 'one', 'owner' => 'foreign', ), - 'Theme' => + 'Theme' => array ( 'class' => 'FredTheme', 'local' => 'theme', diff --git a/core/components/fred/model/fred/mysql/fredelement.map.inc.php b/core/components/fred/model/fred/mysql/fredelement.map.inc.php index ee910cf3..6dc2f6bd 100644 --- a/core/components/fred/model/fred/mysql/fredelement.map.inc.php +++ b/core/components/fred/model/fred/mysql/fredelement.map.inc.php @@ -7,11 +7,11 @@ 'version' => '0.1', 'table' => 'fred_elements', 'extends' => 'xPDOSimpleObject', - 'tableMeta' => + 'tableMeta' => array ( 'engine' => 'InnoDB', ), - 'fields' => + 'fields' => array ( 'name' => NULL, 'uuid' => NULL, @@ -23,16 +23,16 @@ 'options_override' => '', 'content' => '', ), - 'fieldMeta' => + 'fieldMeta' => array ( - 'name' => + 'name' => array ( 'dbtype' => 'varchar', 'precision' => '127', 'phptype' => 'string', 'null' => false, ), - 'uuid' => + 'uuid' => array ( 'dbtype' => 'varchar', 'precision' => '36', @@ -40,7 +40,7 @@ 'null' => false, 'index' => 'unique', ), - 'description' => + 'description' => array ( 'dbtype' => 'varchar', 'precision' => '255', @@ -48,14 +48,14 @@ 'null' => false, 'default' => '', ), - 'image' => + 'image' => array ( 'dbtype' => 'text', 'phptype' => 'string', 'null' => false, 'default' => '', ), - 'category' => + 'category' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -63,7 +63,7 @@ 'phptype' => 'integer', 'null' => false, ), - 'rank' => + 'rank' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -72,7 +72,7 @@ 'null' => false, 'default' => 0, ), - 'option_set' => + 'option_set' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -81,14 +81,14 @@ 'null' => false, 'default' => 0, ), - 'options_override' => + 'options_override' => array ( 'dbtype' => 'mediumtext', 'phptype' => 'json', 'null' => false, 'default' => '', ), - 'content' => + 'content' => array ( 'dbtype' => 'mediumtext', 'phptype' => 'string', @@ -96,17 +96,17 @@ 'default' => '', ), ), - 'indexes' => + 'indexes' => array ( - 'uuid' => + 'uuid' => array ( 'alias' => 'uuid', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'uuid' => + 'uuid' => array ( 'length' => '', 'collation' => 'A', @@ -114,15 +114,15 @@ ), ), ), - 'category' => + 'category' => array ( 'alias' => 'category', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'category' => + 'category' => array ( 'length' => '', 'collation' => 'A', @@ -130,15 +130,15 @@ ), ), ), - 'rank' => + 'rank' => array ( 'alias' => 'rank', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'rank' => + 'rank' => array ( 'length' => '', 'collation' => 'A', @@ -146,21 +146,21 @@ ), ), ), - 'name_category' => + 'name_category' => array ( 'alias' => 'name_category', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'name' => + 'name' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), - 'category' => + 'category' => array ( 'length' => '', 'collation' => 'A', @@ -169,9 +169,9 @@ ), ), ), - 'composites' => + 'composites' => array ( - 'Cache' => + 'Cache' => array ( 'class' => 'FredCache', 'local' => 'id', @@ -180,9 +180,9 @@ 'owner' => 'local', ), ), - 'aggregates' => + 'aggregates' => array ( - 'Category' => + 'Category' => array ( 'class' => 'FredElementCategory', 'local' => 'category', @@ -190,7 +190,7 @@ 'cardinality' => 'one', 'owner' => 'foreign', ), - 'OptionSet' => + 'OptionSet' => array ( 'class' => 'FredElementOptionSet', 'local' => 'option_set', diff --git a/core/components/fred/model/fred/mysql/fredelementcategory.map.inc.php b/core/components/fred/model/fred/mysql/fredelementcategory.map.inc.php index 24f53059..4e28328f 100644 --- a/core/components/fred/model/fred/mysql/fredelementcategory.map.inc.php +++ b/core/components/fred/model/fred/mysql/fredelementcategory.map.inc.php @@ -7,27 +7,27 @@ 'version' => '0.1', 'table' => 'fred_element_categories', 'extends' => 'xPDOSimpleObject', - 'tableMeta' => + 'tableMeta' => array ( 'engine' => 'InnoDB', ), - 'fields' => + 'fields' => array ( 'name' => NULL, 'uuid' => NULL, 'rank' => 0, 'theme' => NULL, ), - 'fieldMeta' => + 'fieldMeta' => array ( - 'name' => + 'name' => array ( 'dbtype' => 'varchar', 'precision' => '127', 'phptype' => 'string', 'null' => false, ), - 'uuid' => + 'uuid' => array ( 'dbtype' => 'varchar', 'precision' => '36', @@ -35,7 +35,7 @@ 'null' => false, 'index' => 'unique', ), - 'rank' => + 'rank' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -44,7 +44,7 @@ 'null' => false, 'default' => 0, ), - 'theme' => + 'theme' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -53,17 +53,17 @@ 'null' => false, ), ), - 'indexes' => + 'indexes' => array ( - 'uuid' => + 'uuid' => array ( 'alias' => 'uuid', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'uuid' => + 'uuid' => array ( 'length' => '', 'collation' => 'A', @@ -71,15 +71,15 @@ ), ), ), - 'rank' => + 'rank' => array ( 'alias' => 'rank', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'rank' => + 'rank' => array ( 'length' => '', 'collation' => 'A', @@ -87,15 +87,15 @@ ), ), ), - 'theme' => + 'theme' => array ( 'alias' => 'theme', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'theme' => + 'theme' => array ( 'length' => '', 'collation' => 'A', @@ -103,21 +103,21 @@ ), ), ), - 'name_theme' => + 'name_theme' => array ( 'alias' => 'name_theme', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'name' => + 'name' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), - 'theme' => + 'theme' => array ( 'length' => '', 'collation' => 'A', @@ -126,9 +126,9 @@ ), ), ), - 'composites' => + 'composites' => array ( - 'Elements' => + 'Elements' => array ( 'class' => 'FredElement', 'local' => 'id', @@ -137,9 +137,9 @@ 'owner' => 'local', ), ), - 'aggregates' => + 'aggregates' => array ( - 'Theme' => + 'Theme' => array ( 'class' => 'FredTheme', 'local' => 'theme', diff --git a/core/components/fred/model/fred/mysql/fredelementoptionset.map.inc.php b/core/components/fred/model/fred/mysql/fredelementoptionset.map.inc.php index 72ccb994..10257b08 100644 --- a/core/components/fred/model/fred/mysql/fredelementoptionset.map.inc.php +++ b/core/components/fred/model/fred/mysql/fredelementoptionset.map.inc.php @@ -7,11 +7,11 @@ 'version' => '0.1', 'table' => 'fred_element_option_sets', 'extends' => 'xPDOSimpleObject', - 'tableMeta' => + 'tableMeta' => array ( 'engine' => 'InnoDB', ), - 'fields' => + 'fields' => array ( 'name' => NULL, 'description' => '', @@ -19,16 +19,16 @@ 'theme' => NULL, 'data' => '', ), - 'fieldMeta' => + 'fieldMeta' => array ( - 'name' => + 'name' => array ( 'dbtype' => 'varchar', 'precision' => '127', 'phptype' => 'string', 'null' => false, ), - 'description' => + 'description' => array ( 'dbtype' => 'varchar', 'precision' => '255', @@ -36,7 +36,7 @@ 'null' => false, 'default' => '', ), - 'complete' => + 'complete' => array ( 'dbtype' => 'tinyint', 'attributes' => 'unsigned', @@ -45,7 +45,7 @@ 'null' => false, 'default' => 0, ), - 'theme' => + 'theme' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -53,7 +53,7 @@ 'phptype' => 'integer', 'null' => false, ), - 'data' => + 'data' => array ( 'dbtype' => 'mediumtext', 'phptype' => 'json', @@ -61,21 +61,21 @@ 'default' => '', ), ), - 'fieldAliases' => + 'fieldAliases' => array ( 'content' => 'data', ), - 'indexes' => + 'indexes' => array ( - 'theme' => + 'theme' => array ( 'alias' => 'theme', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'theme' => + 'theme' => array ( 'length' => '', 'collation' => 'A', @@ -83,15 +83,15 @@ ), ), ), - 'complete' => + 'complete' => array ( 'alias' => 'complete', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'complete' => + 'complete' => array ( 'length' => '', 'collation' => 'A', @@ -99,21 +99,21 @@ ), ), ), - 'name_theme' => + 'name_theme' => array ( 'alias' => 'name_theme', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'name' => + 'name' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), - 'theme' => + 'theme' => array ( 'length' => '', 'collation' => 'A', @@ -122,9 +122,9 @@ ), ), ), - 'aggregates' => + 'aggregates' => array ( - 'Theme' => + 'Theme' => array ( 'class' => 'FredTheme', 'local' => 'theme', diff --git a/core/components/fred/model/fred/mysql/fredelementrteconfig.map.inc.php b/core/components/fred/model/fred/mysql/fredelementrteconfig.map.inc.php index 37890cde..655bf5e2 100644 --- a/core/components/fred/model/fred/mysql/fredelementrteconfig.map.inc.php +++ b/core/components/fred/model/fred/mysql/fredelementrteconfig.map.inc.php @@ -7,27 +7,27 @@ 'version' => '0.1', 'table' => 'fred_element_rte_configs', 'extends' => 'xPDOSimpleObject', - 'tableMeta' => + 'tableMeta' => array ( 'engine' => 'InnoDB', ), - 'fields' => + 'fields' => array ( 'name' => NULL, 'description' => '', 'theme' => NULL, 'data' => '', ), - 'fieldMeta' => + 'fieldMeta' => array ( - 'name' => + 'name' => array ( 'dbtype' => 'varchar', - 'precision' => '127', + 'precision' => '128', 'phptype' => 'string', 'null' => false, ), - 'description' => + 'description' => array ( 'dbtype' => 'varchar', 'precision' => '255', @@ -35,7 +35,7 @@ 'null' => false, 'default' => '', ), - 'theme' => + 'theme' => array ( 'dbtype' => 'int', 'attributes' => 'unsigned', @@ -43,7 +43,7 @@ 'phptype' => 'integer', 'null' => false, ), - 'data' => + 'data' => array ( 'dbtype' => 'mediumtext', 'phptype' => 'json', @@ -51,21 +51,21 @@ 'default' => '', ), ), - 'fieldAliases' => + 'fieldAliases' => array ( 'content' => 'data', ), - 'indexes' => + 'indexes' => array ( - 'theme' => + 'theme' => array ( 'alias' => 'theme', 'primary' => false, 'unique' => false, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'theme' => + 'theme' => array ( 'length' => '', 'collation' => 'A', @@ -73,21 +73,21 @@ ), ), ), - 'name_theme' => + 'name_theme' => array ( 'alias' => 'name_theme', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'name' => + 'name' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), - 'theme' => + 'theme' => array ( 'length' => '', 'collation' => 'A', @@ -96,9 +96,9 @@ ), ), ), - 'aggregates' => + 'aggregates' => array ( - 'Theme' => + 'Theme' => array ( 'class' => 'FredTheme', 'local' => 'theme', diff --git a/core/components/fred/model/fred/mysql/fredtheme.map.inc.php b/core/components/fred/model/fred/mysql/fredtheme.map.inc.php index a2ca746d..20fdf4b4 100644 --- a/core/components/fred/model/fred/mysql/fredtheme.map.inc.php +++ b/core/components/fred/model/fred/mysql/fredtheme.map.inc.php @@ -7,11 +7,11 @@ 'version' => '0.1', 'table' => 'fred_themes', 'extends' => 'xPDOSimpleObject', - 'tableMeta' => + 'tableMeta' => array ( 'engine' => 'InnoDB', ), - 'fields' => + 'fields' => array ( 'name' => NULL, 'namespace' => '', @@ -21,16 +21,16 @@ 'config' => '', 'default_element' => '', ), - 'fieldMeta' => + 'fieldMeta' => array ( - 'name' => + 'name' => array ( 'dbtype' => 'varchar', 'precision' => '127', 'phptype' => 'string', 'null' => false, ), - 'namespace' => + 'namespace' => array ( 'dbtype' => 'varchar', 'precision' => '255', @@ -38,7 +38,7 @@ 'null' => false, 'default' => '', ), - 'theme_folder' => + 'theme_folder' => array ( 'dbtype' => 'varchar', 'precision' => '255', @@ -46,7 +46,7 @@ 'null' => false, 'default' => '', ), - 'uuid' => + 'uuid' => array ( 'dbtype' => 'varchar', 'precision' => '36', @@ -54,7 +54,7 @@ 'null' => false, 'index' => 'unique', ), - 'description' => + 'description' => array ( 'dbtype' => 'varchar', 'precision' => '255', @@ -62,14 +62,14 @@ 'null' => false, 'default' => '', ), - 'config' => + 'config' => array ( 'dbtype' => 'mediumtext', 'phptype' => 'json', 'null' => false, 'default' => '', ), - 'default_element' => + 'default_element' => array ( 'dbtype' => 'varchar', 'precision' => '255', @@ -78,17 +78,17 @@ 'default' => '', ), ), - 'indexes' => + 'indexes' => array ( - 'uuid' => + 'uuid' => array ( 'alias' => 'uuid', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'uuid' => + 'uuid' => array ( 'length' => '', 'collation' => 'A', @@ -96,15 +96,15 @@ ), ), ), - 'name' => + 'name' => array ( 'alias' => 'name', 'primary' => false, 'unique' => true, 'type' => 'BTREE', - 'columns' => + 'columns' => array ( - 'name' => + 'name' => array ( 'length' => '', 'collation' => 'A', @@ -113,9 +113,9 @@ ), ), ), - 'composites' => + 'composites' => array ( - 'ElementCategories' => + 'ElementCategories' => array ( 'class' => 'FredElementCategory', 'local' => 'id', @@ -123,7 +123,7 @@ 'cardinality' => 'many', 'owner' => 'local', ), - 'BlueprintCategories' => + 'BlueprintCategories' => array ( 'class' => 'FredBlueprintCategory', 'local' => 'id', @@ -131,7 +131,7 @@ 'cardinality' => 'many', 'owner' => 'local', ), - 'RTEConfigs' => + 'RTEConfigs' => array ( 'class' => 'FredElementRTEConfig', 'local' => 'id', @@ -139,7 +139,7 @@ 'cardinality' => 'many', 'owner' => 'local', ), - 'OptionSets' => + 'OptionSets' => array ( 'class' => 'FredElementOptionSet', 'local' => 'id', @@ -147,7 +147,7 @@ 'cardinality' => 'many', 'owner' => 'local', ), - 'Templates' => + 'Templates' => array ( 'class' => 'FredThemedTemplate', 'local' => 'id',