From 321d89954ab909d5471290e27cefdd7e11bbe974 Mon Sep 17 00:00:00 2001 From: aB0t Date: Mon, 22 Apr 2024 16:43:33 +0200 Subject: [PATCH] update 2024-04-22 16:43:32 --- README.md | 6 + .../README.md | 12 +- .../code.php | 8 +- .../code.power | 8 +- .../README.md | 39 + .../code.php | 48 + .../code.power | 25 + .../settings.json | 18 + .../README.md | 53 + .../code.php | 53 + .../code.power | 30 + .../settings.json | 18 + .../README.md | 16 +- .../code.php | 16 +- .../code.power | 16 +- .../README.md | 16 +- .../code.php | 24 +- .../code.power | 24 +- .../README.md | 45 + .../code.php | 52 + .../code.power | 24 + .../settings.json | 25 + .../code.php | 5994 +++++++++++++++-- .../README.md | 32 +- .../code.php | 252 +- .../code.power | 252 +- .../README.md | 178 + .../code.php | 519 ++ .../code.power | 491 ++ .../settings.json | 25 + super-powers.json | 44 + 31 files changed, 7766 insertions(+), 597 deletions(-) create mode 100644 src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/README.md create mode 100644 src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.php create mode 100644 src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.power create mode 100644 src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/settings.json create mode 100644 src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/README.md create mode 100644 src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.php create mode 100644 src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.power create mode 100644 src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/settings.json create mode 100644 src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/README.md create mode 100644 src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.php create mode 100644 src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.power create mode 100644 src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/settings.json create mode 100644 src/f3c04c28-bce4-422e-be93-7d163e4e342b/README.md create mode 100644 src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.php create mode 100644 src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.power create mode 100644 src/f3c04c28-bce4-422e-be93-7d163e4e342b/settings.json diff --git a/README.md b/README.md index 64be16d..aefbf79 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ This repository contains an index (see below) of all the approved powers within - **abstract class Database** | [Details](src/6cbef8f8-4813-48e3-b05a-65e1aea95171) | [Code](src/6cbef8f8-4813-48e3-b05a-65e1aea95171/code.php) | [Settings](src/6cbef8f8-4813-48e3-b05a-65e1aea95171/settings.json) | Super__6cbef8f8_4813_48e3_b05a_65e1aea95171__Power - **abstract class Model** | [Details](src/584747d1-3a86-453d-b7a3-a2219de8d777) | [Code](src/584747d1-3a86-453d-b7a3-a2219de8d777/code.php) | [Settings](src/584747d1-3a86-453d-b7a3-a2219de8d777/settings.json) | Super__584747d1_3a86_453d_b7a3_a2219de8d777__Power - **abstract class Registry** | [Details](src/7e822c03-1b20-41d1-9427-f5b8d5836af7) | [Code](src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.php) | [Settings](src/7e822c03-1b20-41d1-9427-f5b8d5836af7/settings.json) | Super__7e822c03_1b20_41d1_9427_f5b8d5836af7__Power + - **abstract class Schema** | [Details](src/f3c04c28-bce4-422e-be93-7d163e4e342b) | [Code](src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.php) | [Settings](src/f3c04c28-bce4-422e-be93-7d163e4e342b/settings.json) | Super__f3c04c28_bce4_422e_be93_7d163e4e342b__Power - **Namespace**: [VDM\Joomla\Componentbuilder](#vdm-joomla-componentbuilder) - **class Table** | [Details](src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8) | [Code](src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php) | [Settings](src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/settings.json) | Super__bfd1d6d5_56c1_4fe9_9fee_1c5910e1f5d8__Power @@ -47,6 +48,7 @@ This repository contains an index (see below) of all the approved powers within - **interface LoadInterface** | [Details](src/2ad31f74-f579-499d-b98b-c4f54fd615dd) | [Code](src/2ad31f74-f579-499d-b98b-c4f54fd615dd/code.php) | [Settings](src/2ad31f74-f579-499d-b98b-c4f54fd615dd/settings.json) | Super__2ad31f74_f579_499d_b98b_c4f54fd615dd__Power - **interface ModelInterface** | [Details](src/8aef58c1-3f70-4bd4-b9e4-3f29fcd41cff) | [Code](src/8aef58c1-3f70-4bd4-b9e4-3f29fcd41cff/code.php) | [Settings](src/8aef58c1-3f70-4bd4-b9e4-3f29fcd41cff/settings.json) | Super__8aef58c1_3f70_4bd4_b9e4_3f29fcd41cff__Power - **interface Registryinterface** | [Details](src/64e291c2-11f1-423d-a44d-837cc12cc017) | [Code](src/64e291c2-11f1-423d-a44d-837cc12cc017/code.php) | [Settings](src/64e291c2-11f1-423d-a44d-837cc12cc017/settings.json) | Super__64e291c2_11f1_423d_a44d_837cc12cc017__Power + - **interface SchemaInterface** | [Details](src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa) | [Code](src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.php) | [Settings](src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/settings.json) | Super__4dd11b9b_3c64_460b_aaa6_62ba467db7aa__Power - **interface Tableinterface** | [Details](src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf) | [Code](src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.php) | [Settings](src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/settings.json) | Super__2da6d6c4_eb29_4d69_8bc2_36d96e916adf__Power - **interface UpdateInterface** | [Details](src/7179fde6-1e51-4b51-8545-7ca18f74a0f4) | [Code](src/7179fde6-1e51-4b51-8545-7ca18f74a0f4/code.php) | [Settings](src/7179fde6-1e51-4b51-8545-7ca18f74a0f4/settings.json) | Super__7179fde6_1e51_4b51_8545_7ca18f74a0f4__Power - **Namespace**: [VDM\Joomla\Utilities](#vdm-joomla-utilities) @@ -68,6 +70,9 @@ This repository contains an index (see below) of all the approved powers within - **Namespace**: [VDM\Joomla\Componentbuilder\Service](#vdm-joomla-componentbuilder-service) - **class Database** | [Details](src/4815e1c7-a433-443d-a112-d1e03d7df84b) | [Code](src/4815e1c7-a433-443d-a112-d1e03d7df84b/code.php) | [Settings](src/4815e1c7-a433-443d-a112-d1e03d7df84b/settings.json) | Super__4815e1c7_a433_443d_a112_d1e03d7df84b__Power +- **Namespace**: [VDM\Joomla\Componentbuilder\Table](#vdm-joomla-componentbuilder-table) + + - **final class Schema** | [Details](src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce) | [Code](src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.php) | [Settings](src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/settings.json) | Super__b3d2ec33_76d4_4c3b_bb2c_86ac14a221ce__Power - **Namespace**: [VDM\Joomla\Componentbuilder\Utilities](#vdm-joomla-componentbuilder-utilities) - **abstract class FilterHelper** | [Details](src/cddcac51-9a46-47c4-ba59-105c70453bd6) | [Code](src/cddcac51-9a46-47c4-ba59-105c70453bd6/code.php) | [Settings](src/cddcac51-9a46-47c4-ba59-105c70453bd6/settings.json) | Super__cddcac51_9a46_47c4_ba59_105c70453bd6__Power @@ -77,6 +82,7 @@ This repository contains an index (see below) of all the approved powers within - **Namespace**: [VDM\Joomla\Utilities\String](#vdm-joomla-utilities-string) - **abstract class ClassfunctionHelper** | [Details](src/30c5b4c2-f75f-4d15-869a-f8bfedd87358) | [Code](src/30c5b4c2-f75f-4d15-869a-f8bfedd87358/code.php) | [Settings](src/30c5b4c2-f75f-4d15-869a-f8bfedd87358/settings.json) | Super__30c5b4c2_f75f_4d15_869a_f8bfedd87358__Power + - **abstract class ComponentCodeNameHelper** | [Details](src/491dbe41-f26c-4de9-8a95-fcf87b35b56f) | [Code](src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.php) | [Settings](src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/settings.json) | Super__491dbe41_f26c_4de9_8a95_fcf87b35b56f__Power - **abstract class FieldHelper** | [Details](src/9ef0eb24-aae4-4f5a-99af-d724db44808f) | [Code](src/9ef0eb24-aae4-4f5a-99af-d724db44808f/code.php) | [Settings](src/9ef0eb24-aae4-4f5a-99af-d724db44808f/settings.json) | Super__9ef0eb24_aae4_4f5a_99af_d724db44808f__Power - **abstract class NamespaceHelper** | [Details](src/ce8cf834-6bac-44fb-941c-861f7e046cc0) | [Code](src/ce8cf834-6bac-44fb-941c-861f7e046cc0/code.php) | [Settings](src/ce8cf834-6bac-44fb-941c-861f7e046cc0/settings.json) | Super__ce8cf834_6bac_44fb_941c_861f7e046cc0__Power - **abstract class PluginHelper** | [Details](src/3cf76fbf-fd95-4a33-878e-7aff6d36b7f6) | [Code](src/3cf76fbf-fd95-4a33-878e-7aff6d36b7f6/code.php) | [Settings](src/3cf76fbf-fd95-4a33-878e-7aff6d36b7f6/settings.json) | Super__3cf76fbf_fd95_4a33_878e_7aff6d36b7f6__Power diff --git a/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/README.md b/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/README.md index 4832acd..6c66ad9 100644 --- a/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/README.md +++ b/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/README.md @@ -11,12 +11,12 @@ ```uml @startuml interface Tableinterface #Lavender { - + get(string $table, ?string $field = null, ...) : mixed + + get(?string $table = null, ?string $field = null, ...) : mixed + title(string $table) : ?array + titleName(string $table) : string + tables() : array + exist(string $table, ?string $field = null) : bool - + fields(string $table, bool $default = false) : ?array + + fields(string $table, bool $default = false, ...) : ?array } note right of Tableinterface::get @@ -28,12 +28,13 @@ Get all items/fields/columns of an area/view/table Example: $this->get('table_name'); Get all areas/views/tables with all their item/field/column details Example: $this->get('All'); +Example: $this->get(); since: 3.2.0 return: mixed arguments: - string $table + ?string $table = null ?string $field = null ?string $key = null end note @@ -71,6 +72,11 @@ note right of Tableinterface::fields since: 3.2.0 return: ?array + + arguments: + string $table + bool $default = false + bool $details = false end note @enduml diff --git a/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.php b/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.php index 4d8f741..a7cef07 100644 --- a/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.php +++ b/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.php @@ -26,15 +26,16 @@ interface Tableinterface * Example: $this->get('table_name'); * Get all areas/views/tables with all their item/field/column details * Example: $this->get('All'); + * Example: $this->get(); * - * @param string $table The table + * @param string|null $table The table * @param string|null $field The field * @param string|null $key The value key * * @return mixed * @since 3.2.0 */ - public function get(string $table, ?string $field = null, ?string $key = null); + public function get(?string $table = null, ?string $field = null, ?string $key = null); /** * Get title field from an area/view/table @@ -80,10 +81,11 @@ interface Tableinterface * * @param string $table The area * @param bool $default Add the default fields + * @param bool $details Add/Leave fields the details * * @return array|null On success an array of fields * @since 3.2.0 */ - public function fields(string $table, bool $default = false): ?array; + public function fields(string $table, bool $default = false, bool $details = false): ?array; } diff --git a/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.power b/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.power index cd80a33..8497713 100644 --- a/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.power +++ b/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/code.power @@ -7,15 +7,16 @@ * Example: $this->get('table_name'); * Get all areas/views/tables with all their item/field/column details * Example: $this->get('All'); + * Example: $this->get(); * - * @param string $table The table + * @param string|null $table The table * @param string|null $field The field * @param string|null $key The value key * * @return mixed * @since 3.2.0 */ - public function get(string $table, ?string $field = null, ?string $key = null); + public function get(?string $table = null, ?string $field = null, ?string $key = null); /** * Get title field from an area/view/table @@ -61,8 +62,9 @@ * * @param string $table The area * @param bool $default Add the default fields + * @param bool $details Add/Leave fields the details * * @return array|null On success an array of fields * @since 3.2.0 */ - public function fields(string $table, bool $default = false): ?array; \ No newline at end of file + public function fields(string $table, bool $default = false, bool $details = false): ?array; \ No newline at end of file diff --git a/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/README.md b/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/README.md new file mode 100644 index 0000000..fa59220 --- /dev/null +++ b/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/README.md @@ -0,0 +1,39 @@ +``` +██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ +██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ +██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ +██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ +╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ +``` +# abstract class ComponentCodeNameHelper (Details) +> namespace: **VDM\Joomla\Utilities\String** +```uml +@startuml +abstract ComponentCodeNameHelper #Orange { + + {static} safe(string $string) : string +} + +note right of ComponentCodeNameHelper::safe + Making component code name safe for namespacing. +This function processes a given string to format it according to PHP namespace naming conventions. +ensures no spaces or underscores are present. + + since: 3.2.1 + return: string +end note + +@enduml +``` + +--- +``` + ██╗ ██████╗██████╗ + ██║██╔════╝██╔══██╗ + ██║██║ ██████╔╝ +██ ██║██║ ██╔══██╗ +╚█████╔╝╚██████╗██████╔╝ + ╚════╝ ╚═════╝╚═════╝ +``` +> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) + diff --git a/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.php b/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.php new file mode 100644 index 0000000..538496e --- /dev/null +++ b/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.php @@ -0,0 +1,48 @@ + + * @git Joomla Component Builder + * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. + * @license GNU General Public License version 2 or later; see LICENSE.txt + */ + +namespace VDM\Joomla\Utilities\String; + + +/** + * Control the naming of a component code name + * + * @since 3.2.1 + */ +abstract class ComponentCodeNameHelper +{ + /** + * Making component code name safe for namespacing. + * + * This function processes a given string to format it according to PHP namespace naming conventions. + * ensures no spaces or underscores are present. + * + * @param string $string The component code name string to make safe + * + * @return string A namespace-safe string on success + * @since 3.2.1 + */ + public static function safe(string $string): string + { + // Trim whitespace from both ends of the string + $string = trim($string); + + // Replace any sequence of non-alphanumeric characters or underscores with a single underscore + $string = preg_replace('/[^\p{L}\p{N}]+/u', '', $string); + + // Ensure the first character is uppercase (useful if the input string started with an invalid character) + $string = ucfirst($string); + + // Return the namespace-safe component code name + return $string; + } +} + diff --git a/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.power b/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.power new file mode 100644 index 0000000..15aa4bd --- /dev/null +++ b/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/code.power @@ -0,0 +1,25 @@ + /** + * Making component code name safe for namespacing. + * + * This function processes a given string to format it according to PHP namespace naming conventions. + * ensures no spaces or underscores are present. + * + * @param string $string The component code name string to make safe + * + * @return string A namespace-safe string on success + * @since 3.2.1 + */ + public static function safe(string $string): string + { + // Trim whitespace from both ends of the string + $string = trim($string); + + // Replace any sequence of non-alphanumeric characters or underscores with a single underscore + $string = preg_replace('/[^\p{L}\p{N}]+/u', '', $string); + + // Ensure the first character is uppercase (useful if the input string started with an invalid character) + $string = ucfirst($string); + + // Return the namespace-safe component code name + return $string; + } \ No newline at end of file diff --git a/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/settings.json b/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/settings.json new file mode 100644 index 0000000..ed5c154 --- /dev/null +++ b/src/491dbe41-f26c-4de9-8a95-fcf87b35b56f/settings.json @@ -0,0 +1,18 @@ +{ + "add_head": "0", + "add_licensing_template": "2", + "extends": "0", + "guid": "491dbe41-f26c-4de9-8a95-fcf87b35b56f", + "implements": null, + "load_selection": null, + "name": "ComponentCodeNameHelper", + "power_version": "1.0.0", + "system_name": "String ComponentCodeName Helper", + "type": "abstract class", + "use_selection": null, + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.String.ComponentCodeNameHelper", + "description": "Control the naming of a component code name\r\n\r\n@since 3.2.1", + "licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 3rd September, 2020\r\n * @author Llewellyn van der Merwe \r\n * @git Joomla Component Builder \r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n", + "head": "", + "composer": "" +} \ No newline at end of file diff --git a/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/README.md b/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/README.md new file mode 100644 index 0000000..b3a8d0a --- /dev/null +++ b/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/README.md @@ -0,0 +1,53 @@ +``` +██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ +██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ +██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ +██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ +╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ +``` +# interface SchemaInterface (Details) +> namespace: **VDM\Joomla\Interfaces** +```uml +@startuml +interface SchemaInterface #Lavender { + + update() : array + + createTable(string $table) : void + + updateSchema(string $table) : void +} + +note right of SchemaInterface::update + Check and update database schema for missing fields or tables. + + since: 3.2.1 + return: array +end note + +note right of SchemaInterface::createTable + Create a table with all necessary fields. + + since: 3.2.1 + return: void +end note + +note right of SchemaInterface::updateSchema + Update the schema of an existing table. + + since: 3.2.1 + return: void +end note + +@enduml +``` + +--- +``` + ██╗ ██████╗██████╗ + ██║██╔════╝██╔══██╗ + ██║██║ ██████╔╝ +██ ██║██║ ██╔══██╗ +╚█████╔╝╚██████╗██████╔╝ + ╚════╝ ╚═════╝╚═════╝ +``` +> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) + diff --git a/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.php b/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.php new file mode 100644 index 0000000..eee04dc --- /dev/null +++ b/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.php @@ -0,0 +1,53 @@ + + * @git Joomla Component Builder + * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. + * @license GNU General Public License version 2 or later; see LICENSE.txt + */ + +namespace VDM\Joomla\Interfaces; + + +/** + * Schema Checking Interface + * + * @since 3.2.1 + */ +interface SchemaInterface +{ + /** + * Check and update database schema for missing fields or tables. + * + * @return array The array of successful updates/actions, if empty no update/action was taken. + * @since 3.2.1 + * @throws \Exception If there is an error during the update process. + */ + public function update(): array; + + /** + * Create a table with all necessary fields. + * + * @param string $table The name of the table to create. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error creating the table. + */ + public function createTable(string $table): void; + + /** + * Update the schema of an existing table. + * + * @param string $table The table to update. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error while updating the schema. + */ + public function updateSchema(string $table): void; +} + diff --git a/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.power b/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.power new file mode 100644 index 0000000..f74a4e7 --- /dev/null +++ b/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/code.power @@ -0,0 +1,30 @@ + /** + * Check and update database schema for missing fields or tables. + * + * @return array The array of successful updates/actions, if empty no update/action was taken. + * @since 3.2.1 + * @throws \Exception If there is an error during the update process. + */ + public function update(): array; + + /** + * Create a table with all necessary fields. + * + * @param string $table The name of the table to create. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error creating the table. + */ + public function createTable(string $table): void; + + /** + * Update the schema of an existing table. + * + * @param string $table The table to update. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error while updating the schema. + */ + public function updateSchema(string $table): void; \ No newline at end of file diff --git a/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/settings.json b/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/settings.json new file mode 100644 index 0000000..5d53afd --- /dev/null +++ b/src/4dd11b9b-3c64-460b-aaa6-62ba467db7aa/settings.json @@ -0,0 +1,18 @@ +{ + "add_head": "0", + "add_licensing_template": "2", + "extends": "0", + "guid": "4dd11b9b-3c64-460b-aaa6-62ba467db7aa", + "implements": null, + "load_selection": null, + "name": "SchemaInterface", + "power_version": "1.0.0", + "system_name": "VDM.SchemaInterface", + "type": "interface", + "use_selection": null, + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.SchemaInterface", + "description": "Schema Checking Interface\r\n\r\n@since 3.2.1", + "licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe \r\n * @git Joomla Component Builder \r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n", + "head": "", + "composer": "" +} \ No newline at end of file diff --git a/src/64e291c2-11f1-423d-a44d-837cc12cc017/README.md b/src/64e291c2-11f1-423d-a44d-837cc12cc017/README.md index 81d72ab..2ec9097 100644 --- a/src/64e291c2-11f1-423d-a44d-837cc12cc017/README.md +++ b/src/64e291c2-11f1-423d-a44d-837cc12cc017/README.md @@ -11,19 +11,19 @@ ```uml @startuml interface Registryinterface #Lavender { - + set(string $path, mixed $value) : void - + add(string $path, mixed $value, ...) : void + + set(string $path, mixed $value) : static + + add(string $path, mixed $value, ...) : static + get(string $path, mixed $default = null) : mixed - + remove(string $path) : void + + remove(string $path) : static + exists(string $path) : bool - + setSeparator(?string $value) : void + + setSeparator(?string $value) : static } note right of Registryinterface::set Sets a value into the registry using multiple keys. since: 3.2.0 - return: void + return: static end note note right of Registryinterface::add @@ -33,7 +33,7 @@ Default is $addAsArray = false (if null) in base class. Override in child class allowed set class property $addAsArray = true. since: 3.2.0 - return: void + return: static arguments: string $path @@ -52,7 +52,7 @@ note right of Registryinterface::remove Removes a value (or sub-array) from the registry using multiple keys. since: 3.2.0 - return: void + return: static end note note right of Registryinterface::exists @@ -66,7 +66,7 @@ note right of Registryinterface::setSeparator Sets a separator value since: 3.2.0 - return: void + return: static end note @enduml diff --git a/src/64e291c2-11f1-423d-a44d-837cc12cc017/code.php b/src/64e291c2-11f1-423d-a44d-837cc12cc017/code.php index 58eab82..bb97ade 100644 --- a/src/64e291c2-11f1-423d-a44d-837cc12cc017/code.php +++ b/src/64e291c2-11f1-423d-a44d-837cc12cc017/code.php @@ -26,10 +26,10 @@ interface Registryinterface * @param mixed $value Value of entry * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function set(string $path, $value): void; + public function set(string $path, $value): static; /** * Adds content into the registry. If a key exists, @@ -42,10 +42,10 @@ interface Registryinterface * Override in child class allowed set class property $addAsArray = true. * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function add(string $path, $value, ?bool $asArray = null): void; + public function add(string $path, $value, ?bool $asArray = null): static; /** * Retrieves a value (or sub-array) from the registry using multiple keys. @@ -65,10 +65,10 @@ interface Registryinterface * @param string $path Registry path (e.g. vdm.content.builder) * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function remove(string $path): void; + public function remove(string $path): static; /** * Checks the existence of a particular location in the registry using multiple keys. @@ -86,9 +86,9 @@ interface Registryinterface * * @param string|null $value The value to set. * - * @return void + * @return $this * @since 3.2.0 */ - public function setSeparator(?string $value): void; + public function setSeparator(?string $value): static; } diff --git a/src/64e291c2-11f1-423d-a44d-837cc12cc017/code.power b/src/64e291c2-11f1-423d-a44d-837cc12cc017/code.power index b454600..606aafb 100644 --- a/src/64e291c2-11f1-423d-a44d-837cc12cc017/code.power +++ b/src/64e291c2-11f1-423d-a44d-837cc12cc017/code.power @@ -5,10 +5,10 @@ * @param mixed $value Value of entry * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function set(string $path, $value): void; + public function set(string $path, $value): static; /** * Adds content into the registry. If a key exists, @@ -21,10 +21,10 @@ * Override in child class allowed set class property $addAsArray = true. * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function add(string $path, $value, ?bool $asArray = null): void; + public function add(string $path, $value, ?bool $asArray = null): static; /** * Retrieves a value (or sub-array) from the registry using multiple keys. @@ -44,10 +44,10 @@ * @param string $path Registry path (e.g. vdm.content.builder) * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function remove(string $path): void; + public function remove(string $path): static; /** * Checks the existence of a particular location in the registry using multiple keys. @@ -65,7 +65,7 @@ * * @param string|null $value The value to set. * - * @return void + * @return $this * @since 3.2.0 */ - public function setSeparator(?string $value): void; \ No newline at end of file + public function setSeparator(?string $value): static; \ No newline at end of file diff --git a/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/README.md b/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/README.md index b28a1d2..e12fcad 100644 --- a/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/README.md +++ b/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/README.md @@ -13,12 +13,12 @@ @startuml abstract Registry #Orange { # ?string $separator - + set(string $path, mixed $value) : void - + add(string $path, mixed $value, ...) : void + + set(string $path, mixed $value) : static + + add(string $path, mixed $value, ...) : static + get(string $path, mixed $default = null) : mixed - + remove(string $path) : void + + remove(string $path) : static + exists(string $path) : bool - + setSeparator(?string $value) : void + + setSeparator(?string $value) : static # getActiveKeys(string $path) : ?array } @@ -26,7 +26,7 @@ note right of Registry::set Sets a value into the registry using multiple keys. since: 3.2.0 - return: void + return: static end note note right of Registry::add @@ -36,7 +36,7 @@ Default is $addAsArray = false (if null) in base class. Override in child class allowed set class property $addAsArray = true. since: 3.2.0 - return: void + return: static arguments: string $path @@ -55,7 +55,7 @@ note right of Registry::remove Removes a value (or sub-array) from the registry using multiple keys. since: 3.2.0 - return: void + return: static end note note right of Registry::exists @@ -69,7 +69,7 @@ note right of Registry::setSeparator Sets a separator value since: 3.2.0 - return: void + return: static end note note right of Registry::getActiveKeys diff --git a/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.php b/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.php index fe11328..4e1e9e2 100644 --- a/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.php +++ b/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.php @@ -41,10 +41,10 @@ abstract class Registry extends ActiveRegistry implements Activeregistryinterfac * @param mixed $value Value of entry * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function set(string $path, $value): void + public function set(string $path, $value): static { if (($keys = $this->getActiveKeys($path)) === null) { @@ -52,6 +52,8 @@ abstract class Registry extends ActiveRegistry implements Activeregistryinterfac } $this->setActive($value, ...$keys); + + return $this; } /** @@ -65,10 +67,10 @@ abstract class Registry extends ActiveRegistry implements Activeregistryinterfac * Override in child class allowed set class property $addAsArray = true. * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function add(string $path, $value, ?bool $asArray = null): void + public function add(string $path, $value, ?bool $asArray = null): static { if (($keys = $this->getActiveKeys($path)) === null) { @@ -76,6 +78,8 @@ abstract class Registry extends ActiveRegistry implements Activeregistryinterfac } $this->addActive($value, $asArray, ...$keys); + + return $this; } /** @@ -104,10 +108,10 @@ abstract class Registry extends ActiveRegistry implements Activeregistryinterfac * @param string $path Registry path (e.g. vdm.content.builder) * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function remove(string $path): void + public function remove(string $path): static { if (($keys = $this->getActiveKeys($path)) === null) { @@ -115,6 +119,8 @@ abstract class Registry extends ActiveRegistry implements Activeregistryinterfac } $this->removeActive(...$keys); + + return $this; } /** @@ -141,12 +147,14 @@ abstract class Registry extends ActiveRegistry implements Activeregistryinterfac * * @param string|null $value The value to set. * - * @return void + * @return $this * @since 3.2.0 */ - public function setSeparator(?string $value): void + public function setSeparator(?string $value): static { $this->separator = $value; + + return $this; } /** diff --git a/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.power b/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.power index d58e1de..10119e5 100644 --- a/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.power +++ b/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/code.power @@ -13,10 +13,10 @@ * @param mixed $value Value of entry * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function set(string $path, $value): void + public function set(string $path, $value): static { if (($keys = $this->getActiveKeys($path)) === null) { @@ -24,6 +24,8 @@ } $this->setActive($value, ...$keys); + + return $this; } /** @@ -37,10 +39,10 @@ * Override in child class allowed set class property $addAsArray = true. * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function add(string $path, $value, ?bool $asArray = null): void + public function add(string $path, $value, ?bool $asArray = null): static { if (($keys = $this->getActiveKeys($path)) === null) { @@ -48,6 +50,8 @@ } $this->addActive($value, $asArray, ...$keys); + + return $this; } /** @@ -76,10 +80,10 @@ * @param string $path Registry path (e.g. vdm.content.builder) * * @throws \InvalidArgumentException If any of the path values are not a number or string. - * @return void + * @return $this * @since 3.2.0 */ - public function remove(string $path): void + public function remove(string $path): static { if (($keys = $this->getActiveKeys($path)) === null) { @@ -87,6 +91,8 @@ } $this->removeActive(...$keys); + + return $this; } /** @@ -113,12 +119,14 @@ * * @param string|null $value The value to set. * - * @return void + * @return $this * @since 3.2.0 */ - public function setSeparator(?string $value): void + public function setSeparator(?string $value): static { $this->separator = $value; + + return $this; } /** diff --git a/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/README.md b/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/README.md new file mode 100644 index 0000000..353e0fb --- /dev/null +++ b/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/README.md @@ -0,0 +1,45 @@ +``` +██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ +██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ +██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ +██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ +╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ +``` +# final class Schema (Details) +> namespace: **VDM\Joomla\Componentbuilder\Table** +> extends: **ExtendingSchema** +```uml +@startuml +class Schema << (F,LightGreen) >> #RoyalBlue { + + __construct(?Table $table = null) + # getCode() : string +} + +note right of Schema::__construct + Constructor. + + since: 3.2.1 +end note + +note right of Schema::getCode + Get the targeted component code + + since: 3.2.1 + return: string +end note + +@enduml +``` + +--- +``` + ██╗ ██████╗██████╗ + ██║██╔════╝██╔══██╗ + ██║██║ ██████╔╝ +██ ██║██║ ██╔══██╗ +╚█████╔╝╚██████╗██████╔╝ + ╚════╝ ╚═════╝╚═════╝ +``` +> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) + diff --git a/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.php b/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.php new file mode 100644 index 0000000..200e330 --- /dev/null +++ b/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.php @@ -0,0 +1,52 @@ + + * @git Joomla Component Builder + * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. + * @license GNU General Public License version 2 or later; see LICENSE.txt + */ + +namespace VDM\Joomla\Componentbuilder\Table; + + +use VDM\Joomla\Componentbuilder\Table; +use VDM\Joomla\Interfaces\SchemaInterface; +use VDM\Joomla\Abstraction\Schema as ExtendingSchema; + + +/** + * JCB Tables Schema + * + * @since 3.2.1 + */ +final class Schema extends ExtendingSchema implements SchemaInterface +{ + /** + * Constructor. + * + * @param Table $table The Table Class. + * + * @since 3.2.1 + */ + public function __construct(?Table $table = null) + { + $table ??= new Table; + + parent::__construct($table); + } + + /** + * Get the targeted component code + * + * @return string + * @since 3.2.1 + */ + protected function getCode(): string + { + return 'componentbuilder'; + } +} + diff --git a/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.power b/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.power new file mode 100644 index 0000000..b06bb7e --- /dev/null +++ b/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.power @@ -0,0 +1,24 @@ + /** + * Constructor. + * + * @param Table $table The Table Class. + * + * @since 3.2.1 + */ + public function __construct(?Table $table = null) + { + $table ??= new Table; + + parent::__construct($table); + } + + /** + * Get the targeted component code + * + * @return string + * @since 3.2.1 + */ + protected function getCode(): string + { + return '[[[component]]]'; + } \ No newline at end of file diff --git a/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/settings.json b/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/settings.json new file mode 100644 index 0000000..97841bf --- /dev/null +++ b/src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/settings.json @@ -0,0 +1,25 @@ +{ + "add_head": "0", + "add_licensing_template": "2", + "extends": "f3c04c28-bce4-422e-be93-7d163e4e342b", + "guid": "b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce", + "implements": [ + "4dd11b9b-3c64-460b-aaa6-62ba467db7aa" + ], + "load_selection": null, + "name": "Schema", + "power_version": "2.0.0", + "system_name": "JCB.Table.Schema", + "type": "final class", + "use_selection": { + "use_selection0": { + "use": "bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8", + "as": "default" + } + }, + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Componentbuilder.Table.Schema", + "description": "JCB Tables Schema\r\n\r\n@since 3.2.1", + "licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe \r\n * @git Joomla Component Builder \r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n", + "head": "", + "composer": "" +} \ No newline at end of file diff --git a/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php b/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php index b60186b..36f8d1e 100644 --- a/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php +++ b/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php @@ -39,6 +39,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'name_code' => [ 'name' => 'name_code', @@ -48,6 +55,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'short_description' => [ 'name' => 'short_description', @@ -57,6 +71,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'companyname' => [ 'name' => 'companyname', @@ -66,42 +87,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Details', - ], - 'add_jcb_powers_path' => [ - 'name' => 'add_jcb_powers_path', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_JCB_POWERS_PATH_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Integration', - ], - 'add_sales_server' => [ - 'name' => 'add_sales_server', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_SALES_SERVER_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Integration', - ], - 'sql_uninstall' => [ - 'name' => 'sql_uninstall', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_LABEL', - 'type' => 'textarea', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'MySQL', - ], - 'php_postflight_install' => [ - 'name' => 'php_postflight_install', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_site_event' => [ 'name' => 'php_site_event', @@ -111,303 +103,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => 'base64', 'tab_name' => 'Libs & Helpers', - ], - 'mvc_versiondate' => [ - 'name' => 'mvc_versiondate', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_MVC_VERSIONDATE_LABEL', - 'type' => 'list', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'remove_line_breaks' => [ - 'name' => 'remove_line_breaks', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_REMOVE_LINE_BREAKS_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'add_placeholders' => [ - 'name' => 'add_placeholders', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_PLACEHOLDERS_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'php_helper_both' => [ - 'name' => 'php_helper_both', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Libs & Helpers', - ], - 'php_admin_event' => [ - 'name' => 'php_admin_event', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Libs & Helpers', - ], - 'description' => [ - 'name' => 'description', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DESCRIPTION_LABEL', - 'type' => 'textarea', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'css_admin' => [ - 'name' => 'css_admin', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Libs & Helpers', - ], - 'author' => [ - 'name' => 'author', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_LABEL', - 'type' => 'text', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'php_preflight_install' => [ - 'name' => 'php_preflight_install', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Dash & Install', - ], - 'email' => [ - 'name' => 'email', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_LABEL', - 'type' => 'text', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'php_method_uninstall' => [ - 'name' => 'php_method_uninstall', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Dash & Install', - ], - 'website' => [ - 'name' => 'website', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_LABEL', - 'type' => 'url', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'debug_linenr' => [ - 'name' => 'debug_linenr', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DEBUG_LINENR_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'add_license' => [ - 'name' => 'add_license', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_LICENSE_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'backup_folder_path' => [ - 'name' => 'backup_folder_path', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BACKUP_FOLDER_PATH_LABEL', - 'type' => 'text', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Integration', - ], - 'license_type' => [ - 'name' => 'license_type', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_TYPE_LABEL', - 'type' => 'list', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'crowdin_project_identifier' => [ - 'name' => 'crowdin_project_identifier', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_LABEL', - 'type' => 'text', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Integration', - ], - 'created' => [ - 'name' => 'created', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATED_LABEL', - 'type' => 'calendar', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'publishing', - ], - 'whmcs_key' => [ - 'name' => 'whmcs_key', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_LABEL', - 'type' => 'text', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'basic_encryption', - 'tab_name' => 'Details', - ], - 'php_helper_admin' => [ - 'name' => 'php_helper_admin', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Libs & Helpers', - ], - 'whmcs_url' => [ - 'name' => 'whmcs_url', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_LABEL', - 'type' => 'url', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'php_helper_site' => [ - 'name' => 'php_helper_site', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Libs & Helpers', - ], - 'whmcs_buy_link' => [ - 'name' => 'whmcs_buy_link', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_BUY_LINK_LABEL', - 'type' => 'url', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'javascript' => [ - 'name' => 'javascript', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Libs & Helpers', - ], - 'license' => [ - 'name' => 'license', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_LABEL', - 'type' => 'textarea', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'css_site' => [ - 'name' => 'css_site', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Libs & Helpers', - ], - 'bom' => [ - 'name' => 'bom', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BOM_LABEL', - 'type' => 'filelist', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'image' => [ - 'name' => 'image', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_LABEL', - 'type' => 'media', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'php_preflight_update' => [ - 'name' => 'php_preflight_update', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Dash & Install', - ], - 'copyright' => [ - 'name' => 'copyright', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COPYRIGHT_LABEL', - 'type' => 'textarea', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'php_postflight_update' => [ - 'name' => 'php_postflight_update', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_LABEL', - 'type' => 'editor', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Dash & Install', - ], - 'sql' => [ - 'name' => 'sql', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_LABEL', - 'type' => 'textarea', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'MySQL', - ], - 'addreadme' => [ - 'name' => 'addreadme', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDREADME_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Readme', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'component_version' => [ 'name' => 'component_version', @@ -417,51 +119,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], - 'update_server_url' => [ - 'name' => 'update_server_url', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_LABEL', - 'type' => 'url', + 'php_admin_event' => [ + 'name' => 'php_admin_event', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL', + 'type' => 'editor', 'title' => false, 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Integration', - ], - 'preferred_joomla_version' => [ - 'name' => 'preferred_joomla_version', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PREFERRED_JOOMLA_VERSION_LABEL', - 'type' => 'number', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'add_powers' => [ - 'name' => 'add_powers', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_POWERS_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'add_backup_folder_path' => [ - 'name' => 'add_backup_folder_path', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_BACKUP_FOLDER_PATH_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Integration', - ], - 'translation_tool' => [ - 'name' => 'translation_tool', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TRANSLATION_TOOL_LABEL', - 'type' => 'list', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Integration', + 'store' => 'base64', + 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'crowdin_username' => [ 'name' => 'crowdin_username', @@ -471,6 +151,301 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => 'basic_encryption', 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'php_preflight_install' => [ + 'name' => 'php_preflight_install', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'remove_line_breaks' => [ + 'name' => 'remove_line_breaks', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_REMOVE_LINE_BREAKS_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'description' => [ + 'name' => 'description', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DESCRIPTION_LABEL', + 'type' => 'textarea', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'php_method_uninstall' => [ + 'name' => 'php_method_uninstall', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'debug_linenr' => [ + 'name' => 'debug_linenr', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DEBUG_LINENR_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'mvc_versiondate' => [ + 'name' => 'mvc_versiondate', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_MVC_VERSIONDATE_LABEL', + 'type' => 'list', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'css_admin' => [ + 'name' => 'css_admin', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'addreadme' => [ + 'name' => 'addreadme', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDREADME_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Readme', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'php_postflight_install' => [ + 'name' => 'php_postflight_install', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'add_placeholders' => [ + 'name' => 'add_placeholders', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_PLACEHOLDERS_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'sql' => [ + 'name' => 'sql', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_LABEL', + 'type' => 'textarea', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'author' => [ + 'name' => 'author', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'update_server_url' => [ + 'name' => 'update_server_url', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_LABEL', + 'type' => 'url', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'email' => [ + 'name' => 'email', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'add_backup_folder_path' => [ + 'name' => 'add_backup_folder_path', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_BACKUP_FOLDER_PATH_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'website' => [ + 'name' => 'website', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_LABEL', + 'type' => 'url', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'translation_tool' => [ + 'name' => 'translation_tool', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TRANSLATION_TOOL_LABEL', + 'type' => 'list', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'add_license' => [ + 'name' => 'add_license', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_LICENSE_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'buildcompsql' => [ 'name' => 'buildcompsql', @@ -480,6 +455,381 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => 'base64', 'tab_name' => 'Dynamic Build', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'license_type' => [ + 'name' => 'license_type', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_TYPE_LABEL', + 'type' => 'list', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'php_helper_admin' => [ + 'name' => 'php_helper_admin', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'php_helper_site' => [ + 'name' => 'php_helper_site', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'whmcs_key' => [ + 'name' => 'whmcs_key', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'basic_encryption', + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'javascript' => [ + 'name' => 'javascript', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'whmcs_url' => [ + 'name' => 'whmcs_url', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_LABEL', + 'type' => 'url', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'css_site' => [ + 'name' => 'css_site', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'whmcs_buy_link' => [ + 'name' => 'whmcs_buy_link', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_BUY_LINK_LABEL', + 'type' => 'url', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'license' => [ + 'name' => 'license', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_LABEL', + 'type' => 'textarea', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'php_preflight_update' => [ + 'name' => 'php_preflight_update', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'bom' => [ + 'name' => 'bom', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BOM_LABEL', + 'type' => 'filelist', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'php_postflight_update' => [ + 'name' => 'php_postflight_update', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'image' => [ + 'name' => 'image', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_LABEL', + 'type' => 'media', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'php_method_install' => [ + 'name' => 'php_method_install', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_INSTALL_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'copyright' => [ + 'name' => 'copyright', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COPYRIGHT_LABEL', + 'type' => 'textarea', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'sql_uninstall' => [ + 'name' => 'sql_uninstall', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_LABEL', + 'type' => 'textarea', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'preferred_joomla_version' => [ + 'name' => 'preferred_joomla_version', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PREFERRED_JOOMLA_VERSION_LABEL', + 'type' => 'number', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '3', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'add_powers' => [ + 'name' => 'add_powers', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_POWERS_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'add_sales_server' => [ + 'name' => 'add_sales_server', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_SALES_SERVER_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'backup_folder_path' => [ + 'name' => 'backup_folder_path', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BACKUP_FOLDER_PATH_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'add_jcb_powers_path' => [ + 'name' => 'add_jcb_powers_path', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_JCB_POWERS_PATH_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'crowdin_project_identifier' => [ + 'name' => 'crowdin_project_identifier', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'created' => [ + 'name' => 'created', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATED_LABEL', + 'type' => 'calendar', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'DATETIME', + 'default' => '0000-00-00 00:00:00', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_helper_admin' => [ 'name' => 'add_php_helper_admin', @@ -489,6 +839,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_admin_event' => [ 'name' => 'add_admin_event', @@ -498,6 +855,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_helper_site' => [ 'name' => 'add_php_helper_site', @@ -507,6 +871,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_site_event' => [ 'name' => 'add_site_event', @@ -516,6 +887,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_namespace_prefix' => [ 'name' => 'add_namespace_prefix', @@ -525,6 +903,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'CHAR(1)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_javascript' => [ 'name' => 'add_javascript', @@ -534,6 +919,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'namespace_prefix' => [ 'name' => 'namespace_prefix', @@ -543,6 +935,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_css_admin' => [ 'name' => 'add_css_admin', @@ -552,6 +951,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_css_site' => [ 'name' => 'add_css_site', @@ -561,6 +967,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_menu_prefix' => [ 'name' => 'add_menu_prefix', @@ -570,6 +983,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'CHAR(1)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'dashboard_type' => [ 'name' => 'dashboard_type', @@ -579,6 +999,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'menu_prefix' => [ 'name' => 'menu_prefix', @@ -588,6 +1015,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'VARCHAR(100)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'dashboard' => [ 'name' => 'dashboard', @@ -597,6 +1031,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_preflight_install' => [ 'name' => 'add_php_preflight_install', @@ -606,6 +1047,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_preflight_update' => [ 'name' => 'add_php_preflight_update', @@ -615,6 +1063,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'toignore' => [ 'name' => 'toignore', @@ -624,6 +1079,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_postflight_install' => [ 'name' => 'add_php_postflight_install', @@ -633,6 +1095,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_postflight_update' => [ 'name' => 'add_php_postflight_update', @@ -642,6 +1111,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_method_uninstall' => [ 'name' => 'add_php_method_uninstall', @@ -651,6 +1127,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'export_key' => [ 'name' => 'export_key', @@ -660,15 +1143,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => 'basic_encryption', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], - 'add_sql' => [ - 'name' => 'add_sql', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_SQL_LABEL', + 'add_php_method_install' => [ + 'name' => 'add_php_method_install', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_PHP_METHOD_INSTALL_LABEL', 'type' => 'radio', 'title' => false, 'list' => 'joomla_components', 'store' => NULL, - 'tab_name' => 'MySQL', + 'tab_name' => 'Dash & Install', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'joomla_source_link' => [ 'name' => 'joomla_source_link', @@ -678,15 +1175,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], - 'add_sql_uninstall' => [ - 'name' => 'add_sql_uninstall', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_SQL_UNINSTALL_LABEL', + 'add_sql' => [ + 'name' => 'add_sql', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_SQL_LABEL', 'type' => 'radio', 'title' => false, 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'export_buy_link' => [ 'name' => 'export_buy_link', @@ -696,6 +1207,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'add_sql_uninstall' => [ + 'name' => 'add_sql_uninstall', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_SQL_UNINSTALL_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'assets_table_fix' => [ 'name' => 'assets_table_fix', @@ -705,6 +1239,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '3', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'readme' => [ 'name' => 'readme', @@ -714,15 +1255,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => 'base64', 'tab_name' => 'Readme', - ], - 'add_update_server' => [ - 'name' => 'add_update_server', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UPDATE_SERVER_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addcontributors' => [ 'name' => 'addcontributors', @@ -732,15 +1271,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => 'json', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], - 'update_server_target' => [ - 'name' => 'update_server_target', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_TARGET_LABEL', + 'add_update_server' => [ + 'name' => 'add_update_server', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UPDATE_SERVER_LABEL', 'type' => 'radio', 'title' => false, 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'emptycontributors' => [ 'name' => 'emptycontributors', @@ -750,6 +1303,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'update_server_target' => [ + 'name' => 'update_server_target', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_TARGET_LABEL', + 'type' => 'radio', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'number' => [ 'name' => 'number', @@ -759,6 +1335,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'update_server' => [ 'name' => 'update_server', @@ -768,6 +1351,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'sales_server' => [ 'name' => 'sales_server', @@ -777,6 +1367,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_git_folder_path' => [ 'name' => 'add_git_folder_path', @@ -786,6 +1383,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'git_folder_path' => [ 'name' => 'git_folder_path', @@ -795,6 +1399,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'jcb_powers_path' => [ 'name' => 'jcb_powers_path', @@ -804,6 +1415,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'creatuserhelper' => [ 'name' => 'creatuserhelper', @@ -813,15 +1431,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', - ], - 'crowdin_project_api_key' => [ - 'name' => 'crowdin_project_api_key', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_LABEL', - 'type' => 'text', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'basic_encryption', - 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'adduikit' => [ 'name' => 'adduikit', @@ -831,15 +1447,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], - 'crowdin_account_api_key' => [ - 'name' => 'crowdin_account_api_key', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_LABEL', + 'crowdin_project_api_key' => [ + 'name' => 'crowdin_project_api_key', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_LABEL', 'type' => 'text', 'title' => false, 'list' => 'joomla_components', 'store' => 'basic_encryption', 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfootable' => [ 'name' => 'addfootable', @@ -849,15 +1479,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], - 'buildcomp' => [ - 'name' => 'buildcomp', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL', - 'type' => 'radio', + 'crowdin_account_api_key' => [ + 'name' => 'crowdin_account_api_key', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_LABEL', + 'type' => 'text', 'title' => false, 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Dynamic Build', + 'store' => 'basic_encryption', + 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_email_helper' => [ 'name' => 'add_email_helper', @@ -867,15 +1511,29 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], - 'guid' => [ - 'name' => 'guid', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_GUID_LABEL', - 'type' => 'text', + 'buildcomp' => [ + 'name' => 'buildcomp', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL', + 'type' => 'radio', 'title' => false, 'list' => 'joomla_components', 'store' => NULL, - 'tab_name' => 'publishing', + 'tab_name' => 'Dynamic Build', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_helper_both' => [ 'name' => 'add_php_helper_both', @@ -885,6 +1543,45 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'guid' => [ + 'name' => 'guid', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_GUID_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'php_helper_both' => [ + 'name' => 'php_helper_both', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_LABEL', + 'type' => 'editor', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Libs & Helpers', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'modified' => [ 'name' => 'modified', @@ -894,6 +1591,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'DATETIME', + 'default' => '0000-00-00 00:00:00', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'name' => [ 'name' => 'name', @@ -903,6 +1607,63 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_components', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], + ], + 'metakey' => [ + 'name' => 'metakey', + 'label' => 'Meta Keywords', + 'type' => 'textarea', + 'title' => false, + 'store' => NULL, + 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'TEXT', + 'default' => '', + ], + ], + 'metadesc' => [ + 'name' => 'metadesc', + 'label' => 'Meta Description', + 'type' => 'textarea', + 'title' => false, + 'store' => NULL, + 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'TEXT', + 'default' => '', + ], + ], + 'metadata' => [ + 'name' => 'metadata', + 'label' => 'Meta Data', + 'type' => NULL, + 'title' => false, + 'store' => 'json', + 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'TEXT', + 'default' => '', + ], ], ], 'joomla_module' => [ @@ -914,6 +1675,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'HTML', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'target' => [ 'name' => 'target', @@ -923,6 +1691,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'HTML', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'description' => [ 'name' => 'description', @@ -932,6 +1707,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'HTML', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_method_uninstall' => [ 'name' => 'add_php_method_uninstall', @@ -941,6 +1723,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_postflight_update' => [ 'name' => 'add_php_postflight_update', @@ -950,6 +1739,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_postflight_install' => [ 'name' => 'add_php_postflight_install', @@ -959,6 +1755,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_preflight_uninstall' => [ 'name' => 'add_php_preflight_uninstall', @@ -968,6 +1771,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addreadme' => [ 'name' => 'addreadme', @@ -977,6 +1787,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Readme', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'default' => [ 'name' => 'default', @@ -986,6 +1803,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'HTML', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'snippet' => [ 'name' => 'snippet', @@ -995,6 +1819,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'HTML', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_sql' => [ 'name' => 'add_sql', @@ -1004,6 +1835,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'update_server_target' => [ 'name' => 'update_server_target', @@ -1013,6 +1851,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_sql_uninstall' => [ 'name' => 'add_sql_uninstall', @@ -1022,6 +1867,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'update_server' => [ 'name' => 'update_server', @@ -1031,6 +1883,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_update_server' => [ 'name' => 'add_update_server', @@ -1040,6 +1899,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'libraries' => [ 'name' => 'libraries', @@ -1049,6 +1915,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'json', 'tab_name' => 'HTML', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'module_version' => [ 'name' => 'module_version', @@ -1058,6 +1931,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'HTML', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'sales_server' => [ 'name' => 'sales_server', @@ -1067,6 +1947,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'custom_get' => [ 'name' => 'custom_get', @@ -1076,6 +1963,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'json', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_preflight_update' => [ 'name' => 'php_preflight_update', @@ -1085,6 +1979,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_preflight_uninstall' => [ 'name' => 'php_preflight_uninstall', @@ -1094,6 +1995,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'mod_code' => [ 'name' => 'mod_code', @@ -1103,6 +2011,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_postflight_install' => [ 'name' => 'php_postflight_install', @@ -1112,6 +2027,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_class_helper' => [ 'name' => 'add_class_helper', @@ -1121,6 +2043,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Helper', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_postflight_update' => [ 'name' => 'php_postflight_update', @@ -1130,6 +2059,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_class_helper_header' => [ 'name' => 'add_class_helper_header', @@ -1139,6 +2075,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Helper', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_method_uninstall' => [ 'name' => 'php_method_uninstall', @@ -1148,6 +2091,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'class_helper_header' => [ 'name' => 'class_helper_header', @@ -1157,6 +2107,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Helper', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'sql' => [ 'name' => 'sql', @@ -1166,6 +2123,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'class_helper_code' => [ 'name' => 'class_helper_code', @@ -1175,6 +2139,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Helper', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'sql_uninstall' => [ 'name' => 'sql_uninstall', @@ -1184,6 +2155,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'fields' => [ 'name' => 'fields', @@ -1193,6 +2171,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'json', 'tab_name' => 'Forms & Fields', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'readme' => [ 'name' => 'readme', @@ -1202,6 +2187,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Readme', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_script_construct' => [ 'name' => 'add_php_script_construct', @@ -1211,6 +2203,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'update_server_url' => [ 'name' => 'update_server_url', @@ -1220,6 +2219,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_script_construct' => [ 'name' => 'php_script_construct', @@ -1229,6 +2235,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_preflight_install' => [ 'name' => 'add_php_preflight_install', @@ -1238,6 +2251,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_preflight_install' => [ 'name' => 'php_preflight_install', @@ -1247,6 +2267,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_sales_server' => [ 'name' => 'add_sales_server', @@ -1256,6 +2283,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_preflight_update' => [ 'name' => 'add_php_preflight_update', @@ -1265,6 +2299,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'guid' => [ 'name' => 'guid', @@ -1274,6 +2315,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'name' => [ 'name' => 'name', @@ -1283,6 +2331,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules', 'store' => NULL, 'tab_name' => 'HTML', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'joomla_plugin' => [ @@ -1294,6 +2363,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'class_extends' => [ 'name' => 'class_extends', @@ -1303,6 +2379,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'joomla_plugin_group' => [ 'name' => 'joomla_plugin_group', @@ -1312,6 +2395,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_sql' => [ 'name' => 'add_sql', @@ -1321,6 +2411,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_method_uninstall' => [ 'name' => 'add_php_method_uninstall', @@ -1330,6 +2427,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_postflight_update' => [ 'name' => 'add_php_postflight_update', @@ -1339,6 +2443,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_postflight_install' => [ 'name' => 'add_php_postflight_install', @@ -1348,6 +2459,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'sales_server' => [ 'name' => 'sales_server', @@ -1357,6 +2475,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_update_server' => [ 'name' => 'add_update_server', @@ -1366,6 +2491,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'method_selection' => [ 'name' => 'method_selection', @@ -1375,6 +2507,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'json', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'property_selection' => [ 'name' => 'property_selection', @@ -1384,6 +2523,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'json', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_head' => [ 'name' => 'add_head', @@ -1393,6 +2539,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_sql_uninstall' => [ 'name' => 'add_sql_uninstall', @@ -1402,6 +2555,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addreadme' => [ 'name' => 'addreadme', @@ -1411,6 +2571,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Readme', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'head' => [ 'name' => 'head', @@ -1420,6 +2587,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'update_server_target' => [ 'name' => 'update_server_target', @@ -1429,6 +2603,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'main_class_code' => [ 'name' => 'main_class_code', @@ -1438,6 +2619,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'update_server' => [ 'name' => 'update_server', @@ -1447,6 +2635,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'description' => [ 'name' => 'description', @@ -1456,6 +2651,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_postflight_install' => [ 'name' => 'php_postflight_install', @@ -1465,6 +2667,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'plugin_version' => [ 'name' => 'plugin_version', @@ -1474,6 +2683,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_postflight_update' => [ 'name' => 'php_postflight_update', @@ -1483,6 +2699,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'fields' => [ 'name' => 'fields', @@ -1492,6 +2715,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'json', 'tab_name' => 'Forms & Fields', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_method_uninstall' => [ 'name' => 'php_method_uninstall', @@ -1501,6 +2731,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_script_construct' => [ 'name' => 'add_php_script_construct', @@ -1510,6 +2747,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'sql' => [ 'name' => 'sql', @@ -1519,6 +2763,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_script_construct' => [ 'name' => 'php_script_construct', @@ -1528,6 +2779,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'sql_uninstall' => [ 'name' => 'sql_uninstall', @@ -1537,6 +2795,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_preflight_install' => [ 'name' => 'add_php_preflight_install', @@ -1546,6 +2811,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'readme' => [ 'name' => 'readme', @@ -1555,6 +2827,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Readme', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_preflight_install' => [ 'name' => 'php_preflight_install', @@ -1564,6 +2843,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'update_server_url' => [ 'name' => 'update_server_url', @@ -1573,6 +2859,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_preflight_update' => [ 'name' => 'add_php_preflight_update', @@ -1582,6 +2875,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_preflight_update' => [ 'name' => 'php_preflight_update', @@ -1591,6 +2891,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_preflight_uninstall' => [ 'name' => 'add_php_preflight_uninstall', @@ -1600,6 +2907,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_sales_server' => [ 'name' => 'add_sales_server', @@ -1609,6 +2923,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Dynamic Integration', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_preflight_uninstall' => [ 'name' => 'php_preflight_uninstall', @@ -1618,6 +2939,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => 'base64', 'tab_name' => 'Script File', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'guid' => [ 'name' => 'guid', @@ -1627,6 +2955,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'name' => [ 'name' => 'name', @@ -1636,6 +2971,107 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], + ], + ], + 'joomla_power' => [ + 'system_name' => [ + 'name' => 'system_name', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_POWER_SYSTEM_NAME_LABEL', + 'type' => 'text', + 'title' => true, + 'list' => 'joomla_powers', + 'store' => NULL, + 'tab_name' => 'Joomla Power', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'settings' => [ + 'name' => 'settings', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_POWER_SETTINGS_LABEL', + 'type' => 'subform', + 'title' => false, + 'list' => 'joomla_powers', + 'store' => 'json', + 'tab_name' => 'Joomla Power', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'guid' => [ + 'name' => 'guid', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_POWER_GUID_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_powers', + 'store' => NULL, + 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'description' => [ + 'name' => 'description', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_POWER_DESCRIPTION_LABEL', + 'type' => 'textarea', + 'title' => false, + 'list' => 'joomla_powers', + 'store' => NULL, + 'tab_name' => 'Joomla Power', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'power' => [ @@ -1647,6 +3083,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'namespace' => [ 'name' => 'namespace', @@ -1656,6 +3099,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'type' => [ 'name' => 'type', @@ -1665,6 +3115,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'power_version' => [ 'name' => 'power_version', @@ -1674,6 +3131,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'method_selection' => [ 'name' => 'method_selection', @@ -1683,6 +3147,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'json', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'load_selection' => [ 'name' => 'load_selection', @@ -1692,6 +3163,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'json', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'licensing_template' => [ 'name' => 'licensing_template', @@ -1701,6 +3179,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'base64', 'tab_name' => 'Licensing', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'description' => [ 'name' => 'description', @@ -1710,6 +3195,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'composer' => [ 'name' => 'composer', @@ -1719,6 +3211,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'json', 'tab_name' => 'Composer', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'extends' => [ 'name' => 'extends', @@ -1728,6 +3227,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'approved' => [ 'name' => 'approved', @@ -1737,6 +3243,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Super Power', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'property_selection' => [ 'name' => 'property_selection', @@ -1746,6 +3259,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'json', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_head' => [ 'name' => 'add_head', @@ -1755,6 +3275,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'extends_custom' => [ 'name' => 'extends_custom', @@ -1764,6 +3291,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'implements_custom' => [ 'name' => 'implements_custom', @@ -1773,6 +3307,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(1024)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'implements' => [ 'name' => 'implements', @@ -1782,6 +3323,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'json', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'head' => [ 'name' => 'head', @@ -1791,6 +3339,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'base64', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'approved_paths' => [ 'name' => 'approved_paths', @@ -1800,6 +3355,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'json', 'tab_name' => 'Super Power', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'use_selection' => [ 'name' => 'use_selection', @@ -1809,6 +3371,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'json', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'main_class_code' => [ 'name' => 'main_class_code', @@ -1818,6 +3387,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => 'base64', 'tab_name' => 'Code', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_licensing_template' => [ 'name' => 'add_licensing_template', @@ -1827,6 +3403,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Licensing', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'guid' => [ 'name' => 'guid', @@ -1836,6 +3419,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'name' => [ 'name' => 'name', @@ -1845,6 +3435,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'powers', 'store' => NULL, 'tab_name' => 'Code', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'admin_view' => [ @@ -1856,6 +3467,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'name_single' => [ 'name' => 'name_single', @@ -1865,6 +3483,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'short_description' => [ 'name' => 'short_description', @@ -1874,6 +3499,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_allowedit' => [ 'name' => 'php_allowedit', @@ -1883,6 +3515,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_postsavehook' => [ 'name' => 'php_postsavehook', @@ -1892,6 +3531,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_before_save' => [ 'name' => 'php_before_save', @@ -1901,6 +3547,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_getlistquery' => [ 'name' => 'php_getlistquery', @@ -1910,6 +3563,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_import_ext' => [ 'name' => 'php_import_ext', @@ -1919,6 +3579,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Import', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'icon' => [ 'name' => 'icon', @@ -1928,6 +3595,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_after_publish' => [ 'name' => 'php_after_publish', @@ -1937,6 +3611,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_fadein' => [ 'name' => 'add_fadein', @@ -1946,6 +3627,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'description' => [ 'name' => 'description', @@ -1955,6 +3643,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'icon_category' => [ 'name' => 'icon_category', @@ -1964,6 +3659,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'icon_add' => [ 'name' => 'icon_add', @@ -1973,6 +3675,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_after_cancel' => [ 'name' => 'php_after_cancel', @@ -1982,6 +3691,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'mysql_table_charset' => [ 'name' => 'mysql_table_charset', @@ -1991,6 +3707,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_batchmove' => [ 'name' => 'php_batchmove', @@ -2000,6 +3723,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'type' => [ 'name' => 'type', @@ -2009,6 +3739,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_after_delete' => [ 'name' => 'php_after_delete', @@ -2018,6 +3755,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'source' => [ 'name' => 'source', @@ -2027,6 +3771,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_import' => [ 'name' => 'php_import', @@ -2036,6 +3787,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Import', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addpermissions' => [ 'name' => 'addpermissions', @@ -2045,6 +3803,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'json', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_getitems_after_all' => [ 'name' => 'php_getitems_after_all', @@ -2054,6 +3819,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_getform' => [ 'name' => 'php_getform', @@ -2063,6 +3835,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addtabs' => [ 'name' => 'addtabs', @@ -2072,6 +3851,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'json', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_save' => [ 'name' => 'php_save', @@ -2081,6 +3867,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_allowadd' => [ 'name' => 'php_allowadd', @@ -2090,6 +3883,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_before_cancel' => [ 'name' => 'php_before_cancel', @@ -2099,6 +3899,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addlinked_views' => [ 'name' => 'addlinked_views', @@ -2108,6 +3915,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'json', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_batchcopy' => [ 'name' => 'php_batchcopy', @@ -2117,6 +3931,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_before_publish' => [ 'name' => 'php_before_publish', @@ -2126,6 +3947,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'alias_builder_type' => [ 'name' => 'alias_builder_type', @@ -2135,6 +3963,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Fields', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_before_delete' => [ 'name' => 'php_before_delete', @@ -2144,6 +3979,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_document' => [ 'name' => 'php_document', @@ -2153,6 +3995,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'mysql_table_row_format' => [ 'name' => 'mysql_table_row_format', @@ -2162,6 +4011,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'alias_builder' => [ 'name' => 'alias_builder', @@ -2171,6 +4027,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'json', 'tab_name' => 'Fields', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'sql' => [ 'name' => 'sql', @@ -2180,6 +4043,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_import_display' => [ 'name' => 'php_import_display', @@ -2189,6 +4059,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Import', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_category_submenu' => [ 'name' => 'add_category_submenu', @@ -2198,6 +4075,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Fields', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_import_setdata' => [ 'name' => 'php_import_setdata', @@ -2207,6 +4091,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Import', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'name_list' => [ 'name' => 'name_list', @@ -2216,6 +4107,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_getlistquery' => [ 'name' => 'add_php_getlistquery', @@ -2225,6 +4123,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_css_view' => [ 'name' => 'add_css_view', @@ -2234,6 +4139,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_getform' => [ 'name' => 'add_php_getform', @@ -2243,6 +4155,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'css_view' => [ 'name' => 'css_view', @@ -2252,6 +4171,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_before_save' => [ 'name' => 'add_php_before_save', @@ -2261,6 +4187,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_css_views' => [ 'name' => 'add_css_views', @@ -2270,6 +4203,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_save' => [ 'name' => 'add_php_save', @@ -2279,6 +4219,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'css_views' => [ 'name' => 'css_views', @@ -2288,6 +4235,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_postsavehook' => [ 'name' => 'add_php_postsavehook', @@ -2297,6 +4251,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_javascript_view_file' => [ 'name' => 'add_javascript_view_file', @@ -2306,6 +4267,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'JavaScript', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_allowadd' => [ 'name' => 'add_php_allowadd', @@ -2315,6 +4283,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'javascript_view_file' => [ 'name' => 'javascript_view_file', @@ -2324,6 +4299,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'JavaScript', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_allowedit' => [ 'name' => 'add_php_allowedit', @@ -2333,6 +4315,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_javascript_view_footer' => [ 'name' => 'add_javascript_view_footer', @@ -2342,6 +4331,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'JavaScript', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_before_cancel' => [ 'name' => 'add_php_before_cancel', @@ -2351,6 +4347,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'javascript_view_footer' => [ 'name' => 'javascript_view_footer', @@ -2360,6 +4363,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'JavaScript', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_after_cancel' => [ 'name' => 'add_php_after_cancel', @@ -2369,6 +4379,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_javascript_views_file' => [ 'name' => 'add_javascript_views_file', @@ -2378,6 +4395,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'JavaScript', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_batchcopy' => [ 'name' => 'add_php_batchcopy', @@ -2387,6 +4411,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'javascript_views_file' => [ 'name' => 'javascript_views_file', @@ -2396,6 +4427,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'JavaScript', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_batchmove' => [ 'name' => 'add_php_batchmove', @@ -2405,6 +4443,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_javascript_views_footer' => [ 'name' => 'add_javascript_views_footer', @@ -2414,6 +4459,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'JavaScript', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_before_publish' => [ 'name' => 'add_php_before_publish', @@ -2423,6 +4475,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'javascript_views_footer' => [ 'name' => 'javascript_views_footer', @@ -2432,6 +4491,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'JavaScript', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_after_publish' => [ 'name' => 'add_php_after_publish', @@ -2441,6 +4507,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_custom_button' => [ 'name' => 'add_custom_button', @@ -2450,6 +4523,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'INT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_before_delete' => [ 'name' => 'add_php_before_delete', @@ -2459,6 +4539,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'custom_button' => [ 'name' => 'custom_button', @@ -2468,6 +4555,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'json', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_after_delete' => [ 'name' => 'add_php_after_delete', @@ -2477,6 +4571,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_controller' => [ 'name' => 'php_controller', @@ -2486,6 +4587,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_document' => [ 'name' => 'add_php_document', @@ -2495,6 +4603,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_model' => [ 'name' => 'php_model', @@ -2504,6 +4619,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'mysql_table_engine' => [ 'name' => 'mysql_table_engine', @@ -2513,6 +4635,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_controller_list' => [ 'name' => 'php_controller_list', @@ -2522,6 +4651,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'mysql_table_collate' => [ 'name' => 'mysql_table_collate', @@ -2531,6 +4667,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_model_list' => [ 'name' => 'php_model_list', @@ -2540,6 +4683,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_sql' => [ 'name' => 'add_sql', @@ -2549,6 +4699,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_ajax' => [ 'name' => 'add_php_ajax', @@ -2558,6 +4715,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addtables' => [ 'name' => 'addtables', @@ -2567,6 +4731,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'json', 'tab_name' => 'MySQL', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_ajaxmethod' => [ 'name' => 'php_ajaxmethod', @@ -2576,6 +4747,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'ajax_input' => [ 'name' => 'ajax_input', @@ -2585,6 +4763,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'json', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_custom_import' => [ 'name' => 'add_custom_import', @@ -2594,6 +4779,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'Custom Import', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_getitem' => [ 'name' => 'add_php_getitem', @@ -2603,6 +4795,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'html_import_view' => [ 'name' => 'html_import_view', @@ -2612,6 +4811,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Import', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_getitem' => [ 'name' => 'php_getitem', @@ -2621,6 +4827,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_import_headers' => [ 'name' => 'php_import_headers', @@ -2630,6 +4843,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Import', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_getitems' => [ 'name' => 'add_php_getitems', @@ -2639,6 +4859,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_import_save' => [ 'name' => 'php_import_save', @@ -2648,6 +4875,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'Custom Import', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_getitems' => [ 'name' => 'php_getitems', @@ -2657,6 +4891,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'guid' => [ 'name' => 'guid', @@ -2666,6 +4907,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_getitems_after_all' => [ 'name' => 'add_php_getitems_after_all', @@ -2675,6 +4923,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'custom_admin_view' => [ @@ -2686,6 +4955,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'name' => [ 'name' => 'name', @@ -2695,6 +4971,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'description' => [ 'name' => 'description', @@ -2704,6 +4987,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'main_get' => [ 'name' => 'main_get', @@ -2713,6 +5003,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_jview_display' => [ 'name' => 'add_php_jview_display', @@ -2722,6 +5019,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'css_document' => [ 'name' => 'css_document', @@ -2731,6 +5035,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'css' => [ 'name' => 'css', @@ -2740,6 +5051,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'js_document' => [ 'name' => 'js_document', @@ -2749,6 +5067,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'javascript_file' => [ 'name' => 'javascript_file', @@ -2758,6 +5083,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'codename' => [ 'name' => 'codename', @@ -2767,6 +5099,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'default' => [ 'name' => 'default', @@ -2776,6 +5115,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'snippet' => [ 'name' => 'snippet', @@ -2785,6 +5131,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'icon' => [ 'name' => 'icon', @@ -2794,6 +5147,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_jview' => [ 'name' => 'add_php_jview', @@ -2803,6 +5163,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'context' => [ 'name' => 'context', @@ -2812,6 +5179,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_js_document' => [ 'name' => 'add_js_document', @@ -2821,6 +5195,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'custom_get' => [ 'name' => 'custom_get', @@ -2830,6 +5211,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_javascript_file' => [ 'name' => 'add_javascript_file', @@ -2839,6 +5227,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_ajaxmethod' => [ 'name' => 'php_ajaxmethod', @@ -2848,6 +5243,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_css_document' => [ 'name' => 'add_css_document', @@ -2857,6 +5259,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_document' => [ 'name' => 'add_php_document', @@ -2866,6 +5275,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_css' => [ 'name' => 'add_css', @@ -2875,6 +5291,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_view' => [ 'name' => 'add_php_view', @@ -2884,6 +5307,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_ajax' => [ 'name' => 'add_php_ajax', @@ -2893,6 +5323,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'libraries' => [ 'name' => 'libraries', @@ -2902,6 +5339,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'ajax_input' => [ 'name' => 'ajax_input', @@ -2911,6 +5355,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'json', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'dynamic_get' => [ 'name' => 'dynamic_get', @@ -2920,6 +5371,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_document' => [ 'name' => 'php_document', @@ -2929,6 +5387,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_view' => [ 'name' => 'php_view', @@ -2938,6 +5403,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_custom_button' => [ 'name' => 'add_custom_button', @@ -2947,6 +5419,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'INT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_jview_display' => [ 'name' => 'php_jview_display', @@ -2956,6 +5435,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'custom_button' => [ 'name' => 'custom_button', @@ -2965,6 +5451,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'json', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_jview' => [ 'name' => 'php_jview', @@ -2974,6 +5467,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_controller' => [ 'name' => 'php_controller', @@ -2983,6 +5483,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'guid' => [ 'name' => 'guid', @@ -2992,6 +5499,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_model' => [ 'name' => 'php_model', @@ -3001,6 +5515,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_admin_views', 'store' => 'base64', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'site_view' => [ @@ -3012,6 +5547,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'name' => [ 'name' => 'name', @@ -3021,6 +5563,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'description' => [ 'name' => 'description', @@ -3030,6 +5579,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'main_get' => [ 'name' => 'main_get', @@ -3039,6 +5595,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_jview_display' => [ 'name' => 'add_php_jview_display', @@ -3048,6 +5611,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_document' => [ 'name' => 'add_php_document', @@ -3057,6 +5627,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_view' => [ 'name' => 'add_php_view', @@ -3066,6 +5643,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'js_document' => [ 'name' => 'js_document', @@ -3075,6 +5659,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'codename' => [ 'name' => 'codename', @@ -3084,6 +5675,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'javascript_file' => [ 'name' => 'javascript_file', @@ -3093,6 +5691,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'context' => [ 'name' => 'context', @@ -3102,6 +5707,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'default' => [ 'name' => 'default', @@ -3111,6 +5723,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'snippet' => [ 'name' => 'snippet', @@ -3120,6 +5739,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_jview' => [ 'name' => 'add_php_jview', @@ -3129,6 +5755,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'custom_get' => [ 'name' => 'custom_get', @@ -3138,6 +5771,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'css_document' => [ 'name' => 'css_document', @@ -3147,6 +5787,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_javascript_file' => [ 'name' => 'add_javascript_file', @@ -3156,6 +5803,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'css' => [ 'name' => 'css', @@ -3165,6 +5819,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_js_document' => [ 'name' => 'add_js_document', @@ -3174,6 +5835,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_ajaxmethod' => [ 'name' => 'php_ajaxmethod', @@ -3183,6 +5851,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_css_document' => [ 'name' => 'add_css_document', @@ -3192,6 +5867,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'libraries' => [ 'name' => 'libraries', @@ -3201,6 +5883,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_css' => [ 'name' => 'add_css', @@ -3210,6 +5899,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'JavaScript & CSS', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'dynamic_get' => [ 'name' => 'dynamic_get', @@ -3219,6 +5915,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_ajax' => [ 'name' => 'add_php_ajax', @@ -3228,6 +5931,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'ajax_input' => [ 'name' => 'ajax_input', @@ -3237,6 +5947,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'json', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_custom_button' => [ 'name' => 'add_custom_button', @@ -3246,6 +5963,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'INT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_document' => [ 'name' => 'php_document', @@ -3255,6 +5979,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'button_position' => [ 'name' => 'button_position', @@ -3264,6 +5995,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_view' => [ 'name' => 'php_view', @@ -3273,6 +6011,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_jview_display' => [ 'name' => 'php_jview_display', @@ -3282,6 +6027,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'custom_button' => [ 'name' => 'custom_button', @@ -3291,6 +6043,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'json', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_jview' => [ 'name' => 'php_jview', @@ -3300,6 +6059,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'PHP', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_controller' => [ 'name' => 'php_controller', @@ -3309,6 +6075,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'guid' => [ 'name' => 'guid', @@ -3318,6 +6091,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_model' => [ 'name' => 'php_model', @@ -3327,6 +6107,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'site_views', 'store' => 'base64', 'tab_name' => 'Custom Buttons', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'template' => [ @@ -3338,6 +6139,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'description' => [ 'name' => 'description', @@ -3347,6 +6155,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'dynamic_get' => [ 'name' => 'dynamic_get', @@ -3356,6 +6171,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_view' => [ 'name' => 'php_view', @@ -3365,6 +6187,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => 'base64', 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_view' => [ 'name' => 'add_php_view', @@ -3374,6 +6203,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => NULL, 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'template' => [ 'name' => 'template', @@ -3383,6 +6219,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'snippet' => [ 'name' => 'snippet', @@ -3392,6 +6235,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'libraries' => [ 'name' => 'libraries', @@ -3401,6 +6251,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'alias' => [ 'name' => 'alias', @@ -3410,6 +6267,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'templates', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'layout' => [ @@ -3421,6 +6299,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'description' => [ 'name' => 'description', @@ -3430,6 +6315,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'dynamic_get' => [ 'name' => 'dynamic_get', @@ -3439,6 +6331,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'snippet' => [ 'name' => 'snippet', @@ -3448,6 +6347,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_view' => [ 'name' => 'php_view', @@ -3457,6 +6363,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => 'base64', 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_view' => [ 'name' => 'add_php_view', @@ -3466,6 +6379,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => NULL, 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'layout' => [ 'name' => 'layout', @@ -3475,6 +6395,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'libraries' => [ 'name' => 'libraries', @@ -3484,6 +6411,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'alias' => [ 'name' => 'alias', @@ -3493,6 +6427,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'layouts', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'dynamic_get' => [ @@ -3504,6 +6459,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'main_source' => [ 'name' => 'main_source', @@ -3513,6 +6475,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'gettype' => [ 'name' => 'gettype', @@ -3522,6 +6491,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_calculation' => [ 'name' => 'php_calculation', @@ -3531,6 +6507,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'base64', 'tab_name' => 'Abacus', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_router_parse' => [ 'name' => 'php_router_parse', @@ -3540,6 +6523,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'base64', 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_after_getitems' => [ 'name' => 'add_php_after_getitems', @@ -3549,6 +6539,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_router_parse' => [ 'name' => 'add_php_router_parse', @@ -3558,6 +6555,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'view_selection' => [ 'name' => 'view_selection', @@ -3567,6 +6571,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_before_getitems' => [ 'name' => 'add_php_before_getitems', @@ -3576,6 +6587,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_before_getitem' => [ 'name' => 'add_php_before_getitem', @@ -3585,6 +6603,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_php_after_getitem' => [ 'name' => 'add_php_after_getitem', @@ -3594,6 +6619,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'db_table_main' => [ 'name' => 'db_table_main', @@ -3603,6 +6635,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_custom_get' => [ 'name' => 'php_custom_get', @@ -3612,6 +6651,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'base64', 'tab_name' => 'Main', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'plugin_events' => [ 'name' => 'plugin_events', @@ -3621,6 +6667,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'json', 'tab_name' => 'Main', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'db_selection' => [ 'name' => 'db_selection', @@ -3630,6 +6683,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'view_table_main' => [ 'name' => 'view_table_main', @@ -3639,6 +6699,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_php_getlistquery' => [ 'name' => 'add_php_getlistquery', @@ -3648,6 +6715,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'join_db_table' => [ 'name' => 'join_db_table', @@ -3657,6 +6731,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'json', 'tab_name' => 'Joint', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'select_all' => [ 'name' => 'select_all', @@ -3666,6 +6747,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_before_getitem' => [ 'name' => 'php_before_getitem', @@ -3675,6 +6763,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'base64', 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'getcustom' => [ 'name' => 'getcustom', @@ -3684,6 +6779,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_after_getitem' => [ 'name' => 'php_after_getitem', @@ -3693,6 +6795,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'base64', 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'pagination' => [ 'name' => 'pagination', @@ -3702,6 +6811,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Main', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'php_getlistquery' => [ 'name' => 'php_getlistquery', @@ -3711,6 +6827,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'base64', 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_before_getitems' => [ 'name' => 'php_before_getitems', @@ -3720,6 +6843,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'base64', 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'filter' => [ 'name' => 'filter', @@ -3729,6 +6859,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'json', 'tab_name' => 'Tweak', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_after_getitems' => [ 'name' => 'php_after_getitems', @@ -3738,6 +6875,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'base64', 'tab_name' => 'Custom Script', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'where' => [ 'name' => 'where', @@ -3747,6 +6891,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'json', 'tab_name' => 'Tweak', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'order' => [ 'name' => 'order', @@ -3756,6 +6907,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'json', 'tab_name' => 'Tweak', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addcalculation' => [ 'name' => 'addcalculation', @@ -3765,6 +6923,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'Abacus', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'group' => [ 'name' => 'group', @@ -3774,6 +6939,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'json', 'tab_name' => 'Tweak', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'global' => [ 'name' => 'global', @@ -3783,6 +6955,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'json', 'tab_name' => 'Tweak', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'guid' => [ 'name' => 'guid', @@ -3792,6 +6971,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'join_view_table' => [ 'name' => 'join_view_table', @@ -3801,6 +6987,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'dynamic_gets', 'store' => 'json', 'tab_name' => 'Joint', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'custom_code' => [ @@ -3812,6 +7019,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'path' => [ 'name' => 'path', @@ -3821,6 +7035,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'target' => [ 'name' => 'target', @@ -3830,6 +7051,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'type' => [ 'name' => 'type', @@ -3839,6 +7067,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'comment_type' => [ 'name' => 'comment_type', @@ -3848,6 +7083,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'joomla_version' => [ 'name' => 'joomla_version', @@ -3857,6 +7099,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '3', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'function_name' => [ 'name' => 'function_name', @@ -3866,6 +7115,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'system_name' => [ 'name' => 'system_name', @@ -3875,6 +7131,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'code' => [ 'name' => 'code', @@ -3884,6 +7147,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'hashendtarget' => [ 'name' => 'hashendtarget', @@ -3893,6 +7163,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'to_line' => [ 'name' => 'to_line', @@ -3902,6 +7179,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(100)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'from_line' => [ 'name' => 'from_line', @@ -3911,6 +7195,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(100)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'hashtarget' => [ 'name' => 'hashtarget', @@ -3920,6 +7211,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'custom_codes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'class_property' => [ @@ -3931,6 +7243,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_properties', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'visibility' => [ 'name' => 'visibility', @@ -3940,6 +7259,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_properties', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'extension_type' => [ 'name' => 'extension_type', @@ -3949,6 +7275,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_properties', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'guid' => [ 'name' => 'guid', @@ -3958,6 +7291,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_properties', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'comment' => [ 'name' => 'comment', @@ -3967,6 +7307,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_properties', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'joomla_plugin_group' => [ 'name' => 'joomla_plugin_group', @@ -3976,6 +7323,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_properties', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'default' => [ 'name' => 'default', @@ -3985,6 +7339,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_properties', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'class_method' => [ @@ -3996,6 +7371,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_methods', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'visibility' => [ 'name' => 'visibility', @@ -4005,6 +7387,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_methods', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'extension_type' => [ 'name' => 'extension_type', @@ -4014,6 +7403,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_methods', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'guid' => [ 'name' => 'guid', @@ -4023,6 +7419,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_methods', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'code' => [ 'name' => 'code', @@ -4032,6 +7435,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_methods', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'comment' => [ 'name' => 'comment', @@ -4041,6 +7451,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_methods', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'joomla_plugin_group' => [ 'name' => 'joomla_plugin_group', @@ -4050,6 +7467,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_methods', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'arguments' => [ 'name' => 'arguments', @@ -4059,6 +7483,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_methods', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'placeholder' => [ @@ -4070,6 +7515,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'placeholders', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'value' => [ 'name' => 'value', @@ -4079,6 +7531,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'placeholders', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'library' => [ @@ -4090,6 +7563,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => NULL, 'tab_name' => 'Behaviour', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'target' => [ 'name' => 'target', @@ -4099,6 +7579,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => NULL, 'tab_name' => 'Behaviour', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'how' => [ 'name' => 'how', @@ -4108,6 +7595,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => NULL, 'tab_name' => 'Behaviour', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'type' => [ 'name' => 'type', @@ -4117,6 +7611,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => NULL, 'tab_name' => 'Behaviour', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'description' => [ 'name' => 'description', @@ -4126,6 +7627,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => NULL, 'tab_name' => 'Behaviour', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'libraries' => [ 'name' => 'libraries', @@ -4135,6 +7643,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => 'json', 'tab_name' => 'Behaviour', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_setdocument' => [ 'name' => 'php_setdocument', @@ -4144,6 +7659,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => 'base64', 'tab_name' => 'Behaviour', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addconditions' => [ 'name' => 'addconditions', @@ -4153,6 +7675,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => 'json', 'tab_name' => 'Behaviour', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'guid' => [ 'name' => 'guid', @@ -4162,6 +7691,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'snippet' => [ @@ -4173,6 +7723,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'url' => [ 'name' => 'url', @@ -4182,6 +7739,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'type' => [ 'name' => 'type', @@ -4191,6 +7755,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'heading' => [ 'name' => 'heading', @@ -4200,6 +7771,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'library' => [ 'name' => 'library', @@ -4209,6 +7787,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'guid' => [ 'name' => 'guid', @@ -4218,6 +7803,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'contributor_email' => [ 'name' => 'contributor_email', @@ -4227,6 +7819,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Contributor', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'contributor_name' => [ 'name' => 'contributor_name', @@ -4236,6 +7835,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Contributor', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'contributor_website' => [ 'name' => 'contributor_website', @@ -4245,6 +7851,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Contributor', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'contributor_company' => [ 'name' => 'contributor_company', @@ -4254,6 +7867,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Contributor', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'snippet' => [ 'name' => 'snippet', @@ -4263,6 +7883,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'usage' => [ 'name' => 'usage', @@ -4272,6 +7899,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'description' => [ 'name' => 'description', @@ -4281,6 +7915,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippets', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'validation_rule' => [ @@ -4292,6 +7947,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'validation_rules', 'store' => NULL, 'tab_name' => 'Extends FormRule', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'short_description' => [ 'name' => 'short_description', @@ -4301,6 +7963,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'validation_rules', 'store' => NULL, 'tab_name' => 'Extends FormRule', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'inherit' => [ 'name' => 'inherit', @@ -4310,6 +7979,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'validation_rules', 'store' => NULL, 'tab_name' => 'Extends FormRule', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php' => [ 'name' => 'php', @@ -4319,6 +7995,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'validation_rules', 'store' => 'base64', 'tab_name' => 'Extends FormRule', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'field' => [ @@ -4330,6 +8027,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Set Properties', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'fieldtype' => [ 'name' => 'fieldtype', @@ -4339,6 +8043,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Set Properties', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'datatype' => [ 'name' => 'datatype', @@ -4348,6 +8059,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Database', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'indexes' => [ 'name' => 'indexes', @@ -4357,6 +8075,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Database', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'null_switch' => [ 'name' => 'null_switch', @@ -4366,6 +8091,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Database', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'store' => [ 'name' => 'store', @@ -4375,6 +8107,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Database', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'catid' => [ 'name' => 'catid', @@ -4384,6 +8123,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Set Properties', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'on_save_model_field' => [ 'name' => 'on_save_model_field', @@ -4393,6 +8139,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'base64', 'tab_name' => 'Database', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'initiator_on_get_model' => [ 'name' => 'initiator_on_get_model', @@ -4402,6 +8155,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'base64', 'tab_name' => 'Database', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'initiator_on_save_model' => [ 'name' => 'initiator_on_save_model', @@ -4411,6 +8171,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'base64', 'tab_name' => 'Database', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'xml' => [ 'name' => 'xml', @@ -4420,6 +8187,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'json', 'tab_name' => 'Type Info', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'datalenght' => [ 'name' => 'datalenght', @@ -4429,6 +8203,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Database', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'css_views' => [ 'name' => 'css_views', @@ -4438,6 +8219,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'base64', 'tab_name' => 'Scripts', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'css_view' => [ 'name' => 'css_view', @@ -4447,6 +8235,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'base64', 'tab_name' => 'Scripts', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'datadefault_other' => [ 'name' => 'datadefault_other', @@ -4456,6 +8251,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Database', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'datadefault' => [ 'name' => 'datadefault', @@ -4465,6 +8267,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Database', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'datalenght_other' => [ 'name' => 'datalenght_other', @@ -4474,6 +8283,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Database', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'on_get_model_field' => [ 'name' => 'on_get_model_field', @@ -4483,6 +8299,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'base64', 'tab_name' => 'Database', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'javascript_view_footer' => [ 'name' => 'javascript_view_footer', @@ -4492,6 +8315,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'base64', 'tab_name' => 'Scripts', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'javascript_views_footer' => [ 'name' => 'javascript_views_footer', @@ -4501,6 +8331,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => 'base64', 'tab_name' => 'Scripts', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'add_css_view' => [ 'name' => 'add_css_view', @@ -4510,6 +8347,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Scripts', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_css_views' => [ 'name' => 'add_css_views', @@ -4519,6 +8363,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Scripts', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_javascript_view_footer' => [ 'name' => 'add_javascript_view_footer', @@ -4528,6 +8379,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Scripts', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'add_javascript_views_footer' => [ 'name' => 'add_javascript_views_footer', @@ -4537,6 +8395,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'Scripts', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'guid' => [ 'name' => 'guid', @@ -4546,6 +8411,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fields', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'fieldtype' => [ @@ -4557,6 +8443,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'store' => [ 'name' => 'store', @@ -4566,6 +8459,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'null_switch' => [ 'name' => 'null_switch', @@ -4575,6 +8475,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'indexes' => [ 'name' => 'indexes', @@ -4584,6 +8491,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'datadefault_other' => [ 'name' => 'datadefault_other', @@ -4593,6 +8507,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'datadefault' => [ 'name' => 'datadefault', @@ -4602,6 +8523,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'short_description' => [ 'name' => 'short_description', @@ -4611,6 +8539,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'datatype' => [ 'name' => 'datatype', @@ -4620,6 +8555,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'has_defaults' => [ 'name' => 'has_defaults', @@ -4629,6 +8571,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'properties' => [ 'name' => 'properties', @@ -4638,6 +8587,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'description' => [ 'name' => 'description', @@ -4647,6 +8603,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'datalenght' => [ 'name' => 'datalenght', @@ -4656,6 +8619,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'datalenght_other' => [ 'name' => 'datalenght_other', @@ -4665,6 +8635,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Database (defaults)', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'guid' => [ 'name' => 'guid', @@ -4674,6 +8651,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'publishing', + 'db' => [ + 'type' => 'VARCHAR(36)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'catid' => [ 'name' => 'catid', @@ -4683,6 +8667,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'fieldtypes', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'language_translation' => [ @@ -4694,6 +8699,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'language_translations', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'plugins' => [ 'name' => 'plugins', @@ -4703,6 +8715,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'language_translations', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'modules' => [ 'name' => 'modules', @@ -4712,6 +8731,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'language_translations', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'components' => [ 'name' => 'components', @@ -4721,6 +8747,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'language_translations', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'translation' => [ 'name' => 'translation', @@ -4730,6 +8763,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'language_translations', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'language' => [ @@ -4741,6 +8795,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'languages', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'langtag' => [ 'name' => 'langtag', @@ -4750,6 +8811,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'languages', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'server' => [ @@ -4761,6 +8843,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'protocol' => [ 'name' => 'protocol', @@ -4770,6 +8859,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'signature' => [ 'name' => 'signature', @@ -4779,6 +8875,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'private_key' => [ 'name' => 'private_key', @@ -4788,6 +8891,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'secret' => [ 'name' => 'secret', @@ -4797,6 +8907,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'password' => [ 'name' => 'password', @@ -4806,6 +8923,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'private' => [ 'name' => 'private', @@ -4815,6 +8939,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'authentication' => [ 'name' => 'authentication', @@ -4824,6 +8955,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'path' => [ 'name' => 'path', @@ -4833,6 +8971,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'port' => [ 'name' => 'port', @@ -4842,6 +8987,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'host' => [ 'name' => 'host', @@ -4851,6 +9003,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'username' => [ 'name' => 'username', @@ -4860,6 +9019,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'servers', 'store' => 'basic_encryption', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'help_document' => [ @@ -4871,6 +9051,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'type' => [ 'name' => 'type', @@ -4880,6 +9067,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'groups' => [ 'name' => 'groups', @@ -4889,6 +9083,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'location' => [ 'name' => 'location', @@ -4898,6 +9099,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'admin_view' => [ 'name' => 'admin_view', @@ -4907,6 +9115,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'site_view' => [ 'name' => 'site_view', @@ -4916,6 +9131,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'not_required' => [ 'name' => 'not_required', @@ -4925,6 +9147,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'content' => [ 'name' => 'content', @@ -4934,6 +9163,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'article' => [ 'name' => 'article', @@ -4943,6 +9179,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'url' => [ 'name' => 'url', @@ -4952,6 +9195,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'target' => [ 'name' => 'target', @@ -4961,6 +9211,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'alias' => [ 'name' => 'alias', @@ -4970,6 +9227,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'help_documents', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'CHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], ], 'admin_fields' => [ @@ -4981,6 +9245,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admins_fields', 'store' => NULL, 'tab_name' => 'Fields', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addfields' => [ 'name' => 'addfields', @@ -4990,6 +9261,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admins_fields', 'store' => 'json', 'tab_name' => 'Fields', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'admin_fields_conditions' => [ @@ -5001,6 +9293,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admins_fields_conditions', 'store' => NULL, 'tab_name' => 'Conditions', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addconditions' => [ 'name' => 'addconditions', @@ -5010,6 +9309,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admins_fields_conditions', 'store' => 'json', 'tab_name' => 'Conditions', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'admin_fields_relations' => [ @@ -5021,6 +9341,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admins_fields_relations', 'store' => NULL, 'tab_name' => 'Relations', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addrelations' => [ 'name' => 'addrelations', @@ -5030,6 +9357,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admins_fields_relations', 'store' => 'json', 'tab_name' => 'Relations', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'admin_custom_tabs' => [ @@ -5041,6 +9389,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admins_custom_tabs', 'store' => NULL, 'tab_name' => 'Tabs', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'tabs' => [ 'name' => 'tabs', @@ -5050,6 +9405,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'admins_custom_tabs', 'store' => 'json', 'tab_name' => 'Tabs', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_admin_views' => [ @@ -5061,6 +9437,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_admin_views', 'store' => NULL, 'tab_name' => 'Views', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addadmin_views' => [ 'name' => 'addadmin_views', @@ -5070,6 +9453,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_admin_views', 'store' => 'json', 'tab_name' => 'Views', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_site_views' => [ @@ -5081,6 +9485,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_site_views', 'store' => NULL, 'tab_name' => 'Views', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addsite_views' => [ 'name' => 'addsite_views', @@ -5090,6 +9501,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_site_views', 'store' => 'json', 'tab_name' => 'Views', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_custom_admin_views' => [ @@ -5101,6 +9533,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_custom_admin_views', 'store' => NULL, 'tab_name' => 'Views', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addcustom_admin_views' => [ 'name' => 'addcustom_admin_views', @@ -5110,6 +9549,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_custom_admin_views', 'store' => 'json', 'tab_name' => 'Views', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_updates' => [ @@ -5121,6 +9581,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_updates', 'store' => NULL, 'tab_name' => 'Updates', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'version_update' => [ 'name' => 'version_update', @@ -5130,6 +9597,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_updates', 'store' => 'json', 'tab_name' => 'Updates', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_mysql_tweaks' => [ @@ -5141,6 +9629,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_mysql_tweaks', 'store' => NULL, 'tab_name' => 'Mysql Tweaks', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'sql_tweak' => [ 'name' => 'sql_tweak', @@ -5150,6 +9645,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_mysql_tweaks', 'store' => 'json', 'tab_name' => 'Mysql Tweaks', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_custom_admin_menus' => [ @@ -5161,6 +9677,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_custom_admin_menus', 'store' => NULL, 'tab_name' => 'Menus', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addcustommenus' => [ 'name' => 'addcustommenus', @@ -5170,6 +9693,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_custom_admin_menus', 'store' => 'json', 'tab_name' => 'Menus', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_router' => [ @@ -5181,6 +9725,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_routers', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'mode_constructor_before_parent' => [ 'name' => 'mode_constructor_before_parent', @@ -5190,6 +9741,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_routers', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'mode_constructor_after_parent' => [ 'name' => 'mode_constructor_after_parent', @@ -5199,6 +9757,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_routers', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'mode_methods' => [ 'name' => 'mode_methods', @@ -5208,6 +9773,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_routers', 'store' => NULL, 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TINYINT(1)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'methods_code' => [ 'name' => 'methods_code', @@ -5217,6 +9789,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_routers', 'store' => 'base64', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'constructor_after_parent_code' => [ 'name' => 'constructor_after_parent_code', @@ -5226,6 +9805,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_routers', 'store' => 'base64', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'constructor_before_parent_manual' => [ 'name' => 'constructor_before_parent_manual', @@ -5235,6 +9821,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_routers', 'store' => 'json', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'constructor_before_parent_code' => [ 'name' => 'constructor_before_parent_code', @@ -5244,6 +9837,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_routers', 'store' => 'base64', 'tab_name' => 'Settings', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_config' => [ @@ -5255,6 +9869,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_config', 'store' => NULL, 'tab_name' => 'Options', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addconfig' => [ 'name' => 'addconfig', @@ -5264,6 +9885,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_config', 'store' => 'json', 'tab_name' => 'Options', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_dashboard' => [ @@ -5275,6 +9917,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_dashboard', 'store' => NULL, 'tab_name' => 'Dashboard', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'dashboard_tab' => [ 'name' => 'dashboard_tab', @@ -5284,6 +9933,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_dashboard', 'store' => 'json', 'tab_name' => 'Dashboard', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'php_dashboard_methods' => [ 'name' => 'php_dashboard_methods', @@ -5293,6 +9949,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_dashboard', 'store' => 'base64', 'tab_name' => 'Dashboard', + 'db' => [ + 'type' => 'MEDIUMTEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_files_folders' => [ @@ -5304,6 +9981,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_files_folders', 'store' => NULL, 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addfoldersfullpath' => [ 'name' => 'addfoldersfullpath', @@ -5313,6 +9997,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_files_folders', 'store' => 'json', 'tab_name' => 'Advance', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfilesfullpath' => [ 'name' => 'addfilesfullpath', @@ -5322,6 +10013,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_files_folders', 'store' => 'json', 'tab_name' => 'Advance', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfolders' => [ 'name' => 'addfolders', @@ -5331,6 +10029,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_files_folders', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfiles' => [ 'name' => 'addfiles', @@ -5340,6 +10045,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_files_folders', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_placeholders' => [ @@ -5351,6 +10077,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_placeholders', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addplaceholders' => [ 'name' => 'addplaceholders', @@ -5360,6 +10093,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_placeholders', 'store' => 'json', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_plugins' => [ @@ -5371,6 +10125,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_plugins', 'store' => NULL, 'tab_name' => 'Plugins', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addjoomla_plugins' => [ 'name' => 'addjoomla_plugins', @@ -5380,6 +10141,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_plugins', 'store' => 'json', 'tab_name' => 'Plugins', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'component_modules' => [ @@ -5391,6 +10173,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_modules', 'store' => NULL, 'tab_name' => 'Modules', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addjoomla_modules' => [ 'name' => 'addjoomla_modules', @@ -5400,6 +10189,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'components_modules', 'store' => 'json', 'tab_name' => 'Modules', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'snippet_type' => [ @@ -5411,6 +10221,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippet_types', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'description' => [ 'name' => 'description', @@ -5420,6 +10237,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'snippet_types', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'library_config' => [ @@ -5431,6 +10269,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries_config', 'store' => NULL, 'tab_name' => 'Tweaks', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addconfig' => [ 'name' => 'addconfig', @@ -5440,6 +10285,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries_config', 'store' => 'json', 'tab_name' => 'Tweaks', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'library_files_folders_urls' => [ @@ -5451,6 +10317,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries_files_folders_urls', 'store' => NULL, 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addfoldersfullpath' => [ 'name' => 'addfoldersfullpath', @@ -5460,6 +10333,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries_files_folders_urls', 'store' => 'json', 'tab_name' => 'Advance', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfilesfullpath' => [ 'name' => 'addfilesfullpath', @@ -5469,6 +10349,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries_files_folders_urls', 'store' => 'json', 'tab_name' => 'Advance', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfolders' => [ 'name' => 'addfolders', @@ -5478,6 +10365,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfiles' => [ 'name' => 'addfiles', @@ -5487,6 +10381,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addurls' => [ 'name' => 'addurls', @@ -5496,6 +10397,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'libraries_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'class_extends' => [ @@ -5507,6 +10429,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_extendings', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'extension_type' => [ 'name' => 'extension_type', @@ -5516,6 +10445,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_extendings', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(64)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'head' => [ 'name' => 'head', @@ -5525,6 +10461,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_extendings', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'comment' => [ 'name' => 'comment', @@ -5534,6 +10477,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'class_extendings', 'store' => 'base64', 'tab_name' => 'Details', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'joomla_module_updates' => [ @@ -5545,6 +10509,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules_updates', 'store' => NULL, 'tab_name' => 'Updates', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'version_update' => [ 'name' => 'version_update', @@ -5554,6 +10525,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules_updates', 'store' => 'json', 'tab_name' => 'Updates', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'joomla_module_files_folders_urls' => [ @@ -5565,6 +10557,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules_files_folders_urls', 'store' => NULL, 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addfoldersfullpath' => [ 'name' => 'addfoldersfullpath', @@ -5574,6 +10573,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules_files_folders_urls', 'store' => 'json', 'tab_name' => 'Advance', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfilesfullpath' => [ 'name' => 'addfilesfullpath', @@ -5583,6 +10589,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules_files_folders_urls', 'store' => 'json', 'tab_name' => 'Advance', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfolders' => [ 'name' => 'addfolders', @@ -5592,6 +10605,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfiles' => [ 'name' => 'addfiles', @@ -5601,6 +10621,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addurls' => [ 'name' => 'addurls', @@ -5610,6 +10637,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_modules_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'joomla_plugin_group' => [ @@ -5621,6 +10669,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugin_groups', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'VARCHAR(255)', + 'default' => '', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'class_extends' => [ 'name' => 'class_extends', @@ -5630,6 +10685,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugin_groups', 'store' => NULL, 'tab_name' => 'Details', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'joomla_plugin_updates' => [ @@ -5641,6 +10717,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins_updates', 'store' => NULL, 'tab_name' => 'Updates', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'version_update' => [ 'name' => 'version_update', @@ -5650,6 +10733,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins_updates', 'store' => 'json', 'tab_name' => 'Updates', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], 'joomla_plugin_files_folders_urls' => [ @@ -5661,6 +10765,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins_files_folders_urls', 'store' => NULL, 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => true, + ], ], 'addfoldersfullpath' => [ 'name' => 'addfoldersfullpath', @@ -5670,6 +10781,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins_files_folders_urls', 'store' => 'json', 'tab_name' => 'Advance', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfilesfullpath' => [ 'name' => 'addfilesfullpath', @@ -5679,6 +10797,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins_files_folders_urls', 'store' => 'json', 'tab_name' => 'Advance', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfolders' => [ 'name' => 'addfolders', @@ -5688,6 +10813,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addfiles' => [ 'name' => 'addfiles', @@ -5697,6 +10829,13 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], ], 'addurls' => [ 'name' => 'addurls', @@ -5706,6 +10845,27 @@ class Table extends BaseTable implements Tableinterface 'list' => 'joomla_plugins_files_folders_urls', 'store' => 'json', 'tab_name' => 'Basic', + 'db' => [ + 'type' => 'TEXT', + 'default' => 'EMPTY', + 'null_switch' => 'NOT NULL', + 'unique_key' => false, + 'key' => false, + ], + ], + 'access' => [ + 'name' => 'access', + 'label' => 'Access', + 'type' => 'accesslevel', + 'title' => false, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'key' => true, + 'null_switch' => 'NOT NULL', + ], ], ], ]; diff --git a/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/README.md b/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/README.md index a65522c..8c7d04e 100644 --- a/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/README.md +++ b/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/README.md @@ -12,16 +12,17 @@ @startuml abstract BaseTable #Orange { # array $tables - + get(string $table, ?string $field = null, ...) : mixed + + get(?string $table = null, ?string $field = null, ...) : mixed + title(string $table) : ?array + titleName(string $table) : string + tables() : array + exist(string $table, ?string $field = null) : bool - + fields(string $table, bool $default = false) : ?array + + fields(string $table, bool $default = false, ...) : ?array # addDefault(array $fields) : array + # addDefaultDetails(array $fields) : array # isDefault(string $field) : bool # getDefault(string $field) : ?array - # getDefaultKey(string $field, string $key) : ?string + # getDefaultKey(string $field, string $key) : mixed } note right of BaseTable::get @@ -33,12 +34,13 @@ Get all items/fields/columns of an area/view/table Example: $this->get('table_name'); Get all areas/views/tables with all their item/field/column details Example: $this->get('All'); +Example: $this->get(); - since: 3.2.0 + since: 3.2.1 return: mixed arguments: - string $table + ?string $table = null ?string $field = null ?string $key = null end note @@ -76,6 +78,11 @@ note left of BaseTable::fields since: 3.2.0 return: ?array + + arguments: + string $table + bool $default = false + bool $details = false end note note right of BaseTable::addDefault @@ -85,25 +92,32 @@ note right of BaseTable::addDefault return: array end note -note left of BaseTable::isDefault +note left of BaseTable::addDefaultDetails + Add the default fields + + since: 3.2.0 + return: array +end note + +note right of BaseTable::isDefault Check if the field is a default field since: 3.2.0 return: bool end note -note right of BaseTable::getDefault +note left of BaseTable::getDefault Get a default field since: 3.2.0 return: ?array end note -note left of BaseTable::getDefaultKey +note right of BaseTable::getDefaultKey Get a default field property since: 3.2.0 - return: ?string + return: mixed end note @enduml diff --git a/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/code.php b/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/code.php index 468645b..ee9043d 100644 --- a/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/code.php +++ b/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/code.php @@ -34,7 +34,7 @@ abstract class BaseTable implements Tableinterface * All default fields * * @var array - * @since 3.2.0 + * @since 3.2.1 **/ protected array $defaults = [ 'id' => [ @@ -45,7 +45,29 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(11)', + 'default' => '', + 'auto_increment' => true, + 'primary_key' => true, + 'null_switch' => 'NOT NULL' + ] + ], + 'asset_id' => [ + 'name' => 'asset_id', + 'label' => NULL, + 'type' => NULL, + 'title' => false, + 'list' => NULL, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'comment' => 'FK to the #__assets table.' + ] ], 'ordering' => [ 'name' => 'ordering', @@ -54,7 +76,12 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL' + ] ], 'published' => [ 'name' => 'published', @@ -63,7 +90,14 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'TINYINT(3)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'key' => true, + 'key_name' => 'state' + ] ], 'modified_by' => [ 'name' => 'modified_by', @@ -72,7 +106,14 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'key' => true, + 'key_name' => 'modifiedby' + ] ], 'modified' => [ 'name' => 'modified', @@ -81,7 +122,12 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'DATETIME', + 'default' => '0000-00-00 00:00:00', + 'null_switch' => 'NOT NULL' + ] ], 'created_by' => [ 'name' => 'created_by', @@ -90,7 +136,14 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'key' => true, + 'key_name' => 'createdby' + ] ], 'created' => [ 'name' => 'created', @@ -99,7 +152,42 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'DATETIME', + 'default' => '0000-00-00 00:00:00', + 'null_switch' => 'NOT NULL' + ] + ], + 'checked_out' => [ + 'name' => 'checked_out', + 'label' => NULL, + 'type' => NULL, + 'title' => false, + 'list' => NULL, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'key' => true, + 'key_name' => 'checkout' + ] + ], + 'checked_out_time' => [ + 'name' => 'checked_out_time', + 'label' => NULL, + 'type' => NULL, + 'title' => false, + 'list' => NULL, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'DATETIME', + 'default' => '0000-00-00 00:00:00', + 'null_switch' => 'NOT NULL' + ] ], 'hits' => [ 'name' => 'hits', @@ -108,7 +196,12 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL' + ] ], 'version' => [ 'name' => 'version', @@ -117,7 +210,26 @@ abstract class BaseTable implements Tableinterface 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '1', + 'null_switch' => 'NOT NULL' + ] + ], + 'params' => [ + 'name' => 'params', + 'label' => NULL, + 'type' => NULL, + 'title' => false, + 'list' => NULL, + 'store' => 'json', + 'tab_name' => NULL, + 'db' => [ + 'type' => 'TEXT', + 'default' => '', + 'null_switch' => 'NULL' + ] ] ]; @@ -130,48 +242,41 @@ abstract class BaseTable implements Tableinterface * Example: $this->get('table_name'); * Get all areas/views/tables with all their item/field/column details * Example: $this->get('All'); + * Example: $this->get(); * - * @param string $table The table + * @param string|null $table The table * @param string|null $field The field * @param string|null $key The value key * * @return mixed - * @since 3.2.0 + * @since 3.2.1 */ - public function get(string $table, ?string $field = null, ?string $key = null) + public function get(?string $table = null, ?string $field = null, ?string $key = null) { - // return the item/field/column of an area/view/table - if (is_string($field) && is_string($key)) + // Return specific value + if ($table && $field && $key) { - // return the value of a item/field/column of an area/view/table - if (isset($this->tables[$table][$field][$key])) - { - return $this->tables[$table][$field][$key]; - } - - return $this->getDefaultKey($field, $key); - } - // return the item/field/column of an area/view/table - elseif (is_string($field)) - { - if (isset($this->tables[$table][$field])) - { - return $this->tables[$table][$field]; - } - - return $this->getDefault($field); - } - // return an area/view/table - elseif ($table !== 'All') - { - if (isset($this->tables[$table])) - { - return $this->tables[$table]; - } - return null; + return $this->tables[$table][$field][$key] ?? $this->getDefaultKey($field, $key); } - // return all + // Return field within table + if ($table && $field) + { + return $this->tables[$table][$field] ?? $this->getDefault($field); + } + + // Return all fields in a table or all tables if 'All' is passed + if ($table) + { + if (strtoupper($table) === 'ALL') + { + return $this->tables; + } + + return $this->tables[$table] ?? null; + } + + // Return all tables return $this->tables; } @@ -268,27 +373,30 @@ abstract class BaseTable implements Tableinterface * * @param string $table The area * @param bool $default Add the default fields + * @param bool $details Add/Leave fields the details * * @return array|null On success an array of fields * @since 3.2.0 */ - public function fields(string $table, bool $default = false): ?array + public function fields(string $table, bool $default = false, bool $details = false): ?array { - // return all fields of an area/view/table - if (($table = $this->get($table)) !== null) + // Retrieve fields from the specified table + $fields = $this->get($table); + + if ($fields === null) { - if ($default) - { - return $this->addDefault(array_keys($table)); - } - else - { - return array_keys($table); - } + return null; } - // none found - return null; + // Determine the fields output based on the $default and $details flags + if ($details) + { + return $default ? $this->addDefaultDetails($fields) : $fields; + } + + $fieldKeys = array_keys($fields); + + return $default ? $this->addDefault($fieldKeys) : $fieldKeys; } /** @@ -304,6 +412,11 @@ abstract class BaseTable implements Tableinterface // add default fields foreach ($this->defaults as $default) { + if (in_array($default['name'], $fields)) + { + continue; + } + // used just for loading the fields $order = $default['order'] ?? 1; unset($default['order']); @@ -321,6 +434,31 @@ abstract class BaseTable implements Tableinterface return $fields; } + /** + * Add the default fields + * + * @param array $fields The table dynamic fields + * + * @return array Fields (with defaults details added) + * @since 3.2.0 + */ + protected function addDefaultDetails(array $fields): array + { + // add default fields + foreach ($this->defaults as $default) + { + // remove ordering for now + unset($default['order']); + + if (!isset($fields[$default['name']])) + { + $fields[$default['name']] = $default; + } + } + + return $fields; + } + /** * Check if the field is a default field * @@ -353,10 +491,10 @@ abstract class BaseTable implements Tableinterface * @param string $field The field to check * @param string $key The field key/property to check * - * @return string|null String value if a default field property exist + * @return mixed String value if a default field property exist * @since 3.2.0 */ - protected function getDefaultKey(string $field, string $key): ?string + protected function getDefaultKey(string $field, string $key) { return $this->defaults[$field][$key] ?? null; } diff --git a/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/code.power b/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/code.power index 7de1cb4..8015f46 100644 --- a/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/code.power +++ b/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/code.power @@ -10,7 +10,7 @@ * All default fields * * @var array - * @since 3.2.0 + * @since 3.2.1 **/ protected array $defaults = [ 'id' => [ @@ -21,7 +21,29 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(11)', + 'default' => '', + 'auto_increment' => true, + 'primary_key' => true, + 'null_switch' => 'NOT NULL' + ] + ], + 'asset_id' => [ + 'name' => 'asset_id', + 'label' => NULL, + 'type' => NULL, + 'title' => false, + 'list' => NULL, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'comment' => 'FK to the #__assets table.' + ] ], 'ordering' => [ 'name' => 'ordering', @@ -30,7 +52,12 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(11)', + 'default' => '0', + 'null_switch' => 'NOT NULL' + ] ], 'published' => [ 'name' => 'published', @@ -39,7 +66,14 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'TINYINT(3)', + 'default' => '1', + 'null_switch' => 'NOT NULL', + 'key' => true, + 'key_name' => 'state' + ] ], 'modified_by' => [ 'name' => 'modified_by', @@ -48,7 +82,14 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'key' => true, + 'key_name' => 'modifiedby' + ] ], 'modified' => [ 'name' => 'modified', @@ -57,7 +98,12 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'DATETIME', + 'default' => '0000-00-00 00:00:00', + 'null_switch' => 'NOT NULL' + ] ], 'created_by' => [ 'name' => 'created_by', @@ -66,7 +112,14 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'key' => true, + 'key_name' => 'createdby' + ] ], 'created' => [ 'name' => 'created', @@ -75,7 +128,42 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'DATETIME', + 'default' => '0000-00-00 00:00:00', + 'null_switch' => 'NOT NULL' + ] + ], + 'checked_out' => [ + 'name' => 'checked_out', + 'label' => NULL, + 'type' => NULL, + 'title' => false, + 'list' => NULL, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL', + 'key' => true, + 'key_name' => 'checkout' + ] + ], + 'checked_out_time' => [ + 'name' => 'checked_out_time', + 'label' => NULL, + 'type' => NULL, + 'title' => false, + 'list' => NULL, + 'store' => NULL, + 'tab_name' => NULL, + 'db' => [ + 'type' => 'DATETIME', + 'default' => '0000-00-00 00:00:00', + 'null_switch' => 'NOT NULL' + ] ], 'hits' => [ 'name' => 'hits', @@ -84,7 +172,12 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '0', + 'null_switch' => 'NOT NULL' + ] ], 'version' => [ 'name' => 'version', @@ -93,7 +186,26 @@ 'title' => false, 'list' => NULL, 'store' => NULL, - 'tab_name' => NULL + 'tab_name' => NULL, + 'db' => [ + 'type' => 'INT(10) unsigned', + 'default' => '1', + 'null_switch' => 'NOT NULL' + ] + ], + 'params' => [ + 'name' => 'params', + 'label' => NULL, + 'type' => NULL, + 'title' => false, + 'list' => NULL, + 'store' => 'json', + 'tab_name' => NULL, + 'db' => [ + 'type' => 'TEXT', + 'default' => '', + 'null_switch' => 'NULL' + ] ] ]; @@ -106,48 +218,41 @@ * Example: $this->get('table_name'); * Get all areas/views/tables with all their item/field/column details * Example: $this->get('All'); + * Example: $this->get(); * - * @param string $table The table + * @param string|null $table The table * @param string|null $field The field * @param string|null $key The value key * * @return mixed - * @since 3.2.0 + * @since 3.2.1 */ - public function get(string $table, ?string $field = null, ?string $key = null) + public function get(?string $table = null, ?string $field = null, ?string $key = null) { - // return the item/field/column of an area/view/table - if (is_string($field) && is_string($key)) + // Return specific value + if ($table && $field && $key) { - // return the value of a item/field/column of an area/view/table - if (isset($this->tables[$table][$field][$key])) - { - return $this->tables[$table][$field][$key]; - } - - return $this->getDefaultKey($field, $key); - } - // return the item/field/column of an area/view/table - elseif (is_string($field)) - { - if (isset($this->tables[$table][$field])) - { - return $this->tables[$table][$field]; - } - - return $this->getDefault($field); - } - // return an area/view/table - elseif ($table !== 'All') - { - if (isset($this->tables[$table])) - { - return $this->tables[$table]; - } - return null; + return $this->tables[$table][$field][$key] ?? $this->getDefaultKey($field, $key); } - // return all + // Return field within table + if ($table && $field) + { + return $this->tables[$table][$field] ?? $this->getDefault($field); + } + + // Return all fields in a table or all tables if 'All' is passed + if ($table) + { + if (strtoupper($table) === 'ALL') + { + return $this->tables; + } + + return $this->tables[$table] ?? null; + } + + // Return all tables return $this->tables; } @@ -244,27 +349,30 @@ * * @param string $table The area * @param bool $default Add the default fields + * @param bool $details Add/Leave fields the details * * @return array|null On success an array of fields * @since 3.2.0 */ - public function fields(string $table, bool $default = false): ?array + public function fields(string $table, bool $default = false, bool $details = false): ?array { - // return all fields of an area/view/table - if (($table = $this->get($table)) !== null) + // Retrieve fields from the specified table + $fields = $this->get($table); + + if ($fields === null) { - if ($default) - { - return $this->addDefault(array_keys($table)); - } - else - { - return array_keys($table); - } + return null; } - // none found - return null; + // Determine the fields output based on the $default and $details flags + if ($details) + { + return $default ? $this->addDefaultDetails($fields) : $fields; + } + + $fieldKeys = array_keys($fields); + + return $default ? $this->addDefault($fieldKeys) : $fieldKeys; } /** @@ -280,6 +388,11 @@ // add default fields foreach ($this->defaults as $default) { + if (in_array($default['name'], $fields)) + { + continue; + } + // used just for loading the fields $order = $default['order'] ?? 1; unset($default['order']); @@ -297,6 +410,31 @@ return $fields; } + /** + * Add the default fields + * + * @param array $fields The table dynamic fields + * + * @return array Fields (with defaults details added) + * @since 3.2.0 + */ + protected function addDefaultDetails(array $fields): array + { + // add default fields + foreach ($this->defaults as $default) + { + // remove ordering for now + unset($default['order']); + + if (!isset($fields[$default['name']])) + { + $fields[$default['name']] = $default; + } + } + + return $fields; + } + /** * Check if the field is a default field * @@ -329,10 +467,10 @@ * @param string $field The field to check * @param string $key The field key/property to check * - * @return string|null String value if a default field property exist + * @return mixed String value if a default field property exist * @since 3.2.0 */ - protected function getDefaultKey(string $field, string $key): ?string + protected function getDefaultKey(string $field, string $key) { return $this->defaults[$field][$key] ?? null; } \ No newline at end of file diff --git a/src/f3c04c28-bce4-422e-be93-7d163e4e342b/README.md b/src/f3c04c28-bce4-422e-be93-7d163e4e342b/README.md new file mode 100644 index 0000000..401fef9 --- /dev/null +++ b/src/f3c04c28-bce4-422e-be93-7d163e4e342b/README.md @@ -0,0 +1,178 @@ +``` +██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ +██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ +██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ +██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ +╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ +``` +# abstract class Schema (Details) +> namespace: **VDM\Joomla\Abstraction** +```uml +@startuml +abstract Schema #Orange { + # Table $table + # $db + - array $tables + - string $prefix + - array $uniqueKeys + - array $keys + - array $columns + - array $success + + __construct(Table $table) + + update() : array + + createTable(string $table) : void + + updateSchema(string $table) : void + # {abstract} getCode() : string + # addMissingColumns(string $table, array $columns) : void + # checkColumnsDataType(string $table, array $columns) : void + # updateColumnsDataType(string $table, array $columns) : void + # updateColumnDataType(string $updateString, string $table, ...) : bool + # getTableKeys() : string + # setUniqueKey(array $column) : void + # setKey(array $column) : void + # getTable(string $table) : string + - tableExists(string $table) : bool + - getExistingColumns(string $table) : array + - getColumnDefinition(string $table, string $field) : ?string + - setKeys(array $column) : void +} + +note right of Schema::__construct + Constructor. + + since: 3.2.1 +end note + +note left of Schema::update + Check and update database schema for missing fields or tables. + + since: 3.2.1 + return: array +end note + +note right of Schema::createTable + Create a table with all necessary fields. + + since: 3.2.1 + return: void +end note + +note left of Schema::updateSchema + Update the schema of an existing table. + + since: 3.2.1 + return: void +end note + +note right of Schema::getCode + Get the targeted component code + + since: 3.2.1 + return: string +end note + +note left of Schema::addMissingColumns + Add missing columns to a table. + + since: 3.2.1 + return: void +end note + +note right of Schema::checkColumnsDataType + Validate and update the data type of existing fields/columns + + since: 3.2.1 + return: void +end note + +note left of Schema::updateColumnsDataType + Update the data type of the given fields. + + since: 3.2.1 + return: void +end note + +note right of Schema::updateColumnDataType + Update the data type of the given field. + + since: 3.2.1 + return: bool + + arguments: + string $updateString + string $table + string $field +end note + +note left of Schema::getTableKeys + Key all needed keys for this table + + since: 3.2.1 + return: string +end note + +note right of Schema::setUniqueKey + Function to set the unique key + + since: 3.2.1 + return: void +end note + +note left of Schema::setKey + Function to set the key + + since: 3.2.1 + return: void +end note + +note right of Schema::getTable + Add the component name to get the full table name. + + since: 3.2.1 + return: string +end note + +note left of Schema::tableExists + Check if a table exists in the database. + + since: 3.2.1 + return: bool +end note + +note right of Schema::getExistingColumns + Fetch existing columns from a database table. + + since: 3.2.1 + return: array +end note + +note left of Schema::getColumnDefinition + Generates a SQL snippet for defining a table column, incorporating column type, +default value, nullability, and auto-increment properties. + + since: 3.2.1 + return: ?string +end note + +note right of Schema::setKeys + Function to set the view keys + + since: 3.2.1 + return: void +end note + +@enduml +``` + +--- +``` + ██╗ ██████╗██████╗ + ██║██╔════╝██╔══██╗ + ██║██║ ██████╔╝ +██ ██║██║ ██╔══██╗ +╚█████╔╝╚██████╗██████╔╝ + ╚════╝ ╚═════╝╚═════╝ +``` +> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) + diff --git a/src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.php b/src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.php new file mode 100644 index 0000000..764b7d5 --- /dev/null +++ b/src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.php @@ -0,0 +1,519 @@ + + * @git Joomla Component Builder + * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. + * @license GNU General Public License version 2 or later; see LICENSE.txt + */ + +namespace VDM\Joomla\Abstraction; + + +use Joomla\CMS\Factory; +use VDM\Joomla\Interfaces\Tableinterface as Table; +use VDM\Joomla\Interfaces\SchemaInterface; + + +/** + * Schema Checking + * + * @since 3.2.1 + */ +abstract class Schema implements SchemaInterface +{ + /** + * The Table Class. + * + * @var Table + * @since 3.2.1 + */ + protected Table $table; + + /** + * The Database Class + * + * @since 3.2.1 + */ + protected $db; + + /** + * The local tables + * + * @var array + * @since 3.2.1 + */ + private array $tables; + + /** + * The component table prefix + * + * @var string + * @since 3.2.1 + */ + private string $prefix; + + /** + * The field unique keys + * + * @var array + * @since 3.2.1 + */ + private array $uniqueKeys; + + /** + * The field keys + * + * @var array + * @since 3.2.1 + */ + private array $keys; + + /** + * The current table columns + * + * @var array + * @since 3.2.1 + */ + private array $columns; + + /** + * The success messages of the action + * + * @var array + * @since 3.2.1 + */ + private array $success; + + /** + * Constructor. + * + * @param Table $table The Table Class. + * + * @since 3.2.1 + * @throws \Exception If the database fails + */ + public function __construct(Table $table) + { + $this->table = $table; + + try { + // set the database object + $this->db = Factory::getDbo(); + + // get current component tables + $this->tables = $this->db->getTableList(); + + // set the component table + $this->prefix = $this->db->getPrefix() . $this->getCode(); + } catch (\Exception $e) { + throw new \Exception("Error: failed to initialize schema class due to a database error.", 0, $e); + } + } + + /** + * Check and update database schema for missing fields or tables. + * + * @return array The array of successful updates/actions, if empty no update/action was taken. + * @since 3.2.1 + * @throws \Exception If there is an error during the update process. + */ + public function update(): array + { + try { + $this->success = [ + "Success: scan of the component tables started." + ]; + foreach ($this->table->tables() as $table) + { + $this->uniqueKeys = []; + $this->keys = []; + + if ($this->tableExists($table)) + { + $this->updateSchema($table); + } + else + { + $this->createTable($table); + } + } + } catch (\Exception $e) { + throw new \Exception("Error: updating database schema.", 0, $e); + } + + if (count($this->success) == 1) + { + $this->success[] = "Success: scan of the component tables completed with no update needed."; + } + else + { + $this->success[] = "Success: scan of the component tables completed."; + } + + return $this->success; + } + + /** + * Create a table with all necessary fields. + * + * @param string $table The name of the table to create. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error creating the table. + */ + public function createTable(string $table): void + { + try { + $columns = []; + $fields = $this->table->fields($table, true); + $createTable = 'CREATE TABLE IF NOT EXISTS ' . $this->db->quoteName($this->getTable($table)); + + foreach ($fields as $field) + { + if (($def = $this->getColumnDefinition($table, $field)) !== null) + { + $columns[] = $def; + } + } + + $columnDefinitions = implode(', ', $columns); + + $keys = $this->getTableKeys(); + + $createTableSql = "$createTable ($columnDefinitions, $keys)"; + + $this->db->setQuery($createTableSql); + $this->db->execute(); + } catch (\Exception $e) { + throw new \Exception("Error: failed to create missing $table table.", 0, $e); + } + + $this->success[] = "Success: created missing $table table."; + } + + /** + * Update the schema of an existing table. + * + * @param string $table The table to update. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error while updating the schema. + */ + public function updateSchema(string $table): void + { + try { + $existingColumns = $this->getExistingColumns($table); + $expectedColumns = $this->table->fields($table, true); + + $missingColumns = array_diff($expectedColumns, $existingColumns); + + if (!empty($missingColumns)) + { + $this->addMissingColumns($table, $missingColumns); + } + + $this->checkColumnsDataType($table, $expectedColumns); + + } catch (\Exception $e) { + throw new \Exception("Error: updating schema for $table table.", 0, $e); + } + + if (!empty($missingColumns)) + { + $column_s = (count($missingColumns) == 1) ? 'column' : 'columns'; + $missingColumns = implode(', ', $missingColumns); + $this->success[] = "Success: added missing ($missingColumns) $column_s to $table table."; + } + } + + /** + * Get the targeted component code + * + * @return string + * @since 3.2.1 + */ + abstract protected function getCode(): string; + + /** + * Add missing columns to a table. + * + * @param string $table The table to update. + * @param array $columns List of missing columns/fields. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error adding columns. + */ + protected function addMissingColumns(string $table, array $columns): void + { + try { + $query = $this->db->getQuery(true); + $alterTable = 'ALTER TABLE ' . $this->db->quoteName($this->getTable($table)) . ' '; + + // Start an ALTER TABLE query + $alterQueries = []; + foreach ($columns as $column) + { + if (($def = $this->getColumnDefinition($table, $column)) !== null) + { + $alterQueries[] = " ADD " . $def; + } + } + + $this->db->setQuery($alterTable . implode(', ', $alterQueries)); + $this->db->execute(); + } catch (\Exception $e) { + $column_s = (count($columns) == 1) ? 'column' : 'columns'; + $columns = implode(', ', $columns); + throw new \Exception("Error: failed to add ($columns) $column_s to $table table.", 0, $e); + } + } + + /** + * Validate and update the data type of existing fields/columns + * + * @param string $table The table to update. + * @param array $columns List of columns/fields to check. + * + * @return void + * @since 3.2.1 + */ + protected function checkColumnsDataType(string $table, array $columns): void + { + $requireUpdate = []; + foreach ($columns as $column) + { + $current = $this->columns[$column] ?? null; + if ($current === null || ($expected = $this->table->get($table, $column, 'db')) === null) + { + // this field is no longer part of the component and can be ignored + continue; + } + + // check if the data type and size match + if (strcasecmp($current->Type, $expected['type']) != 0) + { + $requireUpdate[$column] = [ + 'column' => $column, + 'current' => $current->Type, + 'expected' => $expected['type'] + ]; + } + } + + if (!empty($requireUpdate)) + { + $this->updateColumnsDataType($table, $requireUpdate); + } + } + + /** + * Update the data type of the given fields. + * + * @param string $table The table to update. + * @param array $columns List of columns/fields that must be updated. + * + * @return void + * @since 3.2.1 + */ + protected function updateColumnsDataType(string $table, array $columns): void + { + $alterTable = 'ALTER TABLE ' . $this->db->quoteName($this->getTable($table)); + foreach ($columns as $column => $types) + { + if (($def = $this->getColumnDefinition($table, $column)) === null) + { + continue; + } + + $dbField = $this->db->quoteName($column); + $alterQuery = "$alterTable CHANGE $dbField ". $def; + + if ($this->updateColumnDataType($alterQuery, $table, $column)) + { + $current = (string) $types['current'] ?? 'error'; + $expected = (string) $types['expected'] ?? 'error'; + $this->success[] = "Success: updated ($column) column datatype $current to $expected in $table table."; + } + } + } + + /** + * Update the data type of the given field. + * + * @param string $updateString The SQL command to update the column data type + * @param string $table The table to update. + * @param string $field Column/field that must be updated. + * + * @return bool true on succes + * @since 3.2.1 + * @throws \Exception If there is an error adding columns. + */ + protected function updateColumnDataType(string $updateString, string $table, string $field): bool + { + try { + $this->db->setQuery($updateString); + return $this->db->execute(); + } catch (\Exception $e) { + throw new \Exception("Error: failed to update the datatype of ($field) column in $table table.", 0, $e); + } + } + + /** + * Key all needed keys for this table + * + * @return string of keys + * @since 3.2.1 + */ + protected function getTableKeys(): string + { + $keys = []; + $keys[] = 'PRIMARY KEY (`id`)'; // TODO (we may want this to be dynamicly set) + + if (!empty($this->uniqueKeys)) + { + $keys[] = implode(', ', $this->uniqueKeys); + } + + if (!empty($this->keys)) + { + $keys[] = implode(', ', $this->keys); + } + + return implode(', ', $keys); + } + + /** + * Function to set the unique key + * + * @param string $column The field column database array values + * + * @return void + * @since 3.2.1 + */ + protected function setUniqueKey(array $column): void + { + if (isset($column['unique_key']) && $column['unique_key']) + { + $key = $column['unique_key_name'] ?? $column['name']; + $this->uniqueKeys[] = "UNIQUE KEY `idx_" . $key . "` (`" . $column['name'] . "`)"; + } + } + + /** + * Function to set the key + * + * @param string $column The field column database array values + * + * @return void + * @since 3.2.1 + */ + protected function setKey(array $column): void + { + if (isset($column['key']) && $column['key']) + { + $key = $column['key_name'] ?? $column['name']; + $this->keys[] = "KEY `idx_" . $key . "` (`" . $column['name'] . "`)"; + } + } + + /** + * Add the component name to get the full table name. + * + * @param string $table The table name. + * + * @return void + * @since 3.2.1 + */ + protected function getTable(string $table): string + { + return $this->prefix . '_' . $table; + } + + /** + * Check if a table exists in the database. + * + * @param string $table The name of the table to check. + * + * @return bool True if table exists, False otherwise. + * @since 3.2.1 + */ + private function tableExists(string $table): bool + { + return in_array($this->getTable($table), $this->tables); + } + + /** + * Fetch existing columns from a database table. + * + * @param string $table The name of the table. + * + * @return array An array of column names. + * @since 3.2.1 + */ + private function getExistingColumns(string $table): array + { + $this->columns = $this->db->getTableColumns($this->getTable($table), false); + + return array_keys($this->columns); + } + + /** + * Generates a SQL snippet for defining a table column, incorporating column type, + * default value, nullability, and auto-increment properties. + * + * @param string $table The table name to be used. + * @param string $field The field name in the table to generate SQL for. + * + * @return string|null The SQL snippet for the column definition. + * @since 3.2.1 + * @throws \Exception If the schema details cannot be retrieved or the SQL statement cannot be constructed properly. + */ + private function getColumnDefinition(string $table, string $field): ?string + { + try { + // Retrieve the database schema details for the specified table and field + if (($db = $this->table->get($table, $field, 'db')) === null) + { + return null; + } + + // Prepare the column name + $column_name = $this->db->quoteName($field); + $db['name'] = $field; + + // Prepare the default value SQL, null switch, and auto increment statement + $default = !empty($db['default']) ? " DEFAULT " . $this->db->quote($db['default']) : ''; + $null_switch = !empty($db['null_switch']) ? " " . $db['null_switch'] : ''; + $auto_increment = !empty($db['auto_increment']) ? " AUTO_INCREMENT" : ''; + $type = !empty($db['type']) ? $db['type'] : 'TEXT'; + + $this->setKeys($db); + + // Assemble the SQL snippet for the column definition + return "{$column_name} {$type}{$default}{$null_switch}{$auto_increment}"; + } catch (\Exception $e) { + throw new \Exception("Error: failed to generate column definition for $table.$field", 0, $e); + } + } + + /** + * Function to set the view keys + * + * @param string $column The field column database array values + * + * @return void + * @since 3.2.1 + */ + private function setKeys(array $column): void + { + $this->setUniqueKey($column); + $this->setKey($column); + } +} + diff --git a/src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.power b/src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.power new file mode 100644 index 0000000..f02ae75 --- /dev/null +++ b/src/f3c04c28-bce4-422e-be93-7d163e4e342b/code.power @@ -0,0 +1,491 @@ + /** + * The Table Class. + * + * @var Table + * @since 3.2.1 + */ + protected Table $table; + + /** + * The Database Class + * + * @since 3.2.1 + */ + protected $db; + + /** + * The local tables + * + * @var array + * @since 3.2.1 + */ + private array $tables; + + /** + * The component table prefix + * + * @var string + * @since 3.2.1 + */ + private string $prefix; + + /** + * The field unique keys + * + * @var array + * @since 3.2.1 + */ + private array $uniqueKeys; + + /** + * The field keys + * + * @var array + * @since 3.2.1 + */ + private array $keys; + + /** + * The current table columns + * + * @var array + * @since 3.2.1 + */ + private array $columns; + + /** + * The success messages of the action + * + * @var array + * @since 3.2.1 + */ + private array $success; + + /** + * Constructor. + * + * @param Table $table The Table Class. + * + * @since 3.2.1 + * @throws \Exception If the database fails + */ + public function __construct(Table $table) + { + $this->table = $table; + + try { + // set the database object + $this->db = Factory::getDbo(); + + // get current component tables + $this->tables = $this->db->getTableList(); + + // set the component table + $this->prefix = $this->db->getPrefix() . $this->getCode(); + } catch (\Exception $e) { + throw new \Exception("Error: failed to initialize schema class due to a database error.", 0, $e); + } + } + + /** + * Check and update database schema for missing fields or tables. + * + * @return array The array of successful updates/actions, if empty no update/action was taken. + * @since 3.2.1 + * @throws \Exception If there is an error during the update process. + */ + public function update(): array + { + try { + $this->success = [ + "Success: scan of the component tables started." + ]; + foreach ($this->table->tables() as $table) + { + $this->uniqueKeys = []; + $this->keys = []; + + if ($this->tableExists($table)) + { + $this->updateSchema($table); + } + else + { + $this->createTable($table); + } + } + } catch (\Exception $e) { + throw new \Exception("Error: updating database schema.", 0, $e); + } + + if (count($this->success) == 1) + { + $this->success[] = "Success: scan of the component tables completed with no update needed."; + } + else + { + $this->success[] = "Success: scan of the component tables completed."; + } + + return $this->success; + } + + /** + * Create a table with all necessary fields. + * + * @param string $table The name of the table to create. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error creating the table. + */ + public function createTable(string $table): void + { + try { + $columns = []; + $fields = $this->table->fields($table, true); + $createTable = 'CREATE TABLE IF NOT EXISTS ' . $this->db->quoteName($this->getTable($table)); + + foreach ($fields as $field) + { + if (($def = $this->getColumnDefinition($table, $field)) !== null) + { + $columns[] = $def; + } + } + + $columnDefinitions = implode(', ', $columns); + + $keys = $this->getTableKeys(); + + $createTableSql = "$createTable ($columnDefinitions, $keys)"; + + $this->db->setQuery($createTableSql); + $this->db->execute(); + } catch (\Exception $e) { + throw new \Exception("Error: failed to create missing $table table.", 0, $e); + } + + $this->success[] = "Success: created missing $table table."; + } + + /** + * Update the schema of an existing table. + * + * @param string $table The table to update. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error while updating the schema. + */ + public function updateSchema(string $table): void + { + try { + $existingColumns = $this->getExistingColumns($table); + $expectedColumns = $this->table->fields($table, true); + + $missingColumns = array_diff($expectedColumns, $existingColumns); + + if (!empty($missingColumns)) + { + $this->addMissingColumns($table, $missingColumns); + } + + $this->checkColumnsDataType($table, $expectedColumns); + + } catch (\Exception $e) { + throw new \Exception("Error: updating schema for $table table.", 0, $e); + } + + if (!empty($missingColumns)) + { + $column_s = (count($missingColumns) == 1) ? 'column' : 'columns'; + $missingColumns = implode(', ', $missingColumns); + $this->success[] = "Success: added missing ($missingColumns) $column_s to $table table."; + } + } + + /** + * Get the targeted component code + * + * @return string + * @since 3.2.1 + */ + abstract protected function getCode(): string; + + /** + * Add missing columns to a table. + * + * @param string $table The table to update. + * @param array $columns List of missing columns/fields. + * + * @return void + * @since 3.2.1 + * @throws \Exception If there is an error adding columns. + */ + protected function addMissingColumns(string $table, array $columns): void + { + try { + $query = $this->db->getQuery(true); + $alterTable = 'ALTER TABLE ' . $this->db->quoteName($this->getTable($table)) . ' '; + + // Start an ALTER TABLE query + $alterQueries = []; + foreach ($columns as $column) + { + if (($def = $this->getColumnDefinition($table, $column)) !== null) + { + $alterQueries[] = " ADD " . $def; + } + } + + $this->db->setQuery($alterTable . implode(', ', $alterQueries)); + $this->db->execute(); + } catch (\Exception $e) { + $column_s = (count($columns) == 1) ? 'column' : 'columns'; + $columns = implode(', ', $columns); + throw new \Exception("Error: failed to add ($columns) $column_s to $table table.", 0, $e); + } + } + + /** + * Validate and update the data type of existing fields/columns + * + * @param string $table The table to update. + * @param array $columns List of columns/fields to check. + * + * @return void + * @since 3.2.1 + */ + protected function checkColumnsDataType(string $table, array $columns): void + { + $requireUpdate = []; + foreach ($columns as $column) + { + $current = $this->columns[$column] ?? null; + if ($current === null || ($expected = $this->table->get($table, $column, 'db')) === null) + { + // this field is no longer part of the component and can be ignored + continue; + } + + // check if the data type and size match + if (strcasecmp($current->Type, $expected['type']) != 0) + { + $requireUpdate[$column] = [ + 'column' => $column, + 'current' => $current->Type, + 'expected' => $expected['type'] + ]; + } + } + + if (!empty($requireUpdate)) + { + $this->updateColumnsDataType($table, $requireUpdate); + } + } + + /** + * Update the data type of the given fields. + * + * @param string $table The table to update. + * @param array $columns List of columns/fields that must be updated. + * + * @return void + * @since 3.2.1 + */ + protected function updateColumnsDataType(string $table, array $columns): void + { + $alterTable = 'ALTER TABLE ' . $this->db->quoteName($this->getTable($table)); + foreach ($columns as $column => $types) + { + if (($def = $this->getColumnDefinition($table, $column)) === null) + { + continue; + } + + $dbField = $this->db->quoteName($column); + $alterQuery = "$alterTable CHANGE $dbField ". $def; + + if ($this->updateColumnDataType($alterQuery, $table, $column)) + { + $current = (string) $types['current'] ?? 'error'; + $expected = (string) $types['expected'] ?? 'error'; + $this->success[] = "Success: updated ($column) column datatype $current to $expected in $table table."; + } + } + } + + /** + * Update the data type of the given field. + * + * @param string $updateString The SQL command to update the column data type + * @param string $table The table to update. + * @param string $field Column/field that must be updated. + * + * @return bool true on succes + * @since 3.2.1 + * @throws \Exception If there is an error adding columns. + */ + protected function updateColumnDataType(string $updateString, string $table, string $field): bool + { + try { + $this->db->setQuery($updateString); + return $this->db->execute(); + } catch (\Exception $e) { + throw new \Exception("Error: failed to update the datatype of ($field) column in $table table.", 0, $e); + } + } + + /** + * Key all needed keys for this table + * + * @return string of keys + * @since 3.2.1 + */ + protected function getTableKeys(): string + { + $keys = []; + $keys[] = 'PRIMARY KEY (`id`)'; // TODO (we may want this to be dynamicly set) + + if (!empty($this->uniqueKeys)) + { + $keys[] = implode(', ', $this->uniqueKeys); + } + + if (!empty($this->keys)) + { + $keys[] = implode(', ', $this->keys); + } + + return implode(', ', $keys); + } + + /** + * Function to set the unique key + * + * @param string $column The field column database array values + * + * @return void + * @since 3.2.1 + */ + protected function setUniqueKey(array $column): void + { + if (isset($column['unique_key']) && $column['unique_key']) + { + $key = $column['unique_key_name'] ?? $column['name']; + $this->uniqueKeys[] = "UNIQUE KEY `idx_" . $key . "` (`" . $column['name'] . "`)"; + } + } + + /** + * Function to set the key + * + * @param string $column The field column database array values + * + * @return void + * @since 3.2.1 + */ + protected function setKey(array $column): void + { + if (isset($column['key']) && $column['key']) + { + $key = $column['key_name'] ?? $column['name']; + $this->keys[] = "KEY `idx_" . $key . "` (`" . $column['name'] . "`)"; + } + } + + /** + * Add the component name to get the full table name. + * + * @param string $table The table name. + * + * @return void + * @since 3.2.1 + */ + protected function getTable(string $table): string + { + return $this->prefix . '_' . $table; + } + + /** + * Check if a table exists in the database. + * + * @param string $table The name of the table to check. + * + * @return bool True if table exists, False otherwise. + * @since 3.2.1 + */ + private function tableExists(string $table): bool + { + return in_array($this->getTable($table), $this->tables); + } + + /** + * Fetch existing columns from a database table. + * + * @param string $table The name of the table. + * + * @return array An array of column names. + * @since 3.2.1 + */ + private function getExistingColumns(string $table): array + { + $this->columns = $this->db->getTableColumns($this->getTable($table), false); + + return array_keys($this->columns); + } + + /** + * Generates a SQL snippet for defining a table column, incorporating column type, + * default value, nullability, and auto-increment properties. + * + * @param string $table The table name to be used. + * @param string $field The field name in the table to generate SQL for. + * + * @return string|null The SQL snippet for the column definition. + * @since 3.2.1 + * @throws \Exception If the schema details cannot be retrieved or the SQL statement cannot be constructed properly. + */ + private function getColumnDefinition(string $table, string $field): ?string + { + try { + // Retrieve the database schema details for the specified table and field + if (($db = $this->table->get($table, $field, 'db')) === null) + { + return null; + } + + // Prepare the column name + $column_name = $this->db->quoteName($field); + $db['name'] = $field; + + // Prepare the default value SQL, null switch, and auto increment statement + $default = !empty($db['default']) ? " DEFAULT " . $this->db->quote($db['default']) : ''; + $null_switch = !empty($db['null_switch']) ? " " . $db['null_switch'] : ''; + $auto_increment = !empty($db['auto_increment']) ? " AUTO_INCREMENT" : ''; + $type = !empty($db['type']) ? $db['type'] : 'TEXT'; + + $this->setKeys($db); + + // Assemble the SQL snippet for the column definition + return "{$column_name} {$type}{$default}{$null_switch}{$auto_increment}"; + } catch (\Exception $e) { + throw new \Exception("Error: failed to generate column definition for $table.$field", 0, $e); + } + } + + /** + * Function to set the view keys + * + * @param string $column The field column database array values + * + * @return void + * @since 3.2.1 + */ + private function setKeys(array $column): void + { + $this->setUniqueKey($column); + $this->setKey($column); + } \ No newline at end of file diff --git a/src/f3c04c28-bce4-422e-be93-7d163e4e342b/settings.json b/src/f3c04c28-bce4-422e-be93-7d163e4e342b/settings.json new file mode 100644 index 0000000..b50363d --- /dev/null +++ b/src/f3c04c28-bce4-422e-be93-7d163e4e342b/settings.json @@ -0,0 +1,25 @@ +{ + "add_head": "1", + "add_licensing_template": "2", + "extends": "0", + "guid": "f3c04c28-bce4-422e-be93-7d163e4e342b", + "implements": [ + "4dd11b9b-3c64-460b-aaa6-62ba467db7aa" + ], + "load_selection": null, + "name": "Schema", + "power_version": "1.0.0", + "system_name": "VDM.Schema", + "type": "abstract class", + "use_selection": { + "use_selection0": { + "use": "2da6d6c4-eb29-4d69-8bc2-36d96e916adf", + "as": "Table" + } + }, + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Schema", + "description": "Schema Checking\r\n\r\n@since 3.2.1", + "licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe \r\n * @git Joomla Component Builder \r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n", + "head": "use Joomla\\CMS\\Factory;", + "composer": "" +} \ No newline at end of file diff --git a/super-powers.json b/super-powers.json index 3342296..edd555d 100644 --- a/super-powers.json +++ b/super-powers.json @@ -142,6 +142,17 @@ "spk": "Super__4815e1c7_a433_443d_a112_d1e03d7df84b__Power", "guid": "4815e1c7-a433-443d-a112-d1e03d7df84b" }, + "491dbe41-f26c-4de9-8a95-fcf87b35b56f": { + "name": "ComponentCodeNameHelper", + "type": "abstract class", + "namespace": "VDM\\Joomla\\Utilities\\String", + "code": "src\/491dbe41-f26c-4de9-8a95-fcf87b35b56f\/code.php", + "power": "src\/491dbe41-f26c-4de9-8a95-fcf87b35b56f\/code.power", + "settings": "src\/491dbe41-f26c-4de9-8a95-fcf87b35b56f\/settings.json", + "path": "src\/491dbe41-f26c-4de9-8a95-fcf87b35b56f", + "spk": "Super__491dbe41_f26c_4de9_8a95_fcf87b35b56f__Power", + "guid": "491dbe41-f26c-4de9-8a95-fcf87b35b56f" + }, "4b225c51-d293-48e4-b3f6-5136cf5c3f18": { "name": "JsonHelper", "type": "abstract class", @@ -153,6 +164,17 @@ "spk": "Super__4b225c51_d293_48e4_b3f6_5136cf5c3f18__Power", "guid": "4b225c51-d293-48e4-b3f6-5136cf5c3f18" }, + "4dd11b9b-3c64-460b-aaa6-62ba467db7aa": { + "name": "SchemaInterface", + "type": "interface", + "namespace": "VDM\\Joomla\\Interfaces", + "code": "src\/4dd11b9b-3c64-460b-aaa6-62ba467db7aa\/code.php", + "power": "src\/4dd11b9b-3c64-460b-aaa6-62ba467db7aa\/code.power", + "settings": "src\/4dd11b9b-3c64-460b-aaa6-62ba467db7aa\/settings.json", + "path": "src\/4dd11b9b-3c64-460b-aaa6-62ba467db7aa", + "spk": "Super__4dd11b9b_3c64_460b_aaa6_62ba467db7aa__Power", + "guid": "4dd11b9b-3c64-460b-aaa6-62ba467db7aa" + }, "524eb8f6-38d4-47dc-92ad-98b94e099ac0": { "name": "Insert", "type": "final class", @@ -362,6 +384,17 @@ "spk": "Super__af0eedbe_603b_4671_8e5a_28165d88254b__Power", "guid": "af0eedbe-603b-4671-8e5a-28165d88254b" }, + "b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce": { + "name": "Schema", + "type": "final class", + "namespace": "VDM\\Joomla\\Componentbuilder\\Table", + "code": "src\/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce\/code.php", + "power": "src\/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce\/code.power", + "settings": "src\/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce\/settings.json", + "path": "src\/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce", + "spk": "Super__b3d2ec33_76d4_4c3b_bb2c_86ac14a221ce__Power", + "guid": "b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce" + }, "b84e947d-2a13-44f7-ac0f-3902ae55ae0c": { "name": "BaseRegistry", "type": "abstract class", @@ -472,6 +505,17 @@ "spk": "Super__e0f6ddbe_2a35_4537_942c_faff2ebd04f6__Power", "guid": "e0f6ddbe-2a35-4537-942c-faff2ebd04f6" }, + "f3c04c28-bce4-422e-be93-7d163e4e342b": { + "name": "Schema", + "type": "abstract class", + "namespace": "VDM\\Joomla\\Abstraction", + "code": "src\/f3c04c28-bce4-422e-be93-7d163e4e342b\/code.php", + "power": "src\/f3c04c28-bce4-422e-be93-7d163e4e342b\/code.power", + "settings": "src\/f3c04c28-bce4-422e-be93-7d163e4e342b\/settings.json", + "path": "src\/f3c04c28-bce4-422e-be93-7d163e4e342b", + "spk": "Super__f3c04c28_bce4_422e_be93_7d163e4e342b__Power", + "guid": "f3c04c28-bce4-422e-be93-7d163e4e342b" + }, "ff7d0111-8f79-42aa-ac14-b53ba2c49369": { "name": "IsString", "type": "trait",