From 2125425324065d9a29ab2419c6c4b2c37e4d52f9 Mon Sep 17 00:00:00 2001 From: aB0t Date: Sun, 7 Apr 2024 13:20:46 +0200 Subject: [PATCH] update 2024-04-07 13:20:18 --- README.md | 1 + .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../code.php | 562 +++++++++--------- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../README.md | 57 ++ .../code.php | 102 ++++ .../code.power | 75 +++ .../settings.json | 25 + .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- .../settings.json | 2 +- super-powers.json | 11 + 51 files changed, 605 insertions(+), 316 deletions(-) create mode 100644 src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/README.md create mode 100644 src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.php create mode 100644 src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.power create mode 100644 src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/settings.json diff --git a/README.md b/README.md index 4ca5d9f..64be16d 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ This repository contains an index (see below) of all the approved powers within - **abstract class FileHelper** | [Details](src/a223b31e-ea1d-4cdf-92ae-5f9becffaff0) | [Code](src/a223b31e-ea1d-4cdf-92ae-5f9becffaff0/code.php) | [Settings](src/a223b31e-ea1d-4cdf-92ae-5f9becffaff0/settings.json) | Super__a223b31e_ea1d_4cdf_92ae_5f9becffaff0__Power - **abstract class FormHelper** | [Details](src/1198aecf-84c6-45d2-aea8-d531aa4afdfa) | [Code](src/1198aecf-84c6-45d2-aea8-d531aa4afdfa/code.php) | [Settings](src/1198aecf-84c6-45d2-aea8-d531aa4afdfa/settings.json) | Super__1198aecf_84c6_45d2_aea8_d531aa4afdfa__Power - **abstract class GetHelper** | [Details](src/db87c339-5bb6-4291-a7ef-2c48ea1b06bc) | [Code](src/db87c339-5bb6-4291-a7ef-2c48ea1b06bc/code.php) | [Settings](src/db87c339-5bb6-4291-a7ef-2c48ea1b06bc/settings.json) | Super__db87c339_5bb6_4291_a7ef_2c48ea1b06bc__Power + - **abstract class GetHelperExtrusion** | [Details](src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6) | [Code](src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.php) | [Settings](src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/settings.json) | Super__cefe4092_a4c2_41a6_a683_bd3ab5419cc6__Power - **abstract class GuidHelper** | [Details](src/9c513baf-b279-43fd-ae29-a585c8cbc4f0) | [Code](src/9c513baf-b279-43fd-ae29-a585c8cbc4f0/code.php) | [Settings](src/9c513baf-b279-43fd-ae29-a585c8cbc4f0/settings.json) | Super__9c513baf_b279_43fd_ae29_a585c8cbc4f0__Power - **abstract class JsonHelper** | [Details](src/4b225c51-d293-48e4-b3f6-5136cf5c3f18) | [Code](src/4b225c51-d293-48e4-b3f6-5136cf5c3f18/code.php) | [Settings](src/4b225c51-d293-48e4-b3f6-5136cf5c3f18/settings.json) | Super__4b225c51_d293_48e4_b3f6_5136cf5c3f18__Power - **abstract class MathHelper** | [Details](src/152c8793-8b75-4715-996a-257b9f65451c) | [Code](src/152c8793-8b75-4715-996a-257b9f65451c/code.php) | [Settings](src/152c8793-8b75-4715-996a-257b9f65451c/settings.json) | Super__152c8793_8b75_4715_996a_257b9f65451c__Power diff --git a/src/06f8eada-d59b-441c-b287-0aea1793da5a/settings.json b/src/06f8eada-d59b-441c-b287-0aea1793da5a/settings.json index 018772a..486732d 100644 --- a/src/06f8eada-d59b-441c-b287-0aea1793da5a/settings.json +++ b/src/06f8eada-d59b-441c-b287-0aea1793da5a/settings.json @@ -17,7 +17,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Database.Load", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Database.Load", "description": "Database Load\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a/settings.json b/src/0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a/settings.json index 7305c7c..6fb4dde 100644 --- a/src/0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a/settings.json +++ b/src/0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a/settings.json @@ -10,7 +10,7 @@ "system_name": "Utilities Array Helper", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Utilities.ArrayHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.ArrayHelper", "description": "Some array tricks helper\r\n\r\n@since 3.0.9", "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": "", diff --git a/src/11572d9b-e3d5-4b29-904c-9618d8f2bfd8/settings.json b/src/11572d9b-e3d5-4b29-904c-9618d8f2bfd8/settings.json index c873763..fc1a330 100644 --- a/src/11572d9b-e3d5-4b29-904c-9618d8f2bfd8/settings.json +++ b/src/11572d9b-e3d5-4b29-904c-9618d8f2bfd8/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Abstraction.Registry.Traits.Count", "type": "trait", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.Registry.Traits.Count", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Registry.Traits.Count", "description": "Count Values\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/1198aecf-84c6-45d2-aea8-d531aa4afdfa/settings.json b/src/1198aecf-84c6-45d2-aea8-d531aa4afdfa/settings.json index 3380659..1540f90 100644 --- a/src/1198aecf-84c6-45d2-aea8-d531aa4afdfa/settings.json +++ b/src/1198aecf-84c6-45d2-aea8-d531aa4afdfa/settings.json @@ -14,7 +14,7 @@ "system_name": "Utilities FormHelper", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Utilities.FormHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.FormHelper", "description": "Form Helper\r\n\r\n@since 3.2.0", "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\\Form\\FormHelper as JoomlaFormHelper;\r\nuse Joomla\\CMS\\Form\\FormField;", diff --git a/src/152c8793-8b75-4715-996a-257b9f65451c/settings.json b/src/152c8793-8b75-4715-996a-257b9f65451c/settings.json index e9c4168..faeba2c 100644 --- a/src/152c8793-8b75-4715-996a-257b9f65451c/settings.json +++ b/src/152c8793-8b75-4715-996a-257b9f65451c/settings.json @@ -10,7 +10,7 @@ "system_name": "Utilities Math Helper", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Utilities.MathHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.MathHelper", "description": "Basic Math Helper\r\n\r\n@since 3.0.9", "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": "", diff --git a/src/1f28cb53-60d9-4db1-b517-3c7dc6b429ef/settings.json b/src/1f28cb53-60d9-4db1-b517-3c7dc6b429ef/settings.json index cf66879..5fcef85 100644 --- a/src/1f28cb53-60d9-4db1-b517-3c7dc6b429ef/settings.json +++ b/src/1f28cb53-60d9-4db1-b517-3c7dc6b429ef/settings.json @@ -19,7 +19,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.StringHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.StringHelper", "description": "Some string tricks\r\n\r\n@since 3.0.9", "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": "use Joomla\\CMS\\Filter\\InputFilter;\r\nuse Joomla\\CMS\\Language\\Language;", diff --git a/src/215b35ac-1b26-4838-bbcf-d1fdbbd9353f/settings.json b/src/215b35ac-1b26-4838-bbcf-d1fdbbd9353f/settings.json index 4881cde..c140698 100644 --- a/src/215b35ac-1b26-4838-bbcf-d1fdbbd9353f/settings.json +++ b/src/215b35ac-1b26-4838-bbcf-d1fdbbd9353f/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Abstraction.Registry.Traits.InArray", "type": "trait", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.Registry.Traits.InArray", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Registry.Traits.InArray", "description": "Check if a value is in an array\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/2ad31f74-f579-499d-b98b-c4f54fd615dd/settings.json b/src/2ad31f74-f579-499d-b98b-c4f54fd615dd/settings.json index 6744ec2..d490281 100644 --- a/src/2ad31f74-f579-499d-b98b-c4f54fd615dd/settings.json +++ b/src/2ad31f74-f579-499d-b98b-c4f54fd615dd/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Interfaces.LoadInterface", "type": "interface", "use_selection": null, - "namespace": "VDM\\Joomla\\Interfaces.LoadInterface", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.LoadInterface", "description": "Database Load Interface\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/settings.json b/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/settings.json index 86f0592..0bedf86 100644 --- a/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/settings.json +++ b/src/2da6d6c4-eb29-4d69-8bc2-36d96e916adf/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Interfaces.Tableinterface", "type": "interface", "use_selection": null, - "namespace": "VDM\\Joomla\\Interfaces.Tableinterface", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.Tableinterface", "description": "The VDM Core Table Interface", "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": "", diff --git a/src/30c5b4c2-f75f-4d15-869a-f8bfedd87358/settings.json b/src/30c5b4c2-f75f-4d15-869a-f8bfedd87358/settings.json index 572ee07..f13e326 100644 --- a/src/30c5b4c2-f75f-4d15-869a-f8bfedd87358/settings.json +++ b/src/30c5b4c2-f75f-4d15-869a-f8bfedd87358/settings.json @@ -15,7 +15,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.String.ClassfunctionHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.String.ClassfunctionHelper", "description": "Control the naming of a class and function\r\n\r\n@since 3.0.9", "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": "", diff --git a/src/3cf76fbf-fd95-4a33-878e-7aff6d36b7f6/settings.json b/src/3cf76fbf-fd95-4a33-878e-7aff6d36b7f6/settings.json index c9afb7e..458318f 100644 --- a/src/3cf76fbf-fd95-4a33-878e-7aff6d36b7f6/settings.json +++ b/src/3cf76fbf-fd95-4a33-878e-7aff6d36b7f6/settings.json @@ -10,7 +10,7 @@ "system_name": "String Plugin Helper", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Utilities.String.PluginHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.String.PluginHelper", "description": "Control the naming of a plugin\r\n\r\n@since 3.0.9", "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": "", diff --git a/src/43134867-5cb8-4280-9be8-309fd2fd135f/settings.json b/src/43134867-5cb8-4280-9be8-309fd2fd135f/settings.json index e47c444..a193fe6 100644 --- a/src/43134867-5cb8-4280-9be8-309fd2fd135f/settings.json +++ b/src/43134867-5cb8-4280-9be8-309fd2fd135f/settings.json @@ -12,7 +12,7 @@ "system_name": "VDM.Abstraction.ActiveRegistry", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.ActiveRegistry", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.ActiveRegistry", "description": "Active Storage Registry.\r\n\r\nDon't use this beyond 10 dimensional depth for best performance.\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/4815e1c7-a433-443d-a112-d1e03d7df84b/settings.json b/src/4815e1c7-a433-443d-a112-d1e03d7df84b/settings.json index acbc654..5958aae 100644 --- a/src/4815e1c7-a433-443d-a112-d1e03d7df84b/settings.json +++ b/src/4815e1c7-a433-443d-a112-d1e03d7df84b/settings.json @@ -25,7 +25,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Componentbuilder.Service.Database", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Componentbuilder.Service.Database", "description": "Database Service Provider\r\n\r\n@since 3.2.0", "implements_custom": "ServiceProviderInterface", "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", diff --git a/src/4b225c51-d293-48e4-b3f6-5136cf5c3f18/settings.json b/src/4b225c51-d293-48e4-b3f6-5136cf5c3f18/settings.json index be43cde..a486a6a 100644 --- a/src/4b225c51-d293-48e4-b3f6-5136cf5c3f18/settings.json +++ b/src/4b225c51-d293-48e4-b3f6-5136cf5c3f18/settings.json @@ -20,7 +20,7 @@ "system_name": "Utilities Json Helper", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Utilities.JsonHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.JsonHelper", "description": "The json checker\r\n\r\n@since 3.0.9", "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": "", diff --git a/src/524eb8f6-38d4-47dc-92ad-98b94e099ac0/settings.json b/src/524eb8f6-38d4-47dc-92ad-98b94e099ac0/settings.json index 42aa1ba..2c93d9b 100644 --- a/src/524eb8f6-38d4-47dc-92ad-98b94e099ac0/settings.json +++ b/src/524eb8f6-38d4-47dc-92ad-98b94e099ac0/settings.json @@ -17,7 +17,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Database.Insert", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Database.Insert", "description": "Database Insert Class\r\n\r\n@since 3.2.0", "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\\Date\\Date;", diff --git a/src/52a1d14f-304a-431c-8fa4-411179942db5/settings.json b/src/52a1d14f-304a-431c-8fa4-411179942db5/settings.json index bac5c4a..ad57486 100644 --- a/src/52a1d14f-304a-431c-8fa4-411179942db5/settings.json +++ b/src/52a1d14f-304a-431c-8fa4-411179942db5/settings.json @@ -15,7 +15,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Abstraction.Registry.Traits.VarExport", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Registry.Traits.VarExport", "description": "Var Export Values\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/584747d1-3a86-453d-b7a3-a2219de8d777/settings.json b/src/584747d1-3a86-453d-b7a3-a2219de8d777/settings.json index 39f7427..f3cc2b2 100644 --- a/src/584747d1-3a86-453d-b7a3-a2219de8d777/settings.json +++ b/src/584747d1-3a86-453d-b7a3-a2219de8d777/settings.json @@ -23,7 +23,7 @@ "as": "Table" } }, - "namespace": "VDM\\Joomla\\Abstraction.Model", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Model", "description": "Base Model\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/59b1a2ea-d77e-4040-ac8c-e65cd8743e9b/settings.json b/src/59b1a2ea-d77e-4040-ac8c-e65cd8743e9b/settings.json index 4e54cf2..447ac37 100644 --- a/src/59b1a2ea-d77e-4040-ac8c-e65cd8743e9b/settings.json +++ b/src/59b1a2ea-d77e-4040-ac8c-e65cd8743e9b/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Abstraction.Registry.Traits.GetString", "type": "trait", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.Registry.Traits.GetString", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Registry.Traits.GetString", "description": "Get String Values\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/640b5352-fb09-425f-a26e-cd44eda03f15/settings.json b/src/640b5352-fb09-425f-a26e-cd44eda03f15/settings.json index 6f3faca..79093f5 100644 --- a/src/640b5352-fb09-425f-a26e-cd44eda03f15/settings.json +++ b/src/640b5352-fb09-425f-a26e-cd44eda03f15/settings.json @@ -15,7 +15,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.Component.Helper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.Component.Helper", "description": "Some component helper\r\n\r\n@since 3.0.11", "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": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Component\\ComponentHelper;\r\nuse Joomla\\Input\\Input;\r\nuse Joomla\\Registry\\Registry;", diff --git a/src/64a6ff6c-069c-4a11-a76b-db5e36c27690/settings.json b/src/64a6ff6c-069c-4a11-a76b-db5e36c27690/settings.json index c524c34..9fbbaee 100644 --- a/src/64a6ff6c-069c-4a11-a76b-db5e36c27690/settings.json +++ b/src/64a6ff6c-069c-4a11-a76b-db5e36c27690/settings.json @@ -15,7 +15,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.Base64Helper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.Base64Helper", "description": "The Base64 Helper\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/64e291c2-11f1-423d-a44d-837cc12cc017/settings.json b/src/64e291c2-11f1-423d-a44d-837cc12cc017/settings.json index 49fdc59..13242b5 100644 --- a/src/64e291c2-11f1-423d-a44d-837cc12cc017/settings.json +++ b/src/64e291c2-11f1-423d-a44d-837cc12cc017/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Interfaces.Registryinterface", "type": "interface", "use_selection": null, - "namespace": "VDM\\Joomla\\Interfaces.Registryinterface", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.Registryinterface", "description": "The Registry Interface\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/6cbef8f8-4813-48e3-b05a-65e1aea95171/settings.json b/src/6cbef8f8-4813-48e3-b05a-65e1aea95171/settings.json index 721443f..d2121fc 100644 --- a/src/6cbef8f8-4813-48e3-b05a-65e1aea95171/settings.json +++ b/src/6cbef8f8-4813-48e3-b05a-65e1aea95171/settings.json @@ -15,7 +15,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Abstraction.Database", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Database", "description": "Database\r\n\r\n@since 3.2.0", "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 as JoomlaFactory;", diff --git a/src/7179fde6-1e51-4b51-8545-7ca18f74a0f4/settings.json b/src/7179fde6-1e51-4b51-8545-7ca18f74a0f4/settings.json index 029b623..3fc53be 100644 --- a/src/7179fde6-1e51-4b51-8545-7ca18f74a0f4/settings.json +++ b/src/7179fde6-1e51-4b51-8545-7ca18f74a0f4/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Interfaces.UpdateInterface", "type": "interface", "use_selection": null, - "namespace": "VDM\\Joomla\\Interfaces.UpdateInterface", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.UpdateInterface", "description": "Database Update Interface\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/7d494d91-ab60-43cd-aecf-d50e07f7f30e/settings.json b/src/7d494d91-ab60-43cd-aecf-d50e07f7f30e/settings.json index 0c5863f..a418f91 100644 --- a/src/7d494d91-ab60-43cd-aecf-d50e07f7f30e/settings.json +++ b/src/7d494d91-ab60-43cd-aecf-d50e07f7f30e/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Abstraction.Registry.Traits.ToString", "type": "trait", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.Registry.Traits.ToString", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Registry.Traits.ToString", "description": "To String Values\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/settings.json b/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/settings.json index c5b0e6d..20820e6 100644 --- a/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/settings.json +++ b/src/7e822c03-1b20-41d1-9427-f5b8d5836af7/settings.json @@ -13,7 +13,7 @@ "system_name": "VDM.Abstraction.Registry", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.Registry", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Registry", "description": "VDM Basic Registry.\r\n\r\nDon't use this beyond 10 dimensional depth for best performance.\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/8aef58c1-3f70-4bd4-b9e4-3f29fcd41cff/settings.json b/src/8aef58c1-3f70-4bd4-b9e4-3f29fcd41cff/settings.json index 7d85043..151029a 100644 --- a/src/8aef58c1-3f70-4bd4-b9e4-3f29fcd41cff/settings.json +++ b/src/8aef58c1-3f70-4bd4-b9e4-3f29fcd41cff/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Interfaces.ModelInterface", "type": "interface", "use_selection": null, - "namespace": "VDM\\Joomla\\Interfaces.ModelInterface", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.ModelInterface", "description": "Model Interface\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/91004529-94a9-4590-b842-e7c6b624ecf5/settings.json b/src/91004529-94a9-4590-b842-e7c6b624ecf5/settings.json index 36f382c..aa55acc 100644 --- a/src/91004529-94a9-4590-b842-e7c6b624ecf5/settings.json +++ b/src/91004529-94a9-4590-b842-e7c6b624ecf5/settings.json @@ -10,7 +10,7 @@ "system_name": "Utilities Object Helper", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Utilities.ObjectHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.ObjectHelper", "description": "Some object tricks\r\n\r\n@since 3.0.9", "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": "", diff --git a/src/9c513baf-b279-43fd-ae29-a585c8cbc4f0/settings.json b/src/9c513baf-b279-43fd-ae29-a585c8cbc4f0/settings.json index dd5c31b..6b9ecbd 100644 --- a/src/9c513baf-b279-43fd-ae29-a585c8cbc4f0/settings.json +++ b/src/9c513baf-b279-43fd-ae29-a585c8cbc4f0/settings.json @@ -22,7 +22,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.GuidHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.GuidHelper", "description": "Global Unique ID Helper\r\n\r\n@since 3.0.9", "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": "use Joomla\\CMS\\Factory;", diff --git a/src/9ef0eb24-aae4-4f5a-99af-d724db44808f/settings.json b/src/9ef0eb24-aae4-4f5a-99af-d724db44808f/settings.json index 336b860..dcb4152 100644 --- a/src/9ef0eb24-aae4-4f5a-99af-d724db44808f/settings.json +++ b/src/9ef0eb24-aae4-4f5a-99af-d724db44808f/settings.json @@ -19,7 +19,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.String.FieldHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.String.FieldHelper", "description": "Control the naming of a field\r\n\r\n@since 3.0.9", "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": "", diff --git a/src/a223b31e-ea1d-4cdf-92ae-5f9becffaff0/settings.json b/src/a223b31e-ea1d-4cdf-92ae-5f9becffaff0/settings.json index 792b263..34bfec8 100644 --- a/src/a223b31e-ea1d-4cdf-92ae-5f9becffaff0/settings.json +++ b/src/a223b31e-ea1d-4cdf-92ae-5f9becffaff0/settings.json @@ -25,7 +25,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.FileHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.FileHelper", "description": "File helper\r\n\r\n@since 3.0.9", "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": "use Joomla\\CMS\\Uri\\Uri;\r\nuse Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Language\\Text;\r\nuse Joomla\\CMS\\Filesystem\\Path;\r\nuse Joomla\\CMS\\Filesystem\\File;\r\nuse Joomla\\CMS\\Filesystem\\Folder;\r\nuse Joomla\\Archive\\Archive;", diff --git a/src/a8935cbe-7701-40dc-bfd5-675f2d600954/settings.json b/src/a8935cbe-7701-40dc-bfd5-675f2d600954/settings.json index 457d8f2..1469f84 100644 --- a/src/a8935cbe-7701-40dc-bfd5-675f2d600954/settings.json +++ b/src/a8935cbe-7701-40dc-bfd5-675f2d600954/settings.json @@ -19,7 +19,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.String.TypeHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.String.TypeHelper", "description": "Control the naming of a field type\r\n\r\n@since 3.0.9", "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": "use Joomla\\CMS\\Component\\ComponentHelper;", diff --git a/src/ad12ca1c-d3ce-4e7f-88c5-c6c92bdedc48/settings.json b/src/ad12ca1c-d3ce-4e7f-88c5-c6c92bdedc48/settings.json index 411643b..e1f5190 100644 --- a/src/ad12ca1c-d3ce-4e7f-88c5-c6c92bdedc48/settings.json +++ b/src/ad12ca1c-d3ce-4e7f-88c5-c6c92bdedc48/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Interfaces.InsertInterface", "type": "interface", "use_selection": null, - "namespace": "VDM\\Joomla\\Interfaces.InsertInterface", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.InsertInterface", "description": "Database Insert Interface\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/af0eedbe-603b-4671-8e5a-28165d88254b/settings.json b/src/af0eedbe-603b-4671-8e5a-28165d88254b/settings.json index 56b116a..f43355d 100644 --- a/src/af0eedbe-603b-4671-8e5a-28165d88254b/settings.json +++ b/src/af0eedbe-603b-4671-8e5a-28165d88254b/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Interfaces.Activeregistryinterface", "type": "interface", "use_selection": null, - "namespace": "VDM\\Joomla\\Interfaces.Activeregistryinterface", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.Activeregistryinterface", "description": "The Active Registry Interface\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/b84e947d-2a13-44f7-ac0f-3902ae55ae0c/settings.json b/src/b84e947d-2a13-44f7-ac0f-3902ae55ae0c/settings.json index 2ec0afd..920b95b 100644 --- a/src/b84e947d-2a13-44f7-ac0f-3902ae55ae0c/settings.json +++ b/src/b84e947d-2a13-44f7-ac0f-3902ae55ae0c/settings.json @@ -12,7 +12,7 @@ "system_name": "JCB.Abstraction.BaseRegistry", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Componentbuilder.Abstraction.BaseRegistry", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Componentbuilder.Abstraction.BaseRegistry", "description": "Registry\r\n\r\nSo we have full control over this class\r\n\r\n@since 3.2.0", "implements_custom": "\\JsonSerializable, \\ArrayAccess, \\IteratorAggregate, \\Countable", "extends_custom": "JoomlaRegistry", diff --git a/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php b/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php index 23626f6..b60186b 100644 --- a/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php +++ b/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/code.php @@ -67,19 +67,10 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Details', ], - 'buildcompsql' => [ - 'name' => 'buildcompsql', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMPSQL_LABEL', - 'type' => 'textarea', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'Dynamic Build (beta)', - ], - 'translation_tool' => [ - 'name' => 'translation_tool', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TRANSLATION_TOOL_LABEL', - 'type' => 'list', + '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, @@ -94,27 +85,27 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Dynamic Integration', ], - 'php_method_uninstall' => [ - 'name' => 'php_method_uninstall', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_LABEL', + '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', ], - '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', - ], - 'css_admin' => [ - 'name' => 'css_admin', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL', + 'php_site_event' => [ + 'name' => 'php_site_event', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_LABEL', 'type' => 'editor', 'title' => false, 'list' => 'joomla_components', @@ -148,18 +139,18 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Details', ], - 'debug_linenr' => [ - 'name' => 'debug_linenr', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DEBUG_LINENR_LABEL', - 'type' => 'radio', + 'php_helper_both' => [ + 'name' => 'php_helper_both', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_LABEL', + 'type' => 'editor', 'title' => false, 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', + 'store' => 'base64', + 'tab_name' => 'Libs & Helpers', ], - 'php_site_event' => [ - 'name' => 'php_site_event', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_LABEL', + 'php_admin_event' => [ + 'name' => 'php_admin_event', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL', 'type' => 'editor', 'title' => false, 'list' => 'joomla_components', @@ -175,6 +166,15 @@ class Table extends BaseTable implements Tableinterface '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', @@ -184,9 +184,9 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Details', ], - 'php_postflight_install' => [ - 'name' => 'php_postflight_install', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_LABEL', + 'php_preflight_install' => [ + 'name' => 'php_preflight_install', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL', 'type' => 'editor', 'title' => false, 'list' => 'joomla_components', @@ -202,14 +202,14 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Details', ], - 'sql_uninstall' => [ - 'name' => 'sql_uninstall', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_LABEL', - 'type' => 'textarea', + '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' => 'MySQL', + 'tab_name' => 'Dash & Install', ], 'website' => [ 'name' => 'website', @@ -220,6 +220,15 @@ class Table extends BaseTable implements Tableinterface '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', @@ -238,33 +247,6 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Dynamic Integration', ], - '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', - ], - 'crowdin_username' => [ - 'name' => 'crowdin_username', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME_LABEL', - 'type' => 'text', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'basic_encryption', - 'tab_name' => 'Dynamic Integration', - ], - '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', - ], 'license_type' => [ 'name' => 'license_type', 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_TYPE_LABEL', @@ -274,186 +256,6 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Details', ], - 'component_version' => [ - 'name' => 'component_version', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_LABEL', - 'type' => 'text', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - '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', - ], - '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_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', - ], - 'javascript' => [ - 'name' => 'javascript', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_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', - ], - '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', - ], - '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', - ], - 'license' => [ - 'name' => 'license', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_LABEL', - 'type' => 'textarea', - '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', - ], - 'bom' => [ - 'name' => 'bom', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BOM_LABEL', - 'type' => 'filelist', - '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', - ], - 'image' => [ - 'name' => 'image', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_LABEL', - 'type' => 'media', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'sql' => [ - 'name' => 'sql', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_LABEL', - 'type' => 'textarea', - 'title' => false, - 'list' => 'joomla_components', - 'store' => 'base64', - 'tab_name' => 'MySQL', - ], - 'copyright' => [ - 'name' => 'copyright', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COPYRIGHT_LABEL', - 'type' => 'textarea', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Details', - ], - 'addreadme' => [ - 'name' => 'addreadme', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDREADME_LABEL', - 'type' => 'radio', - 'title' => false, - 'list' => 'joomla_components', - 'store' => NULL, - 'tab_name' => 'Readme', - ], - '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', - ], - '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', - ], - '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', - ], 'crowdin_project_identifier' => [ 'name' => 'crowdin_project_identifier', 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_LABEL', @@ -472,14 +274,212 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'publishing', ], - 'add_php_helper_both' => [ - 'name' => 'add_php_helper_both', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_PHP_HELPER_BOTH_LABEL', + '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' => 'Libs & Helpers', + 'tab_name' => 'Readme', + ], + 'component_version' => [ + 'name' => 'component_version', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Details', + ], + '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', + ], + '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', + ], + 'crowdin_username' => [ + 'name' => 'crowdin_username', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME_LABEL', + 'type' => 'text', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'basic_encryption', + 'tab_name' => 'Dynamic Integration', + ], + 'buildcompsql' => [ + 'name' => 'buildcompsql', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMPSQL_LABEL', + 'type' => 'textarea', + 'title' => false, + 'list' => 'joomla_components', + 'store' => 'base64', + 'tab_name' => 'Dynamic Build', ], 'add_php_helper_admin' => [ 'name' => 'add_php_helper_admin', @@ -796,13 +796,13 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Dynamic Integration', ], - 'crowdin_project_api_key' => [ - 'name' => 'crowdin_project_api_key', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_LABEL', + 'jcb_powers_path' => [ + 'name' => 'jcb_powers_path', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JCB_POWERS_PATH_LABEL', 'type' => 'text', 'title' => false, 'list' => 'joomla_components', - 'store' => 'basic_encryption', + 'store' => NULL, 'tab_name' => 'Dynamic Integration', ], 'creatuserhelper' => [ @@ -814,9 +814,9 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Libs & Helpers', ], - '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', @@ -832,6 +832,24 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'Libs & Helpers', ], + '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' => 'basic_encryption', + 'tab_name' => 'Dynamic Integration', + ], + 'addfootable' => [ + 'name' => 'addfootable', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDFOOTABLE_LABEL', + 'type' => 'list', + 'title' => false, + 'list' => 'joomla_components', + 'store' => NULL, + 'tab_name' => 'Libs & Helpers', + ], 'buildcomp' => [ 'name' => 'buildcomp', 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL', @@ -839,12 +857,12 @@ class Table extends BaseTable implements Tableinterface 'title' => false, 'list' => 'joomla_components', 'store' => NULL, - 'tab_name' => 'Dynamic Build (beta)', + 'tab_name' => 'Dynamic Build', ], - 'addfootable' => [ - 'name' => 'addfootable', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDFOOTABLE_LABEL', - 'type' => 'list', + 'add_email_helper' => [ + 'name' => 'add_email_helper', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_LABEL', + 'type' => 'radio', 'title' => false, 'list' => 'joomla_components', 'store' => NULL, @@ -859,9 +877,9 @@ class Table extends BaseTable implements Tableinterface 'store' => NULL, 'tab_name' => 'publishing', ], - 'add_email_helper' => [ - 'name' => 'add_email_helper', - 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_LABEL', + 'add_php_helper_both' => [ + 'name' => 'add_php_helper_both', + 'label' => 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_PHP_HELPER_BOTH_LABEL', 'type' => 'radio', 'title' => false, 'list' => 'joomla_components', @@ -4056,7 +4074,7 @@ class Table extends BaseTable implements Tableinterface 'value' => [ 'name' => 'value', 'label' => 'COM_COMPONENTBUILDER_PLACEHOLDER_VALUE_LABEL', - 'type' => 'text', + 'type' => 'textarea', 'title' => false, 'list' => 'placeholders', 'store' => 'base64', diff --git a/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/settings.json b/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/settings.json index 6541f3b..792caaf 100644 --- a/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/settings.json +++ b/src/bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8/settings.json @@ -12,7 +12,7 @@ "system_name": "JCB.Table", "type": "class", "use_selection": null, - "namespace": "VDM\\Joomla\\Componentbuilder.Table", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Componentbuilder.Table", "description": "JCB Tables\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/c09e8968-c767-4175-bb3d-8432f206a2c7/settings.json b/src/c09e8968-c767-4175-bb3d-8432f206a2c7/settings.json index 43bdf5c..31e2921 100644 --- a/src/c09e8968-c767-4175-bb3d-8432f206a2c7/settings.json +++ b/src/c09e8968-c767-4175-bb3d-8432f206a2c7/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Abstraction.Registry.Traits.IsArray", "type": "trait", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.Registry.Traits.IsArray", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Registry.Traits.IsArray", "description": "Check if a value is in an array\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/caf33c5d-858c-4f9a-894f-ab302ec5445a/settings.json b/src/caf33c5d-858c-4f9a-894f-ab302ec5445a/settings.json index d062262..b81521e 100644 --- a/src/caf33c5d-858c-4f9a-894f-ab302ec5445a/settings.json +++ b/src/caf33c5d-858c-4f9a-894f-ab302ec5445a/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Interfaces.FactoryInterface", "type": "interface", "use_selection": null, - "namespace": "VDM\\Joomla\\Interfaces.FactoryInterface", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Interfaces.FactoryInterface", "description": "The Container Factory Interface", "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\\DI\\Container;", diff --git a/src/cce56585-58b0-4f72-a92c-e2635ea52d83/settings.json b/src/cce56585-58b0-4f72-a92c-e2635ea52d83/settings.json index 02543bf..63a0549 100644 --- a/src/cce56585-58b0-4f72-a92c-e2635ea52d83/settings.json +++ b/src/cce56585-58b0-4f72-a92c-e2635ea52d83/settings.json @@ -12,7 +12,7 @@ "system_name": "VDM.Database.Update", "type": "final class", "use_selection": null, - "namespace": "VDM\\Joomla\\Database.Update", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Database.Update", "description": "Database Update Class\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/cddcac51-9a46-47c4-ba59-105c70453bd6/settings.json b/src/cddcac51-9a46-47c4-ba59-105c70453bd6/settings.json index 0366781..bde140f 100644 --- a/src/cddcac51-9a46-47c4-ba59-105c70453bd6/settings.json +++ b/src/cddcac51-9a46-47c4-ba59-105c70453bd6/settings.json @@ -23,7 +23,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Componentbuilder.Utilities.FilterHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Componentbuilder.Utilities.FilterHelper", "description": "Filter Helper\r\n\r\n@since 3.2.0", "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;\r\nuse Joomla\\CMS\\Language\\Text;", diff --git a/src/ce8cf834-6bac-44fb-941c-861f7e046cc0/settings.json b/src/ce8cf834-6bac-44fb-941c-861f7e046cc0/settings.json index c504c3b..1280566 100644 --- a/src/ce8cf834-6bac-44fb-941c-861f7e046cc0/settings.json +++ b/src/ce8cf834-6bac-44fb-941c-861f7e046cc0/settings.json @@ -15,7 +15,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.String.NamespaceHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.String.NamespaceHelper", "description": "Control the naming of a namespace helper\r\n\r\n@since 3.0.9", "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": "", diff --git a/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/README.md b/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/README.md new file mode 100644 index 0000000..345798d --- /dev/null +++ b/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/README.md @@ -0,0 +1,57 @@ +``` +██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ +██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ +██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ +██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ +╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ +``` +# abstract class GetHelperExtrusion (Details) +> namespace: **VDM\Joomla\Utilities** +> extends: **GetHelper** +```uml +@startuml +abstract GetHelperExtrusion #Orange { + + {static} allBetween(string $content, string $start, ...) : ?array + + {static} between(string $content, string $start, ...) : string +} + +note right of GetHelperExtrusion::allBetween + get all strings between two other strings + + since: 3.0.9 + return: ?array + + arguments: + string $content + string $start + string $end +end note + +note right of GetHelperExtrusion::between + get a string between two other strings + + since: 3.0.9 + return: string + + arguments: + string $content + string $start + string $end + string $default = '' +end note + +@enduml +``` + +--- +``` + ██╗ ██████╗██████╗ + ██║██╔════╝██╔══██╗ + ██║██║ ██████╔╝ +██ ██║██║ ██╔══██╗ +╚█████╔╝╚██████╗██████╔╝ + ╚════╝ ╚═════╝╚═════╝ +``` +> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) + diff --git a/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.php b/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.php new file mode 100644 index 0000000..e607e39 --- /dev/null +++ b/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.php @@ -0,0 +1,102 @@ + + * @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; + + +use VDM\Joomla\Utilities\GetHelper; + + +/** + * Some easy get... + * + * @since 3.2.0 + */ +abstract class GetHelperExtrusion extends GetHelper +{ + /** + * get all strings between two other strings + * + * @param string $content The content to search + * @param string $start The starting value + * @param string $end The ending value + * + * @return array|null On success + * @since 3.0.9 + */ + public static function allBetween(string $content, string $start, string $end): ?array + { + // reset bucket + $bucket = []; + for ($i = 0; ; $i++) + { + // search for string + $found = self::between($content, $start, $end); + + if (StringHelper::check($found)) + { + // add to bucket + $bucket[] = $found; + + // build removal string + $remove = $start . $found . $end; + + // remove from content + $content = str_replace($remove, '', $content); + } + else + { + break; + } + + // safety catch + if ($i == 500) + { + break; + } + } + + // only return unique array of values + if (ArrayHelper::check($bucket)) + { + return array_unique($bucket); + } + + return null; + } + + /** + * get a string between two other strings + * + * @param string $content The content to search + * @param string $start The starting value + * @param string $end The ending value + * @param string $default The default value if none found + * + * @return string On success / empty string on failure + * @since 3.0.9 + */ + public static function between(string $content, string $start, string $end, string $default = ''): string + { + $array = explode($start, $content); + if (isset($array[1]) && strpos($array[1], $end) !== false) + { + $array = explode($end, $array[1]); + + // return string found between + return $array[0]; + } + + return $default; + } + +} + diff --git a/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.power b/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.power new file mode 100644 index 0000000..a1eb506 --- /dev/null +++ b/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/code.power @@ -0,0 +1,75 @@ + /** + * get all strings between two other strings + * + * @param string $content The content to search + * @param string $start The starting value + * @param string $end The ending value + * + * @return array|null On success + * @since 3.0.9 + */ + public static function allBetween(string $content, string $start, string $end): ?array + { + // reset bucket + $bucket = []; + for ($i = 0; ; $i++) + { + // search for string + $found = self::between($content, $start, $end); + + if (StringHelper::check($found)) + { + // add to bucket + $bucket[] = $found; + + // build removal string + $remove = $start . $found . $end; + + // remove from content + $content = str_replace($remove, '', $content); + } + else + { + break; + } + + // safety catch + if ($i == 500) + { + break; + } + } + + // only return unique array of values + if (ArrayHelper::check($bucket)) + { + return array_unique($bucket); + } + + return null; + } + + /** + * get a string between two other strings + * + * @param string $content The content to search + * @param string $start The starting value + * @param string $end The ending value + * @param string $default The default value if none found + * + * @return string On success / empty string on failure + * @since 3.0.9 + */ + public static function between(string $content, string $start, string $end, string $default = ''): string + { + $array = explode($start, $content); + if (isset($array[1]) && strpos($array[1], $end) !== false) + { + $array = explode($end, $array[1]); + + // return string found between + return $array[0]; + } + + return $default; + } diff --git a/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/settings.json b/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/settings.json new file mode 100644 index 0000000..cbc62fa --- /dev/null +++ b/src/cefe4092-a4c2-41a6-a683-bd3ab5419cc6/settings.json @@ -0,0 +1,25 @@ +{ + "add_head": "0", + "add_licensing_template": "2", + "extends": "db87c339-5bb6-4291-a7ef-2c48ea1b06bc", + "guid": "cefe4092-a4c2-41a6-a683-bd3ab5419cc6", + "implements": null, + "load_selection": { + "load_selection0": { + "load": "0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a" + }, + "load_selection1": { + "load": "1f28cb53-60d9-4db1-b517-3c7dc6b429ef" + } + }, + "name": "GetHelperExtrusion", + "power_version": "2.0.0", + "system_name": "Utilities Extrusion GetHelper", + "type": "abstract class", + "use_selection": null, + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.GetHelperExtrusion", + "description": "Some easy get...\r\n\r\n@since 3.2.0", + "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/db87c339-5bb6-4291-a7ef-2c48ea1b06bc/settings.json b/src/db87c339-5bb6-4291-a7ef-2c48ea1b06bc/settings.json index 0c84f92..232cfac 100644 --- a/src/db87c339-5bb6-4291-a7ef-2c48ea1b06bc/settings.json +++ b/src/db87c339-5bb6-4291-a7ef-2c48ea1b06bc/settings.json @@ -22,7 +22,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Utilities.GetHelper", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Utilities.GetHelper", "description": "Some easy get...\r\n\r\n@since 3.0.9", "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": "use Joomla\\CMS\\Factory;", diff --git a/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/settings.json b/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/settings.json index 61b51ac..ebb6500 100644 --- a/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/settings.json +++ b/src/e0f6ddbe-2a35-4537-942c-faff2ebd04f6/settings.json @@ -12,7 +12,7 @@ "system_name": "VDM.Abstraction.BaseTable", "type": "abstract class", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.BaseTable", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.BaseTable", "description": "Base Table\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/ff7d0111-8f79-42aa-ac14-b53ba2c49369/settings.json b/src/ff7d0111-8f79-42aa-ac14-b53ba2c49369/settings.json index 0c47589..74bf66a 100644 --- a/src/ff7d0111-8f79-42aa-ac14-b53ba2c49369/settings.json +++ b/src/ff7d0111-8f79-42aa-ac14-b53ba2c49369/settings.json @@ -10,7 +10,7 @@ "system_name": "VDM.Abstraction.Registry.Traits.IsString", "type": "trait", "use_selection": null, - "namespace": "VDM\\Joomla\\Abstraction.Registry.Traits.IsString", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.Registry.Traits.IsString", "description": "Is String Values\r\n\r\n@since 3.2.0", "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": "", diff --git a/src/ffbd4e1f-a342-4080-ab7d-1de3741bf319/settings.json b/src/ffbd4e1f-a342-4080-ab7d-1de3741bf319/settings.json index 2457d35..a95b455 100644 --- a/src/ffbd4e1f-a342-4080-ab7d-1de3741bf319/settings.json +++ b/src/ffbd4e1f-a342-4080-ab7d-1de3741bf319/settings.json @@ -15,7 +15,7 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Abstraction.BaseConfig", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\Abstraction.BaseConfig", "description": "Config\r\n\r\n@since 3.2.0", "extends_custom": "JoomlaRegistry", "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", diff --git a/super-powers.json b/super-powers.json index e22363e..3342296 100644 --- a/super-powers.json +++ b/super-powers.json @@ -439,6 +439,17 @@ "spk": "Super__ce8cf834_6bac_44fb_941c_861f7e046cc0__Power", "guid": "ce8cf834-6bac-44fb-941c-861f7e046cc0" }, + "cefe4092-a4c2-41a6-a683-bd3ab5419cc6": { + "name": "GetHelperExtrusion", + "type": "abstract class", + "namespace": "VDM\\Joomla\\Utilities", + "code": "src\/cefe4092-a4c2-41a6-a683-bd3ab5419cc6\/code.php", + "power": "src\/cefe4092-a4c2-41a6-a683-bd3ab5419cc6\/code.power", + "settings": "src\/cefe4092-a4c2-41a6-a683-bd3ab5419cc6\/settings.json", + "path": "src\/cefe4092-a4c2-41a6-a683-bd3ab5419cc6", + "spk": "Super__cefe4092_a4c2_41a6_a683_bd3ab5419cc6__Power", + "guid": "cefe4092-a4c2-41a6-a683-bd3ab5419cc6" + }, "db87c339-5bb6-4291-a7ef-2c48ea1b06bc": { "name": "GetHelper", "type": "abstract class",