From 1ba2cdbd9d95a126f7b9f53e2b0235f35dc19a4e Mon Sep 17 00:00:00 2001 From: aB0t Date: Tue, 10 Oct 2023 11:39:16 +0200 Subject: [PATCH] update 2023-10-10 10:16:07 --- README.md | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 22 +- .../code.php | 131 +- .../code.power | 126 +- .../settings.json | 14 +- .../code.php | 4 +- .../code.power | 4 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 55 - .../code.power | 26 - .../README.md | 17 +- .../code.php | 28 +- .../code.power | 22 +- .../settings.json | 4 +- .../code.php | 2 +- .../code.power | 2 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 10 +- .../code.php | 23 +- .../code.power | 17 +- .../settings.json | 6 +- .../README.md | 16 + .../code.php | 2836 +++++++++-------- .../code.power | 2834 ++++++++-------- .../settings.json | 166 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 4 +- .../code.power | 4 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 25 +- .../code.php | 41 +- .../code.power | 36 +- .../settings.json | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 2 +- .../code.power | 2 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 17 +- .../code.php | 28 +- .../code.power | 22 +- .../settings.json | 4 +- .../README.md | 30 +- .../code.php | 89 + .../code.power | 60 + .../settings.json | 25 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 20 +- .../code.php | 85 +- .../code.power | 80 +- .../settings.json | 34 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 + .../code.php | 85 +- .../code.power | 82 +- .../settings.json | 32 +- .../README.md | 8 +- .../code.php | 40 +- .../code.power | 36 +- .../settings.json | 6 +- .../README.md | 24 +- .../code.php | 34 +- .../code.power | 27 +- .../settings.json | 12 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 2 +- .../code.power | 2 +- .../README.md | 82 - .../code.php | 82 - .../code.power | 61 - .../settings.json | 18 - .../code.php | 39 +- .../code.power | 39 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 2 +- .../code.power | 2 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 3 +- .../code.power | 3 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 17 +- .../code.php | 31 +- .../code.power | 25 +- .../settings.json | 4 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 17 +- .../code.php | 28 +- .../code.power | 22 +- .../settings.json | 4 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 4 +- .../code.power | 4 +- .../README.md | 31 +- .../code.php | 48 +- .../code.power | 37 +- .../settings.json | 13 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 8 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 2 +- .../code.power | 2 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 24 +- .../code.php | 96 +- .../code.power | 90 +- .../settings.json | 34 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 10 +- .../code.php | 17 +- .../code.power | 16 +- .../settings.json | 28 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 5 +- .../code.power | 5 +- .../README.md | 15 +- .../code.php | 38 +- .../code.power | 29 +- .../settings.json | 19 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 4 +- .../code.php | 17 +- .../code.power | 14 +- .../settings.json | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 31 +- .../code.power | 31 +- .../README.md | 2 +- .../code.php | 8 +- .../code.php | 2 +- .../code.php | 29 +- .../code.power | 29 +- .../README.md | 88 - .../code.php | 89 - .../code.power | 1 - .../settings.json | 18 - .../README.md | 2 +- .../code.php | 6 +- .../README.md | 2 +- .../code.php | 6 +- .../code.php | 8 +- .../code.power | 8 +- super-powers.json | 48 +- 275 files changed, 4549 insertions(+), 4973 deletions(-) delete mode 100644 src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.php delete mode 100644 src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.power rename src/{23f2ca33-440a-4941-8e9a-4bc67522c0cb => 5f57ff1a-c196-45b1-a2ac-33766b44fb95}/README.md (70%) create mode 100644 src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.php create mode 100644 src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.power rename src/{23f2ca33-440a-4941-8e9a-4bc67522c0cb => 5f57ff1a-c196-45b1-a2ac-33766b44fb95}/settings.json (54%) delete mode 100644 src/78527c29-24ad-4735-ad4c-ec33a4952d9b/README.md delete mode 100644 src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.php delete mode 100644 src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.power delete mode 100644 src/78527c29-24ad-4735-ad4c-ec33a4952d9b/settings.json delete mode 100644 src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/README.md delete mode 100644 src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.php delete mode 100644 src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.power delete mode 100644 src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/settings.json diff --git a/README.md b/README.md index 7fc70e5..7d575f5 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,6 @@ This repository contains an index (see below) of all the approved powers within - **abstract class Factory** | [Details](src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac) | [Code](src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.php) | [Settings](src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/settings.json) | Super__d910d8b8_4c23_4f3e_8cda_438f2d2bd7ac__Power - **final class Component** | [Details](src/e2472b22-a329-44d8-b4a2-ae3ba99e17a0) | [Code](src/e2472b22-a329-44d8-b4a2-ae3ba99e17a0/code.php) | [Settings](src/e2472b22-a329-44d8-b4a2-ae3ba99e17a0/settings.json) | Super__e2472b22_a329_44d8_b4a2_ae3ba99e17a0__Power - **class Config** | [Details](src/fa4bf18e-301e-42e3-91fb-6e0096c07adc) | [Code](src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.php) | [Settings](src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/settings.json) | Super__fa4bf18e_301e_42e3_91fb_6e0096c07adc__Power - - **class Content** | [Details](src/adfbe68a-6d22-43e5-aee8-2787e8c47e75) | [Code](src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php) | [Settings](src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json) | Super__adfbe68a_6d22_43e5_aee8_2787e8c47e75__Power - **class Customcode** | [Details](src/313b43c4-98c3-4f62-9177-2d73ec8eba31) | [Code](src/313b43c4-98c3-4f62-9177-2d73ec8eba31/code.php) | [Settings](src/313b43c4-98c3-4f62-9177-2d73ec8eba31/settings.json) | Super__313b43c4_98c3_4f62_9177_2d73ec8eba31__Power - **class Field** | [Details](src/d7ba2d5d-10b6-470d-978d-9f91ea65ee75) | [Code](src/d7ba2d5d-10b6-470d-978d-9f91ea65ee75/code.php) | [Settings](src/d7ba2d5d-10b6-470d-978d-9f91ea65ee75/settings.json) | Super__d7ba2d5d_10b6_470d_978d_9f91ea65ee75__Power - **class Language** | [Details](src/8eee7df5-2775-41a9-9372-c46c5939a252) | [Code](src/8eee7df5-2775-41a9-9372-c46c5939a252/code.php) | [Settings](src/8eee7df5-2775-41a9-9372-c46c5939a252/settings.json) | Super__8eee7df5_2775_41a9_9372_c46c5939a252__Power @@ -41,8 +40,6 @@ This repository contains an index (see below) of all the approved powers within - **Namespace**: [VDM\Joomla\Componentbuilder\Interfaces](#vdm-joomla-componentbuilder-interfaces) - **interface Cryptinterface** | [Details](src/81de8f57-dd9c-4a17-964f-848cd4a0743b) | [Code](src/81de8f57-dd9c-4a17-964f-848cd4a0743b/code.php) | [Settings](src/81de8f57-dd9c-4a17-964f-848cd4a0743b/settings.json) | Super__81de8f57_dd9c_4a17_964f_848cd4a0743b__Power - - **interface Mapperdoubleinterface** | [Details](src/fbc58009-fa16-4d49-a0dd-419c3b62d42f) | [Code](src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.php) | [Settings](src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/settings.json) | Super__fbc58009_fa16_4d49_a0dd_419c3b62d42f__Power - - **interface Mappersingleinterface** | [Details](src/78527c29-24ad-4735-ad4c-ec33a4952d9b) | [Code](src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.php) | [Settings](src/78527c29-24ad-4735-ad4c-ec33a4952d9b/settings.json) | Super__78527c29_24ad_4735_ad4c_ec33a4952d9b__Power - **interface Serverinterface** | [Details](src/86ac0760-26f5-4746-9c7f-ce77860f80f8) | [Code](src/86ac0760-26f5-4746-9c7f-ce77860f80f8/code.php) | [Settings](src/86ac0760-26f5-4746-9c7f-ce77860f80f8/settings.json) | Super__86ac0760_26f5_4746_9c7f_ce77860f80f8__Power - **Namespace**: [VDM\Joomla\Componentbuilder\Power](#vdm-joomla-componentbuilder-power) @@ -149,6 +146,8 @@ This repository contains an index (see below) of all the approved powers within - **final class TemplateData** | [Details](src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade) | [Code](src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/code.php) | [Settings](src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/settings.json) | Super__8591f6db_dd3c_4a63_9b3f_574c0ec74ade__Power - **final class Title** | [Details](src/6a1dddb3-a955-425e-b713-8ef81f256035) | [Code](src/6a1dddb3-a955-425e-b713-8ef81f256035/code.php) | [Settings](src/6a1dddb3-a955-425e-b713-8ef81f256035/settings.json) | Super__6a1dddb3_a955_425e_b713_8ef81f256035__Power - **final class UikitComp** | [Details](src/54ec57f6-2fc3-42e5-975e-1fabeacb845d) | [Code](src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/code.php) | [Settings](src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/settings.json) | Super__54ec57f6_2fc3_42e5_975e_1fabeacb845d__Power + - **class ContentMulti** | [Details](src/5f57ff1a-c196-45b1-a2ac-33766b44fb95) | [Code](src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.php) | [Settings](src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/settings.json) | Super__5f57ff1a_c196_45b1_a2ac_33766b44fb95__Power + - **class ContentOne** | [Details](src/adfbe68a-6d22-43e5-aee8-2787e8c47e75) | [Code](src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php) | [Settings](src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json) | Super__adfbe68a_6d22_43e5_aee8_2787e8c47e75__Power - **class UpdateMysql** | [Details](src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9) | [Code](src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.php) | [Settings](src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/settings.json) | Super__2b5c9989_1d4e_4f59_8b95_5cd2f72f82d9__Power - **Namespace**: [VDM\Joomla\Componentbuilder\Compiler\Component](#vdm-joomla-componentbuilder-compiler-component) @@ -298,7 +297,6 @@ This repository contains an index (see below) of all the approved powers within - **class Joomlaplugin** | [Details](src/9eba241c-af90-42dd-ae05-92ff4d8391d3) | [Code](src/9eba241c-af90-42dd-ae05-92ff4d8391d3/code.php) | [Settings](src/9eba241c-af90-42dd-ae05-92ff4d8391d3/settings.json) | Super__9eba241c_af90_42dd_ae05_92ff4d8391d3__Power - **class Language** | [Details](src/9f00e793-86f8-4ef9-b775-a3eb129f83c0) | [Code](src/9f00e793-86f8-4ef9-b775-a3eb129f83c0/code.php) | [Settings](src/9f00e793-86f8-4ef9-b775-a3eb129f83c0/settings.json) | Super__9f00e793_86f8_4ef9_b775_a3eb129f83c0__Power - **class Library** | [Details](src/253317c7-3c3b-48a0-aec8-8af5e7a86504) | [Code](src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.php) | [Settings](src/253317c7-3c3b-48a0-aec8-8af5e7a86504/settings.json) | Super__253317c7_3c3b_48a0_aec8_8af5e7a86504__Power - - **class Mapper** | [Details](src/23f2ca33-440a-4941-8e9a-4bc67522c0cb) | [Code](src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.php) | [Settings](src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/settings.json) | Super__23f2ca33_440a_4941_8e9a_4bc67522c0cb__Power - **class Model** | [Details](src/0601fee8-d51e-4af0-9ad3-b5f8700c4a45) | [Code](src/0601fee8-d51e-4af0-9ad3-b5f8700c4a45/code.php) | [Settings](src/0601fee8-d51e-4af0-9ad3-b5f8700c4a45/settings.json) | Super__0601fee8_d51e_4af0_9ad3_b5f8700c4a45__Power - **class Placeholder** | [Details](src/2f7b1998-bb93-4055-ae82-aa659ce8a37f) | [Code](src/2f7b1998-bb93-4055-ae82-aa659ce8a37f/code.php) | [Settings](src/2f7b1998-bb93-4055-ae82-aa659ce8a37f/settings.json) | Super__2f7b1998_bb93_4055_ae82_aa659ce8a37f__Power - **class Power** | [Details](src/de01527a-6586-46ea-92e7-11ea3de1cedb) | [Code](src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.php) | [Settings](src/de01527a-6586-46ea-92e7-11ea3de1cedb/settings.json) | Super__de01527a_6586_46ea_92e7_11ea3de1cedb__Power diff --git a/src/007177eb-d39d-4093-8840-07a38811c502/README.md b/src/007177eb-d39d-4093-8840-07a38811c502/README.md index 0d86df5..b58196e 100644 --- a/src/007177eb-d39d-4093-8840-07a38811c502/README.md +++ b/src/007177eb-d39d-4093-8840-07a38811c502/README.md @@ -8,7 +8,7 @@ ``` # final class Category (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Category << (F,LightGreen) >> #RoyalBlue { diff --git a/src/007177eb-d39d-4093-8840-07a38811c502/code.php b/src/007177eb-d39d-4093-8840-07a38811c502/code.php index 385f5fc..f88360e 100644 --- a/src/007177eb-d39d-4093-8840-07a38811c502/code.php +++ b/src/007177eb-d39d-4093-8840-07a38811c502/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Category extends StorageRegistry implements Storageregistryinterface +final class Category extends Registry implements Registryinterface { } diff --git a/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/README.md b/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/README.md index 9654a5b..aa87c1f 100644 --- a/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/README.md +++ b/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/README.md @@ -14,6 +14,7 @@ class Infusion #Gold { # Config $config # Power $power # Content $content + # Contents $contents # Autoloader $autoloader # Parser $parser # RepoReadme $reporeadme @@ -21,7 +22,7 @@ class Infusion #Gold { # Placeholder $placeholder # Event $event # array $linker - + __construct(?Config $config = null, ?Power $power = null, ...) + + __construct(Config $config, Power $power, ...) + set() : void - parsePowers() : void - setSuperPowers() : void @@ -40,15 +41,16 @@ note right of Infusion::__construct since: 3.2.0 arguments: - ?Config $config = null - ?Power $power = null - ?Content $content = null - ?Autoloader $autoloader = null - ?Parser $parser = null - ?RepoReadme $reporeadme = null - ?ReposReadme $reposreadme = null - ?Placeholder $placeholder = null - ?Event $event = null + Config $config + Power $power + Content $content + Contents $contents + Autoloader $autoloader + Parser $parser + RepoReadme $reporeadme + ReposReadme $reposreadme + Placeholder $placeholder + Event $event end note note left of Infusion::set diff --git a/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/code.php b/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/code.php index 53b4643..ed1ed41 100644 --- a/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/code.php +++ b/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/code.php @@ -12,10 +12,10 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Power; -use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler; use VDM\Joomla\Componentbuilder\Compiler\Config; use VDM\Joomla\Componentbuilder\Compiler\Power; -use VDM\Joomla\Componentbuilder\Compiler\Content; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentOne as Content; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentMulti as Contents; use VDM\Joomla\Componentbuilder\Compiler\Power\Autoloader; use VDM\Joomla\Componentbuilder\Compiler\Power\Parser; use VDM\Joomla\Componentbuilder\Compiler\Power\Repo\Readme as RepoReadme; @@ -34,75 +34,83 @@ use VDM\Joomla\Utilities\ObjectHelper; class Infusion { /** - * Compiler Config + * The Config Class. * - * @var Config + * @var Config * @since 3.2.0 - **/ + */ protected Config $config; /** - * Power Objects + * The Power Class. * - * @var Power + * @var Power * @since 3.2.0 - **/ + */ protected Power $power; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** - * Compiler Powers Autoloader + * The ContentMulti Class. * - * @var Autoloader + * @var Contents * @since 3.2.0 - **/ + */ + protected Contents $contents; + + /** + * The Autoloader Class. + * + * @var Autoloader + * @since 3.2.0 + */ protected Autoloader $autoloader; /** - * Compiler Powers Parser + * The Parser Class. * - * @var Parser + * @var Parser * @since 3.2.0 - **/ + */ protected Parser $parser; /** - * Compiler Powers Repo Readme Builder + * The Readme Class. * - * @var RepoReadme + * @var RepoReadme * @since 3.2.0 - **/ + */ protected RepoReadme $reporeadme; /** - * Compiler Powers Repos Readme Builder + * The Readme Class. * - * @var ReposReadme + * @var ReposReadme * @since 3.2.0 - **/ + */ protected ReposReadme $reposreadme; /** - * Compiler Placeholder + * The Placeholder Class. * - * @var Placeholder + * @var Placeholder * @since 3.2.0 - **/ + */ protected Placeholder $placeholder; /** - * Compiler Event + * The EventInterface Class. * - * @var Event + * @var Event * @since 3.2.0 - **/ + */ protected Event $event; /** @@ -135,31 +143,35 @@ class Infusion /** * Constructor. * - * @param Config|null $config The Config object. - * @param Power|null $power The power object. - * @param Content|null $content The compiler content object. - * @param Autoloader|null $autoloader The powers autoloader object. - * @param Parser|null $parser The powers parser object. - * @param RepoReadme|null $reporeadme The powers repo readme builder object. - * @param ReposReadme|null $reposreadme The powers repos readme builder object. - * @param Placeholder|null $placeholder The placeholder object. - * @param Event|null $event The events object. + * @param Config $config The Config Class. + * @param Power $power The Power Class. + * @param Content $content The ContentOne Class. + * @param Contents $contents The ContentMulti Class. + * @param Autoloader $autoloader The Autoloader Class. + * @param Parser $parser The Parser Class. + * @param RepoReadme $reporeadme The Readme Class. + * @param ReposReadme $reposreadme The Readme Class. + * @param Placeholder $placeholder The Placeholder Class. + * @param Event $event The EventInterface Class. * * @since 3.2.0 */ - public function __construct(?Config $config = null, ?Power $power = null, ?Content $content = null, - ?Autoloader $autoloader = null, ?Parser $parser = null, ?RepoReadme $reporeadme = null, - ?ReposReadme $reposreadme = null, ?Placeholder $placeholder = null, ?Event $event = null) + public function __construct(Config $config, Power $power, Content $content, + Contents $contents, Autoloader $autoloader, + Parser $parser, RepoReadme $reporeadme, + ReposReadme $reposreadme, Placeholder $placeholder, + Event $event) { - $this->config = $config ?: Compiler::_('Config'); - $this->power = $power ?: Compiler::_('Power'); - $this->content = $content ?: Compiler::_('Content'); - $this->autoloader = $autoloader ?: Compiler::_('Power.Autoloader'); - $this->parser = $parser ?: Compiler::_('Power.Parser'); - $this->reporeadme = $reporeadme ?: Compiler::_('Power.Repo.Readme'); - $this->reposreadme = $reposreadme ?: Compiler::_('Power.Repos.Readme'); - $this->placeholder = $placeholder ?: Compiler::_('Placeholder'); - $this->event = $event ?: Compiler::_('Event'); + $this->config = $config; + $this->power = $power; + $this->content = $content; + $this->contents = $contents; + $this->autoloader = $autoloader; + $this->parser = $parser; + $this->reporeadme = $reporeadme; + $this->reposreadme = $reposreadme; + $this->placeholder = $placeholder; + $this->event = $event; } /** @@ -199,7 +211,7 @@ class Infusion // only parse those approved if ($power->approved == 1) { - $power->main_class_code = $this->placeholder->update($power->main_class_code, $this->content->active); + $power->main_class_code = $this->placeholder->update($power->main_class_code, $this->content->allActive()); $power->parsed_class_code = $this->parser->code($power->main_class_code); } } @@ -238,13 +250,13 @@ class Infusion } // POWERREADME - $this->content->set_($key, 'POWERREADME', $this->reposreadme->get($powers)); + $this->contents->set("{$key}|POWERREADME", $this->reposreadme->get($powers)); // sort all powers $this->sortPowers($powers); // POWERINDEX - $this->content->set_($key, 'POWERINDEX', $this->index($powers)); + $this->contents->set("{$key}|POWERINDEX", $this->index($powers)); // Trigger Event: jcb_ce_onAfterInfuseSuperPowerDetails $this->event->trigger( @@ -308,16 +320,16 @@ class Infusion ); // POWERCODE - $this->content->set_($power->key, 'POWERCODE', $this->code($power)); + $this->contents->set("{$power->key}|POWERCODE", $this->code($power)); // CODEPOWER - $this->content->set_($power->key, 'CODEPOWER', $this->raw($power)); + $this->contents->set("{$power->key}|CODEPOWER", $this->raw($power)); // POWERLINKER - $this->content->set_($power->key, 'POWERLINKER', $this->linker($power)); + $this->contents->set("{$power->key}|POWERLINKER", $this->linker($power)); // POWERLINKER - $this->content->set_($power->key, 'POWERREADME', $this->reporeadme->get($power)); + $this->contents->set("{$power->key}|POWERREADME", $this->reporeadme->get($power)); // Trigger Event: jcb_ce_onAfterInfusePowerData $this->event->trigger( @@ -404,7 +416,7 @@ class Infusion $code[] = '}' . PHP_EOL; - return $this->placeholder->update(implode(PHP_EOL, $code), $this->content->active); + return $this->placeholder->update(implode(PHP_EOL, $code), $this->content->allActive()); } /** @@ -447,7 +459,6 @@ class Infusion } return json_encode($linker, JSON_PRETTY_PRINT); - } - + } } diff --git a/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/code.power b/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/code.power index 462a553..122ab9f 100644 --- a/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/code.power +++ b/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/code.power @@ -1,73 +1,81 @@ /** - * Compiler Config + * The Config Class. * - * @var Config + * @var Config * @since 3.2.0 - **/ + */ protected Config $config; /** - * Power Objects + * The Power Class. * - * @var Power + * @var Power * @since 3.2.0 - **/ + */ protected Power $power; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** - * Compiler Powers Autoloader + * The ContentMulti Class. * - * @var Autoloader + * @var Contents * @since 3.2.0 - **/ + */ + protected Contents $contents; + + /** + * The Autoloader Class. + * + * @var Autoloader + * @since 3.2.0 + */ protected Autoloader $autoloader; /** - * Compiler Powers Parser + * The Parser Class. * - * @var Parser + * @var Parser * @since 3.2.0 - **/ + */ protected Parser $parser; /** - * Compiler Powers Repo Readme Builder + * The Readme Class. * - * @var RepoReadme + * @var RepoReadme * @since 3.2.0 - **/ + */ protected RepoReadme $reporeadme; /** - * Compiler Powers Repos Readme Builder + * The Readme Class. * - * @var ReposReadme + * @var ReposReadme * @since 3.2.0 - **/ + */ protected ReposReadme $reposreadme; /** - * Compiler Placeholder + * The Placeholder Class. * - * @var Placeholder + * @var Placeholder * @since 3.2.0 - **/ + */ protected Placeholder $placeholder; /** - * Compiler Event + * The EventInterface Class. * - * @var Event + * @var Event * @since 3.2.0 - **/ + */ protected Event $event; /** @@ -100,31 +108,35 @@ /** * Constructor. * - * @param Config|null $config The Config object. - * @param Power|null $power The power object. - * @param Content|null $content The compiler content object. - * @param Autoloader|null $autoloader The powers autoloader object. - * @param Parser|null $parser The powers parser object. - * @param RepoReadme|null $reporeadme The powers repo readme builder object. - * @param ReposReadme|null $reposreadme The powers repos readme builder object. - * @param Placeholder|null $placeholder The placeholder object. - * @param Event|null $event The events object. + * @param Config $config The Config Class. + * @param Power $power The Power Class. + * @param Content $content The ContentOne Class. + * @param Contents $contents The ContentMulti Class. + * @param Autoloader $autoloader The Autoloader Class. + * @param Parser $parser The Parser Class. + * @param RepoReadme $reporeadme The Readme Class. + * @param ReposReadme $reposreadme The Readme Class. + * @param Placeholder $placeholder The Placeholder Class. + * @param Event $event The EventInterface Class. * * @since 3.2.0 */ - public function __construct(?Config $config = null, ?Power $power = null, ?Content $content = null, - ?Autoloader $autoloader = null, ?Parser $parser = null, ?RepoReadme $reporeadme = null, - ?ReposReadme $reposreadme = null, ?Placeholder $placeholder = null, ?Event $event = null) + public function __construct(Config $config, Power $power, Content $content, + Contents $contents, Autoloader $autoloader, + Parser $parser, RepoReadme $reporeadme, + ReposReadme $reposreadme, Placeholder $placeholder, + Event $event) { - $this->config = $config ?: Compiler::_('Config'); - $this->power = $power ?: Compiler::_('Power'); - $this->content = $content ?: Compiler::_('Content'); - $this->autoloader = $autoloader ?: Compiler::_('Power.Autoloader'); - $this->parser = $parser ?: Compiler::_('Power.Parser'); - $this->reporeadme = $reporeadme ?: Compiler::_('Power.Repo.Readme'); - $this->reposreadme = $reposreadme ?: Compiler::_('Power.Repos.Readme'); - $this->placeholder = $placeholder ?: Compiler::_('Placeholder'); - $this->event = $event ?: Compiler::_('Event'); + $this->config = $config; + $this->power = $power; + $this->content = $content; + $this->contents = $contents; + $this->autoloader = $autoloader; + $this->parser = $parser; + $this->reporeadme = $reporeadme; + $this->reposreadme = $reposreadme; + $this->placeholder = $placeholder; + $this->event = $event; } /** @@ -164,7 +176,7 @@ // only parse those approved if ($power->approved == 1) { - $power->main_class_code = $this->placeholder->update($power->main_class_code, $this->content->active); + $power->main_class_code = $this->placeholder->update($power->main_class_code, $this->content->allActive()); $power->parsed_class_code = $this->parser->code($power->main_class_code); } } @@ -203,13 +215,13 @@ } // POWERREADME - $this->content->set_($key, 'POWERREADME', $this->reposreadme->get($powers)); + $this->contents->set("{$key}|POWERREADME", $this->reposreadme->get($powers)); // sort all powers $this->sortPowers($powers); // POWERINDEX - $this->content->set_($key, 'POWERINDEX', $this->index($powers)); + $this->contents->set("{$key}|POWERINDEX", $this->index($powers)); // Trigger Event: jcb_ce_onAfterInfuseSuperPowerDetails $this->event->trigger( @@ -273,16 +285,16 @@ ); // POWERCODE - $this->content->set_($power->key, 'POWERCODE', $this->code($power)); + $this->contents->set("{$power->key}|POWERCODE", $this->code($power)); // CODEPOWER - $this->content->set_($power->key, 'CODEPOWER', $this->raw($power)); + $this->contents->set("{$power->key}|CODEPOWER", $this->raw($power)); // POWERLINKER - $this->content->set_($power->key, 'POWERLINKER', $this->linker($power)); + $this->contents->set("{$power->key}|POWERLINKER", $this->linker($power)); // POWERLINKER - $this->content->set_($power->key, 'POWERREADME', $this->reporeadme->get($power)); + $this->contents->set("{$power->key}|POWERREADME", $this->reporeadme->get($power)); // Trigger Event: jcb_ce_onAfterInfusePowerData $this->event->trigger( @@ -369,7 +381,7 @@ $code[] = '}' . PHP_EOL; - return $this->placeholder->update(implode(PHP_EOL, $code), $this->content->active); + return $this->placeholder->update(implode(PHP_EOL, $code), $this->content->allActive()); } /** @@ -412,4 +424,4 @@ } return json_encode($linker, JSON_PRETTY_PRINT); - } + } \ No newline at end of file diff --git a/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/settings.json b/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/settings.json index bff3ade..ca6ad12 100644 --- a/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/settings.json +++ b/src/0419081e-4cb3-4c65-8c6a-ffe941fb0f1c/settings.json @@ -11,20 +11,20 @@ "type": "class", "use_selection": { "use_selection0": { - "use": "d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac", - "as": "Compiler" - }, - "use_selection1": { "use": "fa4bf18e-301e-42e3-91fb-6e0096c07adc", "as": "default" }, - "use_selection2": { + "use_selection1": { "use": "b836c1b1-b6b1-44f7-b8a2-9a763a4185b1", "as": "default" }, - "use_selection3": { + "use_selection2": { "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", - "as": "default" + "as": "Content" + }, + "use_selection3": { + "use": "5f57ff1a-c196-45b1-a2ac-33766b44fb95", + "as": "Contents" }, "use_selection4": { "use": "6e64917c-d687-4ef3-a655-811319f5a81e", diff --git a/src/053803e6-1251-4aed-aefe-46a8e84198d2/code.php b/src/053803e6-1251-4aed-aefe-46a8e84198d2/code.php index 6936554..f4eac22 100644 --- a/src/053803e6-1251-4aed-aefe-46a8e84198d2/code.php +++ b/src/053803e6-1251-4aed-aefe-46a8e84198d2/code.php @@ -279,7 +279,7 @@ class Paths // set the lang key $this->extractor->langKeys[strtoupper($module->folder_name)] = - $module->id . '_M0dU|3'; + $module->id . '_M0dUl3'; // return the path if ($module->target == 2) @@ -406,7 +406,7 @@ class Paths // set the lang key $this->extractor->langKeys['PLG_' . strtoupper( $plugin->group . '_' . $plugin->file_name - )] = $plugin->id . '_P|uG!n'; + )] = $plugin->id . '_pLuG!n'; // return the path return $plugin->group . '/' . $plugin->file_name; diff --git a/src/053803e6-1251-4aed-aefe-46a8e84198d2/code.power b/src/053803e6-1251-4aed-aefe-46a8e84198d2/code.power index 97bcc8e..a2a75ad 100644 --- a/src/053803e6-1251-4aed-aefe-46a8e84198d2/code.power +++ b/src/053803e6-1251-4aed-aefe-46a8e84198d2/code.power @@ -244,7 +244,7 @@ // set the lang key $this->extractor->langKeys[strtoupper($module->folder_name)] = - $module->id . '_M0dU|3'; + $module->id . '_M0dUl3'; // return the path if ($module->target == 2) @@ -371,7 +371,7 @@ // set the lang key $this->extractor->langKeys['PLG_' . strtoupper( $plugin->group . '_' . $plugin->file_name - )] = $plugin->id . '_P|uG!n'; + )] = $plugin->id . '_pLuG!n'; // return the path return $plugin->group . '/' . $plugin->file_name; diff --git a/src/0b45357f-b077-4337-92f3-65c1e19d36cd/README.md b/src/0b45357f-b077-4337-92f3-65c1e19d36cd/README.md index 3876ed8..f62c16f 100644 --- a/src/0b45357f-b077-4337-92f3-65c1e19d36cd/README.md +++ b/src/0b45357f-b077-4337-92f3-65c1e19d36cd/README.md @@ -8,7 +8,7 @@ ``` # final class HiddenFields (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class HiddenFields << (F,LightGreen) >> #RoyalBlue { diff --git a/src/0b45357f-b077-4337-92f3-65c1e19d36cd/code.php b/src/0b45357f-b077-4337-92f3-65c1e19d36cd/code.php index 3cf84a5..bfef415 100644 --- a/src/0b45357f-b077-4337-92f3-65c1e19d36cd/code.php +++ b/src/0b45357f-b077-4337-92f3-65c1e19d36cd/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\ToString; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\ToString; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class HiddenFields extends StorageRegistry implements Storageregistryinterface +final class HiddenFields extends Registry implements Registryinterface { /** * To String Values diff --git a/src/0d8db719-39a6-48b4-85a6-2f97e784e588/README.md b/src/0d8db719-39a6-48b4-85a6-2f97e784e588/README.md index 895f512..87e2db7 100644 --- a/src/0d8db719-39a6-48b4-85a6-2f97e784e588/README.md +++ b/src/0d8db719-39a6-48b4-85a6-2f97e784e588/README.md @@ -8,7 +8,7 @@ ``` # final class DatabaseKeys (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class DatabaseKeys << (F,LightGreen) >> #RoyalBlue { diff --git a/src/0d8db719-39a6-48b4-85a6-2f97e784e588/code.php b/src/0d8db719-39a6-48b4-85a6-2f97e784e588/code.php index 8c60368..e9496c5 100644 --- a/src/0d8db719-39a6-48b4-85a6-2f97e784e588/code.php +++ b/src/0d8db719-39a6-48b4-85a6-2f97e784e588/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class DatabaseKeys extends StorageRegistry implements Storageregistryinterface +final class DatabaseKeys extends Registry implements Registryinterface { } diff --git a/src/0d9d3294-0bed-4c44-b1a1-e172f62cafb2/README.md b/src/0d9d3294-0bed-4c44-b1a1-e172f62cafb2/README.md index f38ccfa..f9f08f0 100644 --- a/src/0d9d3294-0bed-4c44-b1a1-e172f62cafb2/README.md +++ b/src/0d9d3294-0bed-4c44-b1a1-e172f62cafb2/README.md @@ -8,7 +8,7 @@ ``` # final class DoNotEscape (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class DoNotEscape << (F,LightGreen) >> #RoyalBlue { diff --git a/src/0d9d3294-0bed-4c44-b1a1-e172f62cafb2/code.php b/src/0d9d3294-0bed-4c44-b1a1-e172f62cafb2/code.php index ea9b7c3..020475d 100644 --- a/src/0d9d3294-0bed-4c44-b1a1-e172f62cafb2/code.php +++ b/src/0d9d3294-0bed-4c44-b1a1-e172f62cafb2/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class DoNotEscape extends StorageRegistry implements Storageregistryinterface +final class DoNotEscape extends Registry implements Registryinterface { } diff --git a/src/0f141480-afe6-41fb-996c-2a4e566a2f0d/README.md b/src/0f141480-afe6-41fb-996c-2a4e566a2f0d/README.md index 104d2e0..3b71271 100644 --- a/src/0f141480-afe6-41fb-996c-2a4e566a2f0d/README.md +++ b/src/0f141480-afe6-41fb-996c-2a4e566a2f0d/README.md @@ -8,7 +8,7 @@ ``` # final class NewPublishingFields (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class NewPublishingFields << (F,LightGreen) >> #RoyalBlue { diff --git a/src/0f141480-afe6-41fb-996c-2a4e566a2f0d/code.php b/src/0f141480-afe6-41fb-996c-2a4e566a2f0d/code.php index 31ea8c4..c32d4db 100644 --- a/src/0f141480-afe6-41fb-996c-2a4e566a2f0d/code.php +++ b/src/0f141480-afe6-41fb-996c-2a4e566a2f0d/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\Count; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\Count; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class NewPublishingFields extends StorageRegistry implements Storageregistryinterface +final class NewPublishingFields extends Registry implements Registryinterface { /** * Count Values diff --git a/src/17bf80af-3609-4f36-a520-be1a339c278b/README.md b/src/17bf80af-3609-4f36-a520-be1a339c278b/README.md index 46dc7da..937b57d 100644 --- a/src/17bf80af-3609-4f36-a520-be1a339c278b/README.md +++ b/src/17bf80af-3609-4f36-a520-be1a339c278b/README.md @@ -8,7 +8,7 @@ ``` # final class ScriptMediaSwitch (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ScriptMediaSwitch << (F,LightGreen) >> #RoyalBlue { diff --git a/src/17bf80af-3609-4f36-a520-be1a339c278b/code.php b/src/17bf80af-3609-4f36-a520-be1a339c278b/code.php index 34986b3..338aa80 100644 --- a/src/17bf80af-3609-4f36-a520-be1a339c278b/code.php +++ b/src/17bf80af-3609-4f36-a520-be1a339c278b/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\InArray; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\InArray; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ScriptMediaSwitch extends StorageRegistry implements Storageregistryinterface +final class ScriptMediaSwitch extends Registry implements Registryinterface { /** * In Array diff --git a/src/17fa7789-a7d1-465e-b733-8c8d53f5ca1b/README.md b/src/17fa7789-a7d1-465e-b733-8c8d53f5ca1b/README.md index 5ed0334..e81dab4 100644 --- a/src/17fa7789-a7d1-465e-b733-8c8d53f5ca1b/README.md +++ b/src/17fa7789-a7d1-465e-b733-8c8d53f5ca1b/README.md @@ -8,7 +8,7 @@ ``` # final class SiteMainGet (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class SiteMainGet << (F,LightGreen) >> #RoyalBlue { diff --git a/src/17fa7789-a7d1-465e-b733-8c8d53f5ca1b/code.php b/src/17fa7789-a7d1-465e-b733-8c8d53f5ca1b/code.php index b4cdf86..0f5329d 100644 --- a/src/17fa7789-a7d1-465e-b733-8c8d53f5ca1b/code.php +++ b/src/17fa7789-a7d1-465e-b733-8c8d53f5ca1b/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class SiteMainGet extends StorageRegistry implements Storageregistryinterface +final class SiteMainGet extends Registry implements Registryinterface { } diff --git a/src/1ae9a8e8-59f7-4844-a08d-9a4dce4be076/README.md b/src/1ae9a8e8-59f7-4844-a08d-9a4dce4be076/README.md index cf3b30d..b8889eb 100644 --- a/src/1ae9a8e8-59f7-4844-a08d-9a4dce4be076/README.md +++ b/src/1ae9a8e8-59f7-4844-a08d-9a4dce4be076/README.md @@ -8,7 +8,7 @@ ``` # final class DynamicFields (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class DynamicFields << (F,LightGreen) >> #RoyalBlue { diff --git a/src/1ae9a8e8-59f7-4844-a08d-9a4dce4be076/code.php b/src/1ae9a8e8-59f7-4844-a08d-9a4dce4be076/code.php index c550cc1..df3982e 100644 --- a/src/1ae9a8e8-59f7-4844-a08d-9a4dce4be076/code.php +++ b/src/1ae9a8e8-59f7-4844-a08d-9a4dce4be076/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\ToString; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\ToString; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class DynamicFields extends StorageRegistry implements Storageregistryinterface +final class DynamicFields extends Registry implements Registryinterface { /** * To String Values diff --git a/src/1f086665-c007-4085-b363-3a118659ff1b/README.md b/src/1f086665-c007-4085-b363-3a118659ff1b/README.md index 8eddbb2..c538b97 100644 --- a/src/1f086665-c007-4085-b363-3a118659ff1b/README.md +++ b/src/1f086665-c007-4085-b363-3a118659ff1b/README.md @@ -8,7 +8,7 @@ ``` # final class ItemsMethodEximportString (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ItemsMethodEximportString << (F,LightGreen) >> #RoyalBlue { diff --git a/src/1f086665-c007-4085-b363-3a118659ff1b/code.php b/src/1f086665-c007-4085-b363-3a118659ff1b/code.php index c51672d..ac0e171 100644 --- a/src/1f086665-c007-4085-b363-3a118659ff1b/code.php +++ b/src/1f086665-c007-4085-b363-3a118659ff1b/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ItemsMethodEximportString extends StorageRegistry implements Storageregistryinterface +final class ItemsMethodEximportString extends Registry implements Registryinterface { } diff --git a/src/202f748a-516b-4782-962e-ac9725c3cac4/README.md b/src/202f748a-516b-4782-962e-ac9725c3cac4/README.md index 3885f07..303f119 100644 --- a/src/202f748a-516b-4782-962e-ac9725c3cac4/README.md +++ b/src/202f748a-516b-4782-962e-ac9725c3cac4/README.md @@ -8,7 +8,7 @@ ``` # final class CustomList (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class CustomList << (F,LightGreen) >> #RoyalBlue { diff --git a/src/202f748a-516b-4782-962e-ac9725c3cac4/code.php b/src/202f748a-516b-4782-962e-ac9725c3cac4/code.php index d8edc7c..d2eb0ff 100644 --- a/src/202f748a-516b-4782-962e-ac9725c3cac4/code.php +++ b/src/202f748a-516b-4782-962e-ac9725c3cac4/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class CustomList extends StorageRegistry implements Storageregistryinterface +final class CustomList extends Registry implements Registryinterface { } diff --git a/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.php b/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.php deleted file mode 100644 index 8860641..0000000 --- a/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.php +++ /dev/null @@ -1,55 +0,0 @@ - - * @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\Compiler\Service; - - -use Joomla\DI\Container; -use Joomla\DI\ServiceProviderInterface; -use VDM\Joomla\Componentbuilder\Compiler\Content; - - -/** - * Mapper Service Provider - * - * @since 3.2.0 - */ -class Mapper implements ServiceProviderInterface -{ - /** - * Registers the service provider with a DI container. - * - * @param Container $container The DI container. - * - * @return void - * @since 3.2.0 - */ - public function register(Container $container) - { - $container->alias(Content::class, 'Content') - ->share('Content', [$this, 'getContent'], true); - } - - /** - * Get the Compiler Content - * - * @param Container $container The DI container. - * - * @return Content - * @since 3.2.0 - */ - public function getContent(Container $container): Content - { - return new Content(); - } - -} - diff --git a/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.power b/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.power deleted file mode 100644 index bba0993..0000000 --- a/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/code.power +++ /dev/null @@ -1,26 +0,0 @@ - /** - * Registers the service provider with a DI container. - * - * @param Container $container The DI container. - * - * @return void - * @since 3.2.0 - */ - public function register(Container $container) - { - $container->alias(Content::class, 'Content') - ->share('Content', [$this, 'getContent'], true); - } - - /** - * Get the Compiler Content - * - * @param Container $container The DI container. - * - * @return Content - * @since 3.2.0 - */ - public function getContent(Container $container): Content - { - return new Content(); - } diff --git a/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/README.md b/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/README.md index 738deec..0e8ccbb 100644 --- a/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/README.md +++ b/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/README.md @@ -8,26 +8,17 @@ ``` # final class PermissionAction (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **MapperDouble** +> extends: **Registry** ```uml @startuml class PermissionAction << (F,LightGreen) >> #RoyalBlue { - # firstKey(string $key) : string - # secondKey(string $key) : string + + __construct() } -note right of PermissionAction::firstKey - Model the first key +note right of PermissionAction::__construct + Constructor. since: 3.2.0 - return: string -end note - -note right of PermissionAction::secondKey - Model the second key - - since: 3.2.0 - return: string end note @enduml diff --git a/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/code.php b/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/code.php index 71a5150..401795b 100644 --- a/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/code.php +++ b/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Componentbuilder\Interfaces\Mapperdoubleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,32 +21,16 @@ use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; * * @since 3.2.0 */ -final class PermissionAction extends MapperDouble implements Mapperdoubleinterface +final class PermissionAction extends Registry implements Registryinterface { /** - * Model the first key + * Constructor. * - * @param string $key The first key to model - * - * @return string * @since 3.2.0 */ - protected function firstKey(string $key): string + public function __construct() { - return $key; - } - - /** - * Model the second key - * - * @param string $key The second key to model - * - * @return string - * @since 3.2.0 - */ - protected function secondKey(string $key): string - { - return $key; + $this->setSeparator('|'); } } diff --git a/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/code.power b/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/code.power index 2fc53e5..b096981 100644 --- a/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/code.power +++ b/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/code.power @@ -1,25 +1,9 @@ /** - * Model the first key + * Constructor. * - * @param string $key The first key to model - * - * @return string * @since 3.2.0 */ - protected function firstKey(string $key): string + public function __construct() { - return $key; - } - - /** - * Model the second key - * - * @param string $key The second key to model - * - * @return string - * @since 3.2.0 - */ - protected function secondKey(string $key): string - { - return $key; + $this->setSeparator('|'); } \ No newline at end of file diff --git a/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/settings.json b/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/settings.json index e62b2e4..b3822a6 100644 --- a/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/settings.json +++ b/src/2528f2bb-6ebc-4d55-9a9d-23ef58534c1a/settings.json @@ -1,10 +1,10 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "4d4e76e9-12d9-4d19-b58c-b88974b2586a", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "2528f2bb-6ebc-4d55-9a9d-23ef58534c1a", "implements": [ - "fbc58009-fa16-4d49-a0dd-419c3b62d42f" + "64e291c2-11f1-423d-a44d-837cc12cc017" ], "load_selection": null, "name": "PermissionAction", diff --git a/src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.php b/src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.php index 3055b6f..31824f6 100644 --- a/src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.php +++ b/src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.php @@ -77,7 +77,7 @@ class Library implements ServiceProviderInterface $container->get('Registry'), $container->get('Event'), $container->get('Component'), - $container->get('Content'), + $container->get('Compiler.Builder.Content.One'), $container->get('Utilities.Counter'), $container->get('Utilities.Paths'), $container->get('Utilities.Folder'), diff --git a/src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.power b/src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.power index 3b6c154..7e6be64 100644 --- a/src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.power +++ b/src/253317c7-3c3b-48a0-aec8-8af5e7a86504/code.power @@ -50,7 +50,7 @@ $container->get('Registry'), $container->get('Event'), $container->get('Component'), - $container->get('Content'), + $container->get('Compiler.Builder.Content.One'), $container->get('Utilities.Counter'), $container->get('Utilities.Paths'), $container->get('Utilities.Folder'), diff --git a/src/28cac2bb-df04-454f-b4d6-923b573eb94e/README.md b/src/28cac2bb-df04-454f-b4d6-923b573eb94e/README.md index 7215d3a..90effcd 100644 --- a/src/28cac2bb-df04-454f-b4d6-923b573eb94e/README.md +++ b/src/28cac2bb-df04-454f-b4d6-923b573eb94e/README.md @@ -8,7 +8,7 @@ ``` # final class ModelWhmcsField (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ModelWhmcsField << (F,LightGreen) >> #RoyalBlue { diff --git a/src/28cac2bb-df04-454f-b4d6-923b573eb94e/code.php b/src/28cac2bb-df04-454f-b4d6-923b573eb94e/code.php index 43e4bc5..0994220 100644 --- a/src/28cac2bb-df04-454f-b4d6-923b573eb94e/code.php +++ b/src/28cac2bb-df04-454f-b4d6-923b573eb94e/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ModelWhmcsField extends StorageRegistry implements Storageregistryinterface +final class ModelWhmcsField extends Registry implements Registryinterface { } diff --git a/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/README.md b/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/README.md index 66b9794..d08b1ad 100644 --- a/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/README.md +++ b/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/README.md @@ -8,18 +8,18 @@ ``` # class UpdateMysql (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **MapperSingle** +> extends: **Registry** ```uml @startuml class UpdateMysql #Gold { - # key(string $key) : string + # getActiveKeys(string $path) : ?array } -note right of UpdateMysql::key - Model the key +note right of UpdateMysql::getActiveKeys + Get that the active keys from a path since: 3.2.0 - return: string + return: ?array end note @enduml diff --git a/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.php b/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.php index 03bf577..431383d 100644 --- a/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.php +++ b/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.php @@ -12,8 +12,7 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Componentbuilder\Interfaces\Mappersingleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\MapperSingle; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,20 +20,24 @@ use VDM\Joomla\Componentbuilder\Abstraction\MapperSingle; * * @since 3.2.0 */ -class UpdateMysql extends MapperSingle implements Mappersingleinterface +class UpdateMysql extends Registry { /** - * Model the key + * Get that the active keys from a path * - * @param string $key The key to model + * @param string $path The path to determine the location. * - * @return string + * @return array|null The valid array of keys * @since 3.2.0 */ - protected function key(string $key): string + protected function getActiveKeys(string $path): ?array { - return preg_replace('/\s+/', '', $key); - } - + if (!empty($path)) + { + return [preg_replace('/\s+/', '', $path)]; + } + + return null; + } } diff --git a/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.power b/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.power index 4446ed9..5da3a86 100644 --- a/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.power +++ b/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/code.power @@ -1,12 +1,17 @@ /** - * Model the key + * Get that the active keys from a path * - * @param string $key The key to model + * @param string $path The path to determine the location. * - * @return string + * @return array|null The valid array of keys * @since 3.2.0 */ - protected function key(string $key): string + protected function getActiveKeys(string $path): ?array { - return preg_replace('/\s+/', '', $key); - } + if (!empty($path)) + { + return [preg_replace('/\s+/', '', $path)]; + } + + return null; + } \ No newline at end of file diff --git a/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/settings.json b/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/settings.json index 9346e15..9fdde72 100644 --- a/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/settings.json +++ b/src/2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9/settings.json @@ -1,11 +1,9 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "c6bbc3ee-58e7-4463-adba-5c5ae839ee36", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9", - "implements": [ - "78527c29-24ad-4735-ad4c-ec33a4952d9b" - ], + "implements": null, "load_selection": null, "name": "UpdateMysql", "power_version": "1.0.0", diff --git a/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/README.md b/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/README.md index e0ef6f8..4eeac6f 100644 --- a/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/README.md +++ b/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/README.md @@ -22,6 +22,8 @@ class Builder #Gold { + getCategoryOtherName(Container $container) : CategoryOtherName + getCheckBox(Container $container) : CheckBox + getComponentFields(Container $container) : ComponentFields + + getContentMulti(Container $container) : ContentMulti + + getContentOne(Container $container) : ContentOne + getCustomAlias(Container $container) : CustomAlias + getCustomField(Container $container) : CustomField + getCustomFieldLinks(Container $container) : CustomFieldLinks @@ -178,6 +180,20 @@ note right of Builder::getComponentFields return: ComponentFields end note +note left of Builder::getContentMulti + Get The ContentMulti Class. + + since: 3.2.0 + return: ContentMulti +end note + +note right of Builder::getContentOne + Get The ContentOne Class. + + since: 3.2.0 + return: ContentOne +end note + note left of Builder::getCustomAlias Get The CustomAlias Class. diff --git a/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/code.php b/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/code.php index 374bb34..8e5f735 100644 --- a/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/code.php +++ b/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/code.php @@ -24,6 +24,8 @@ use VDM\Joomla\Componentbuilder\Compiler\Builder\CategoryCode; use VDM\Joomla\Componentbuilder\Compiler\Builder\CategoryOtherName; use VDM\Joomla\Componentbuilder\Compiler\Builder\CheckBox; use VDM\Joomla\Componentbuilder\Compiler\Builder\ComponentFields; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentMulti; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentOne; use VDM\Joomla\Componentbuilder\Compiler\Builder\CustomAlias; use VDM\Joomla\Componentbuilder\Compiler\Builder\CustomField; use VDM\Joomla\Componentbuilder\Compiler\Builder\CustomFieldLinks; @@ -110,1407 +112,1439 @@ use VDM\Joomla\Componentbuilder\Compiler\Builder\UpdateMysql; */ class Builder implements ServiceProviderInterface { - /** - * Registers the service provider with a DI container. - * - * @param Container $container The DI container. - * - * @return void - * @since 3.2.0 - */ - public function register(Container $container) - { - $container->alias(AccessSwitch::class, 'Compiler.Builder.Access.Switch') - ->share('Compiler.Builder.Access.Switch', [$this, 'getAccessSwitch'], true); - - $container->alias(AccessSwitchList::class, 'Compiler.Builder.Access.Switch.List') - ->share('Compiler.Builder.Access.Switch.List', [$this, 'getAccessSwitchList'], true); - - $container->alias(AdminFilterType::class, 'Compiler.Builder.Admin.Filter.Type') - ->share('Compiler.Builder.Admin.Filter.Type', [$this, 'getAdminFilterType'], true); - - $container->alias(Alias::class, 'Compiler.Builder.Alias') - ->share('Compiler.Builder.Alias', [$this, 'getAlias'], true); - - $container->alias(BaseSixFour::class, 'Compiler.Builder.Base.Six.Four') - ->share('Compiler.Builder.Base.Six.Four', [$this, 'getBaseSixFour'], true); - - $container->alias(Category::class, 'Compiler.Builder.Category') - ->share('Compiler.Builder.Category', [$this, 'getCategory'], true); - - $container->alias(CategoryCode::class, 'Compiler.Builder.Category.Code') - ->share('Compiler.Builder.Category.Code', [$this, 'getCategoryCode'], true); - - $container->alias(CategoryOtherName::class, 'Compiler.Builder.Category.Other.Name') - ->share('Compiler.Builder.Category.Other.Name', [$this, 'getCategoryOtherName'], true); - - $container->alias(CheckBox::class, 'Compiler.Builder.Check.Box') - ->share('Compiler.Builder.Check.Box', [$this, 'getCheckBox'], true); - - $container->alias(ComponentFields::class, 'Compiler.Builder.Component.Fields') - ->share('Compiler.Builder.Component.Fields', [$this, 'getComponentFields'], true); - - $container->alias(CustomAlias::class, 'Compiler.Builder.Custom.Alias') - ->share('Compiler.Builder.Custom.Alias', [$this, 'getCustomAlias'], true); - - $container->alias(CustomField::class, 'Compiler.Builder.Custom.Field') - ->share('Compiler.Builder.Custom.Field', [$this, 'getCustomField'], true); - - $container->alias(CustomFieldLinks::class, 'Compiler.Builder.Custom.Field.Links') - ->share('Compiler.Builder.Custom.Field.Links', [$this, 'getCustomFieldLinks'], true); - - $container->alias(CustomList::class, 'Compiler.Builder.Custom.List') - ->share('Compiler.Builder.Custom.List', [$this, 'getCustomList'], true); - - $container->alias(CustomTabs::class, 'Compiler.Builder.Custom.Tabs') - ->share('Compiler.Builder.Custom.Tabs', [$this, 'getCustomTabs'], true); - - $container->alias(DatabaseKeys::class, 'Compiler.Builder.Database.Keys') - ->share('Compiler.Builder.Database.Keys', [$this, 'getDatabaseKeys'], true); - - $container->alias(DatabaseTables::class, 'Compiler.Builder.Database.Tables') - ->share('Compiler.Builder.Database.Tables', [$this, 'getDatabaseTables'], true); - - $container->alias(DatabaseUniqueGuid::class, 'Compiler.Builder.Database.Unique.Guid') - ->share('Compiler.Builder.Database.Unique.Guid', [$this, 'getDatabaseUniqueGuid'], true); - - $container->alias(DatabaseUniqueKeys::class, 'Compiler.Builder.Database.Unique.Keys') - ->share('Compiler.Builder.Database.Unique.Keys', [$this, 'getDatabaseUniqueKeys'], true); - - $container->alias(DoNotEscape::class, 'Compiler.Builder.Do.Not.Escape') - ->share('Compiler.Builder.Do.Not.Escape', [$this, 'getDoNotEscape'], true); - - $container->alias(DynamicFields::class, 'Compiler.Builder.Dynamic.Fields') - ->share('Compiler.Builder.Dynamic.Fields', [$this, 'getDynamicFields'], true); - - $container->alias(ExtensionCustomFields::class, 'Compiler.Builder.Extension.Custom.Fields') - ->share('Compiler.Builder.Extension.Custom.Fields', [$this, 'getExtensionCustomFields'], true); - - $container->alias(FieldGroupControl::class, 'Compiler.Builder.Field.Group.Control') - ->share('Compiler.Builder.Field.Group.Control', [$this, 'getFieldGroupControl'], true); - - $container->alias(FieldNames::class, 'Compiler.Builder.Field.Names') - ->share('Compiler.Builder.Field.Names', [$this, 'getFieldNames'], true); - - $container->alias(FieldRelations::class, 'Compiler.Builder.Field.Relations') - ->share('Compiler.Builder.Field.Relations', [$this, 'getFieldRelations'], true); - - $container->alias(Filter::class, 'Compiler.Builder.Filter') - ->share('Compiler.Builder.Filter', [$this, 'getFilter'], true); - - $container->alias(FootableScripts::class, 'Compiler.Builder.Footable.Scripts') - ->share('Compiler.Builder.Footable.Scripts', [$this, 'getFootableScripts'], true); - - $container->alias(GetAsLookup::class, 'Compiler.Builder.Get.As.Lookup') - ->share('Compiler.Builder.Get.As.Lookup', [$this, 'getGetAsLookup'], true); - - $container->alias(GetModule::class, 'Compiler.Builder.Get.Module') - ->share('Compiler.Builder.Get.Module', [$this, 'getGetModule'], true); - - $container->alias(GoogleChart::class, 'Compiler.Builder.Google.Chart') - ->share('Compiler.Builder.Google.Chart', [$this, 'getGoogleChart'], true); - - $container->alias(HasPermissions::class, 'Compiler.Builder.Has.Permissions') - ->share('Compiler.Builder.Has.Permissions', [$this, 'getHasPermissions'], true); - - $container->alias(HiddenFields::class, 'Compiler.Builder.Hidden.Fields') - ->share('Compiler.Builder.Hidden.Fields', [$this, 'getHiddenFields'], true); - - $container->alias(History::class, 'Compiler.Builder.History') - ->share('Compiler.Builder.History', [$this, 'getHistory'], true); - - $container->alias(IntegerFields::class, 'Compiler.Builder.Integer.Fields') - ->share('Compiler.Builder.Integer.Fields', [$this, 'getIntegerFields'], true); - - $container->alias(ItemsMethodEximportString::class, 'Compiler.Builder.Items.Method.Eximport.String') - ->share('Compiler.Builder.Items.Method.Eximport.String', [$this, 'getItemsMethodEximportString'], true); - - $container->alias(ItemsMethodListString::class, 'Compiler.Builder.Items.Method.List.String') - ->share('Compiler.Builder.Items.Method.List.String', [$this, 'getItemsMethodListString'], true); - - $container->alias(JsonItem::class, 'Compiler.Builder.Json.Item') - ->share('Compiler.Builder.Json.Item', [$this, 'getJsonItem'], true); - - $container->alias(JsonItemArray::class, 'Compiler.Builder.Json.Item.Array') - ->share('Compiler.Builder.Json.Item.Array', [$this, 'getJsonItemArray'], true); - - $container->alias(JsonString::class, 'Compiler.Builder.Json.String') - ->share('Compiler.Builder.Json.String', [$this, 'getJsonString'], true); - - $container->alias(Layout::class, 'Compiler.Builder.Layout') - ->share('Compiler.Builder.Layout', [$this, 'getLayout'], true); - - $container->alias(LayoutData::class, 'Compiler.Builder.Layout.Data') - ->share('Compiler.Builder.Layout.Data', [$this, 'getLayoutData'], true); - - $container->alias(LibraryManager::class, 'Compiler.Builder.Library.Manager') - ->share('Compiler.Builder.Library.Manager', [$this, 'getLibraryManager'], true); - - $container->alias(ListFieldClass::class, 'Compiler.Builder.List.Field.Class') - ->share('Compiler.Builder.List.Field.Class', [$this, 'getListFieldClass'], true); - - $container->alias(ListHeadOverride::class, 'Compiler.Builder.List.Head.Override') - ->share('Compiler.Builder.List.Head.Override', [$this, 'getListHeadOverride'], true); - - $container->alias(ListJoin::class, 'Compiler.Builder.List.Join') - ->share('Compiler.Builder.List.Join', [$this, 'getListJoin'], true); - - $container->alias(Lists::class, 'Compiler.Builder.Lists') - ->share('Compiler.Builder.Lists', [$this, 'getLists'], true); - - $container->alias(MainTextField::class, 'Compiler.Builder.Main.Text.Field') - ->share('Compiler.Builder.Main.Text.Field', [$this, 'getMainTextField'], true); - - $container->alias(MetaData::class, 'Compiler.Builder.Meta.Data') - ->share('Compiler.Builder.Meta.Data', [$this, 'getMetaData'], true); - - $container->alias(ModelBasicField::class, 'Compiler.Builder.Model.Basic.Field') - ->share('Compiler.Builder.Model.Basic.Field', [$this, 'getModelBasicField'], true); - - $container->alias(ModelExpertField::class, 'Compiler.Builder.Model.Expert.Field') - ->share('Compiler.Builder.Model.Expert.Field', [$this, 'getModelExpertField'], true); - - $container->alias(ModelExpertFieldInitiator::class, 'Compiler.Builder.Model.Expert.Field.Initiator') - ->share('Compiler.Builder.Model.Expert.Field.Initiator', [$this, 'getModelExpertFieldInitiator'], true); - - $container->alias(ModelMediumField::class, 'Compiler.Builder.Model.Medium.Field') - ->share('Compiler.Builder.Model.Medium.Field', [$this, 'getModelMediumField'], true); - - $container->alias(ModelWhmcsField::class, 'Compiler.Builder.Model.Whmcs.Field') - ->share('Compiler.Builder.Model.Whmcs.Field', [$this, 'getModelWhmcsField'], true); - - $container->alias(MovedPublishingFields::class, 'Compiler.Builder.Moved.Publishing.Fields') - ->share('Compiler.Builder.Moved.Publishing.Fields', [$this, 'getMovedPublishingFields'], true); - - $container->alias(MysqlTableSetting::class, 'Compiler.Builder.Mysql.Table.Setting') - ->share('Compiler.Builder.Mysql.Table.Setting', [$this, 'getMysqlTableSetting'], true); - - $container->alias(NewPublishingFields::class, 'Compiler.Builder.New.Publishing.Fields') - ->share('Compiler.Builder.New.Publishing.Fields', [$this, 'getNewPublishingFields'], true); - - $container->alias(OrderZero::class, 'Compiler.Builder.Order.Zero') - ->share('Compiler.Builder.Order.Zero', [$this, 'getOrderZero'], true); - - $container->alias(OtherFilter::class, 'Compiler.Builder.Other.Filter') - ->share('Compiler.Builder.Other.Filter', [$this, 'getOtherFilter'], true); - - $container->alias(OtherGroup::class, 'Compiler.Builder.Other.Group') - ->share('Compiler.Builder.Other.Group', [$this, 'getOtherGroup'], true); - - $container->alias(OtherJoin::class, 'Compiler.Builder.Other.Join') - ->share('Compiler.Builder.Other.Join', [$this, 'getOtherJoin'], true); - - $container->alias(OtherOrder::class, 'Compiler.Builder.Other.Order') - ->share('Compiler.Builder.Other.Order', [$this, 'getOtherOrder'], true); - - $container->alias(OtherQuery::class, 'Compiler.Builder.Other.Query') - ->share('Compiler.Builder.Other.Query', [$this, 'getOtherQuery'], true); - - $container->alias(OtherWhere::class, 'Compiler.Builder.Other.Where') - ->share('Compiler.Builder.Other.Where', [$this, 'getOtherWhere'], true); - - $container->alias(PermissionAction::class, 'Compiler.Builder.Permission.Action') - ->share('Compiler.Builder.Permission.Action', [$this, 'getPermissionAction'], true); - - $container->alias(PermissionComponent::class, 'Compiler.Builder.Permission.Component') - ->share('Compiler.Builder.Permission.Component', [$this, 'getPermissionComponent'], true); - - $container->alias(PermissionCore::class, 'Compiler.Builder.Permission.Core') - ->share('Compiler.Builder.Permission.Core', [$this, 'getPermissionCore'], true); - - $container->alias(PermissionDashboard::class, 'Compiler.Builder.Permission.Dashboard') - ->share('Compiler.Builder.Permission.Dashboard', [$this, 'getPermissionDashboard'], true); - - $container->alias(PermissionGlobalAction::class, 'Compiler.Builder.Permission.Global.Action') - ->share('Compiler.Builder.Permission.Global.Action', [$this, 'getPermissionGlobalAction'], true); - - $container->alias(PermissionViews::class, 'Compiler.Builder.Permission.Views') - ->share('Compiler.Builder.Permission.Views', [$this, 'getPermissionViews'], true); - - $container->alias(ScriptMediaSwitch::class, 'Compiler.Builder.Script.Media.Switch') - ->share('Compiler.Builder.Script.Media.Switch', [$this, 'getScriptMediaSwitch'], true); - - $container->alias(ScriptUserSwitch::class, 'Compiler.Builder.Script.User.Switch') - ->share('Compiler.Builder.Script.User.Switch', [$this, 'getScriptUserSwitch'], true); - - $container->alias(Search::class, 'Compiler.Builder.Search') - ->share('Compiler.Builder.Search', [$this, 'getSearch'], true); - - $container->alias(SelectionTranslation::class, 'Compiler.Builder.Selection.Translation') - ->share('Compiler.Builder.Selection.Translation', [$this, 'getSelectionTranslation'], true); - - $container->alias(SiteDecrypt::class, 'Compiler.Builder.Site.Decrypt') - ->share('Compiler.Builder.Site.Decrypt', [$this, 'getSiteDecrypt'], true); - - $container->alias(SiteDynamicGet::class, 'Compiler.Builder.Site.Dynamic.Get') - ->share('Compiler.Builder.Site.Dynamic.Get', [$this, 'getSiteDynamicGet'], true); - - $container->alias(SiteEditView::class, 'Compiler.Builder.Site.Edit.View') - ->share('Compiler.Builder.Site.Edit.View', [$this, 'getSiteEditView'], true); - - $container->alias(SiteFieldData::class, 'Compiler.Builder.Site.Field.Data') - ->share('Compiler.Builder.Site.Field.Data', [$this, 'getSiteFieldData'], true); - - $container->alias(SiteFieldDecodeFilter::class, 'Compiler.Builder.Site.Field.Decode.Filter') - ->share('Compiler.Builder.Site.Field.Decode.Filter', [$this, 'getSiteFieldDecodeFilter'], true); - - $container->alias(SiteFields::class, 'Compiler.Builder.Site.Fields') - ->share('Compiler.Builder.Site.Fields', [$this, 'getSiteFields'], true); - - $container->alias(SiteMainGet::class, 'Compiler.Builder.Site.Main.Get') - ->share('Compiler.Builder.Site.Main.Get', [$this, 'getSiteMainGet'], true); - - $container->alias(Sort::class, 'Compiler.Builder.Sort') - ->share('Compiler.Builder.Sort', [$this, 'getSort'], true); - - $container->alias(TabCounter::class, 'Compiler.Builder.Tab.Counter') - ->share('Compiler.Builder.Tab.Counter', [$this, 'getTabCounter'], true); - - $container->alias(Tags::class, 'Compiler.Builder.Tags') - ->share('Compiler.Builder.Tags', [$this, 'getTags'], true); - - $container->alias(TemplateData::class, 'Compiler.Builder.Template.Data') - ->share('Compiler.Builder.Template.Data', [$this, 'getTemplateData'], true); - - $container->alias(Title::class, 'Compiler.Builder.Title') - ->share('Compiler.Builder.Title', [$this, 'getTitle'], true); - - $container->alias(UikitComp::class, 'Compiler.Builder.Uikit.Comp') - ->share('Compiler.Builder.Uikit.Comp', [$this, 'getUikitComp'], true); - - $container->alias(UpdateMysql::class, 'Compiler.Builder.Update.Mysql') - ->share('Compiler.Builder.Update.Mysql', [$this, 'getUpdateMysql'], true); - } - - /** - * Get The AccessSwitch Class. - * - * @param Container $container The DI container. - * - * @return AccessSwitch - * @since 3.2.0 - */ - public function getAccessSwitch(Container $container): AccessSwitch - { - return new AccessSwitch(); - } - - /** - * Get The AccessSwitchList Class. - * - * @param Container $container The DI container. - * - * @return AccessSwitchList - * @since 3.2.0 - */ - public function getAccessSwitchList(Container $container): AccessSwitchList - { - return new AccessSwitchList(); - } - - /** - * Get The AdminFilterType Class. - * - * @param Container $container The DI container. - * - * @return AdminFilterType - * @since 3.2.0 - */ - public function getAdminFilterType(Container $container): AdminFilterType - { - return new AdminFilterType(); - } - - /** - * Get The Alias Class. - * - * @param Container $container The DI container. - * - * @return Alias - * @since 3.2.0 - */ - public function getAlias(Container $container): Alias - { - return new Alias(); - } - - /** - * Get The BaseSixFour Class. - * - * @param Container $container The DI container. - * - * @return BaseSixFour - * @since 3.2.0 - */ - public function getBaseSixFour(Container $container): BaseSixFour - { - return new BaseSixFour(); - } - - /** - * Get The Category Class. - * - * @param Container $container The DI container. - * - * @return Category - * @since 3.2.0 - */ - public function getCategory(Container $container): Category - { - return new Category(); - } - - /** - * Get The CategoryCode Class. - * - * @param Container $container The DI container. - * - * @return CategoryCode - * @since 3.2.0 - */ - public function getCategoryCode(Container $container): CategoryCode - { - return new CategoryCode(); - } - - /** - * Get The CategoryOtherName Class. - * - * @param Container $container The DI container. - * - * @return CategoryOtherName - * @since 3.2.0 - */ - public function getCategoryOtherName(Container $container): CategoryOtherName - { - return new CategoryOtherName(); - } - - /** - * Get The CheckBox Class. - * - * @param Container $container The DI container. - * - * @return CheckBox - * @since 3.2.0 - */ - public function getCheckBox(Container $container): CheckBox - { - return new CheckBox(); - } - - /** - * Get The ComponentFields Class. - * - * @param Container $container The DI container. - * - * @return ComponentFields - * @since 3.2.0 - */ - public function getComponentFields(Container $container): ComponentFields - { - return new ComponentFields(); - } - - /** - * Get The CustomAlias Class. - * - * @param Container $container The DI container. - * - * @return CustomAlias - * @since 3.2.0 - */ - public function getCustomAlias(Container $container): CustomAlias - { - return new CustomAlias(); - } - - /** - * Get The CustomField Class. - * - * @param Container $container The DI container. - * - * @return CustomField - * @since 3.2.0 - */ - public function getCustomField(Container $container): CustomField - { - return new CustomField(); - } - - /** - * Get The CustomFieldLinks Class. - * - * @param Container $container The DI container. - * - * @return CustomFieldLinks - * @since 3.2.0 - */ - public function getCustomFieldLinks(Container $container): CustomFieldLinks - { - return new CustomFieldLinks(); - } - - /** - * Get The CustomList Class. - * - * @param Container $container The DI container. - * - * @return CustomList - * @since 3.2.0 - */ - public function getCustomList(Container $container): CustomList - { - return new CustomList(); - } - - /** - * Get The CustomTabs Class. - * - * @param Container $container The DI container. - * - * @return CustomTabs - * @since 3.2.0 - */ - public function getCustomTabs(Container $container): CustomTabs - { - return new CustomTabs(); - } - - /** - * Get The DatabaseKeys Class. - * - * @param Container $container The DI container. - * - * @return DatabaseKeys - * @since 3.2.0 - */ - public function getDatabaseKeys(Container $container): DatabaseKeys - { - return new DatabaseKeys(); - } - - /** - * Get The DatabaseTables Class. - * - * @param Container $container The DI container. - * - * @return DatabaseTables - * @since 3.2.0 - */ - public function getDatabaseTables(Container $container): DatabaseTables - { - return new DatabaseTables(); - } - - /** - * Get The DatabaseUniqueGuid Class. - * - * @param Container $container The DI container. - * - * @return DatabaseUniqueGuid - * @since 3.2.0 - */ - public function getDatabaseUniqueGuid(Container $container): DatabaseUniqueGuid - { - return new DatabaseUniqueGuid(); - } - - /** - * Get The DatabaseUniqueKeys Class. - * - * @param Container $container The DI container. - * - * @return DatabaseUniqueKeys - * @since 3.2.0 - */ - public function getDatabaseUniqueKeys(Container $container): DatabaseUniqueKeys - { - return new DatabaseUniqueKeys(); - } - - /** - * Get The DoNotEscape Class. - * - * @param Container $container The DI container. - * - * @return DoNotEscape - * @since 3.2.0 - */ - public function getDoNotEscape(Container $container): DoNotEscape - { - return new DoNotEscape(); - } - - /** - * Get The DynamicFields Class. - * - * @param Container $container The DI container. - * - * @return DynamicFields - * @since 3.2.0 - */ - public function getDynamicFields(Container $container): DynamicFields - { - return new DynamicFields(); - } - - /** - * Get The ExtensionCustomFields Class. - * - * @param Container $container The DI container. - * - * @return ExtensionCustomFields - * @since 3.2.0 - */ - public function getExtensionCustomFields(Container $container): ExtensionCustomFields - { - return new ExtensionCustomFields(); - } - - /** - * Get The FieldGroupControl Class. - * - * @param Container $container The DI container. - * - * @return FieldGroupControl - * @since 3.2.0 - */ - public function getFieldGroupControl(Container $container): FieldGroupControl - { - return new FieldGroupControl(); - } - - /** - * Get The FieldNames Class. - * - * @param Container $container The DI container. - * - * @return FieldNames - * @since 3.2.0 - */ - public function getFieldNames(Container $container): FieldNames - { - return new FieldNames(); - } - - /** - * Get The FieldRelations Class. - * - * @param Container $container The DI container. - * - * @return FieldRelations - * @since 3.2.0 - */ - public function getFieldRelations(Container $container): FieldRelations - { - return new FieldRelations(); - } - - /** - * Get The Filter Class. - * - * @param Container $container The DI container. - * - * @return Filter - * @since 3.2.0 - */ - public function getFilter(Container $container): Filter - { - return new Filter(); - } - - /** - * Get The FootableScripts Class. - * - * @param Container $container The DI container. - * - * @return FootableScripts - * @since 3.2.0 - */ - public function getFootableScripts(Container $container): FootableScripts - { - return new FootableScripts(); - } - - /** - * Get The GetAsLookup Class. - * - * @param Container $container The DI container. - * - * @return GetAsLookup - * @since 3.2.0 - */ - public function getGetAsLookup(Container $container): GetAsLookup - { - return new GetAsLookup(); - } - - /** - * Get The GetModule Class. - * - * @param Container $container The DI container. - * - * @return GetModule - * @since 3.2.0 - */ - public function getGetModule(Container $container): GetModule - { - return new GetModule(); - } - - /** - * Get The GoogleChart Class. - * - * @param Container $container The DI container. - * - * @return GoogleChart - * @since 3.2.0 - */ - public function getGoogleChart(Container $container): GoogleChart - { - return new GoogleChart(); - } - - /** - * Get The HasPermissions Class. - * - * @param Container $container The DI container. - * - * @return HasPermissions - * @since 3.2.0 - */ - public function getHasPermissions(Container $container): HasPermissions - { - return new HasPermissions(); - } - - /** - * Get The HiddenFields Class. - * - * @param Container $container The DI container. - * - * @return HiddenFields - * @since 3.2.0 - */ - public function getHiddenFields(Container $container): HiddenFields - { - return new HiddenFields(); - } - - /** - * Get The History Class. - * - * @param Container $container The DI container. - * - * @return History - * @since 3.2.0 - */ - public function getHistory(Container $container): History - { - return new History(); - } - - /** - * Get The IntegerFields Class. - * - * @param Container $container The DI container. - * - * @return IntegerFields - * @since 3.2.0 - */ - public function getIntegerFields(Container $container): IntegerFields - { - return new IntegerFields(); - } - - /** - * Get The ItemsMethodEximportString Class. - * - * @param Container $container The DI container. - * - * @return ItemsMethodEximportString - * @since 3.2.0 - */ - public function getItemsMethodEximportString(Container $container): ItemsMethodEximportString - { - return new ItemsMethodEximportString(); - } - - /** - * Get The ItemsMethodListString Class. - * - * @param Container $container The DI container. - * - * @return ItemsMethodListString - * @since 3.2.0 - */ - public function getItemsMethodListString(Container $container): ItemsMethodListString - { - return new ItemsMethodListString(); - } - - /** - * Get The JsonItem Class. - * - * @param Container $container The DI container. - * - * @return JsonItem - * @since 3.2.0 - */ - public function getJsonItem(Container $container): JsonItem - { - return new JsonItem(); - } - - /** - * Get The JsonItemArray Class. - * - * @param Container $container The DI container. - * - * @return JsonItemArray - * @since 3.2.0 - */ - public function getJsonItemArray(Container $container): JsonItemArray - { - return new JsonItemArray(); - } - - /** - * Get The JsonString Class. - * - * @param Container $container The DI container. - * - * @return JsonString - * @since 3.2.0 - */ - public function getJsonString(Container $container): JsonString - { - return new JsonString(); - } - - /** - * Get The Layout Class. - * - * @param Container $container The DI container. - * - * @return Layout - * @since 3.2.0 - */ - public function getLayout(Container $container): Layout - { - return new Layout(); - } - - /** - * Get The LayoutData Class. - * - * @param Container $container The DI container. - * - * @return LayoutData - * @since 3.2.0 - */ - public function getLayoutData(Container $container): LayoutData - { - return new LayoutData(); - } - - /** - * Get The LibraryManager Class. - * - * @param Container $container The DI container. - * - * @return LibraryManager - * @since 3.2.0 - */ - public function getLibraryManager(Container $container): LibraryManager - { - return new LibraryManager(); - } - - /** - * Get The ListFieldClass Class. - * - * @param Container $container The DI container. - * - * @return ListFieldClass - * @since 3.2.0 - */ - public function getListFieldClass(Container $container): ListFieldClass - { - return new ListFieldClass(); - } - - /** - * Get The ListHeadOverride Class. - * - * @param Container $container The DI container. - * - * @return ListHeadOverride - * @since 3.2.0 - */ - public function getListHeadOverride(Container $container): ListHeadOverride - { - return new ListHeadOverride(); - } - - /** - * Get The ListJoin Class. - * - * @param Container $container The DI container. - * - * @return ListJoin - * @since 3.2.0 - */ - public function getListJoin(Container $container): ListJoin - { - return new ListJoin(); - } - - /** - * Get The Lists Class. - * - * @param Container $container The DI container. - * - * @return Lists - * @since 3.2.0 - */ - public function getLists(Container $container): Lists - { - return new Lists(); - } - - /** - * Get The MainTextField Class. - * - * @param Container $container The DI container. - * - * @return MainTextField - * @since 3.2.0 - */ - public function getMainTextField(Container $container): MainTextField - { - return new MainTextField(); - } - - /** - * Get The MetaData Class. - * - * @param Container $container The DI container. - * - * @return MetaData - * @since 3.2.0 - */ - public function getMetaData(Container $container): MetaData - { - return new MetaData(); - } - - /** - * Get The ModelBasicField Class. - * - * @param Container $container The DI container. - * - * @return ModelBasicField - * @since 3.2.0 - */ - public function getModelBasicField(Container $container): ModelBasicField - { - return new ModelBasicField(); - } - - /** - * Get The ModelExpertField Class. - * - * @param Container $container The DI container. - * - * @return ModelExpertField - * @since 3.2.0 - */ - public function getModelExpertField(Container $container): ModelExpertField - { - return new ModelExpertField(); - } - - /** - * Get The ModelExpertFieldInitiator Class. - * - * @param Container $container The DI container. - * - * @return ModelExpertFieldInitiator - * @since 3.2.0 - */ - public function getModelExpertFieldInitiator(Container $container): ModelExpertFieldInitiator - { - return new ModelExpertFieldInitiator(); - } - - /** - * Get The ModelMediumField Class. - * - * @param Container $container The DI container. - * - * @return ModelMediumField - * @since 3.2.0 - */ - public function getModelMediumField(Container $container): ModelMediumField - { - return new ModelMediumField(); - } - - /** - * Get The ModelWhmcsField Class. - * - * @param Container $container The DI container. - * - * @return ModelWhmcsField - * @since 3.2.0 - */ - public function getModelWhmcsField(Container $container): ModelWhmcsField - { - return new ModelWhmcsField(); - } - - /** - * Get The MovedPublishingFields Class. - * - * @param Container $container The DI container. - * - * @return MovedPublishingFields - * @since 3.2.0 - */ - public function getMovedPublishingFields(Container $container): MovedPublishingFields - { - return new MovedPublishingFields(); - } - - /** - * Get The MysqlTableSetting Class. - * - * @param Container $container The DI container. - * - * @return MysqlTableSetting - * @since 3.2.0 - */ - public function getMysqlTableSetting(Container $container): MysqlTableSetting - { - return new MysqlTableSetting(); - } - - /** - * Get The NewPublishingFields Class. - * - * @param Container $container The DI container. - * - * @return NewPublishingFields - * @since 3.2.0 - */ - public function getNewPublishingFields(Container $container): NewPublishingFields - { - return new NewPublishingFields(); - } - - /** - * Get The OrderZero Class. - * - * @param Container $container The DI container. - * - * @return OrderZero - * @since 3.2.0 - */ - public function getOrderZero(Container $container): OrderZero - { - return new OrderZero(); - } - - /** - * Get The OtherFilter Class. - * - * @param Container $container The DI container. - * - * @return OtherFilter - * @since 3.2.0 - */ - public function getOtherFilter(Container $container): OtherFilter - { - return new OtherFilter(); - } - - /** - * Get The OtherGroup Class. - * - * @param Container $container The DI container. - * - * @return OtherGroup - * @since 3.2.0 - */ - public function getOtherGroup(Container $container): OtherGroup - { - return new OtherGroup(); - } - - /** - * Get The OtherJoin Class. - * - * @param Container $container The DI container. - * - * @return OtherJoin - * @since 3.2.0 - */ - public function getOtherJoin(Container $container): OtherJoin - { - return new OtherJoin(); - } - - /** - * Get The OtherOrder Class. - * - * @param Container $container The DI container. - * - * @return OtherOrder - * @since 3.2.0 - */ - public function getOtherOrder(Container $container): OtherOrder - { - return new OtherOrder(); - } - - /** - * Get The OtherQuery Class. - * - * @param Container $container The DI container. - * - * @return OtherQuery - * @since 3.2.0 - */ - public function getOtherQuery(Container $container): OtherQuery - { - return new OtherQuery(); - } - - /** - * Get The OtherWhere Class. - * - * @param Container $container The DI container. - * - * @return OtherWhere - * @since 3.2.0 - */ - public function getOtherWhere(Container $container): OtherWhere - { - return new OtherWhere(); - } - - /** - * Get The PermissionAction Class. - * - * @param Container $container The DI container. - * - * @return PermissionAction - * @since 3.2.0 - */ - public function getPermissionAction(Container $container): PermissionAction - { - return new PermissionAction(); - } - - /** - * Get The PermissionComponent Class. - * - * @param Container $container The DI container. - * - * @return PermissionComponent - * @since 3.2.0 - */ - public function getPermissionComponent(Container $container): PermissionComponent - { - return new PermissionComponent(); - } - - /** - * Get The PermissionCore Class. - * - * @param Container $container The DI container. - * - * @return PermissionCore - * @since 3.2.0 - */ - public function getPermissionCore(Container $container): PermissionCore - { - return new PermissionCore(); - } - - /** - * Get The PermissionDashboard Class. - * - * @param Container $container The DI container. - * - * @return PermissionDashboard - * @since 3.2.0 - */ - public function getPermissionDashboard(Container $container): PermissionDashboard - { - return new PermissionDashboard(); - } - - /** - * Get The PermissionGlobalAction Class. - * - * @param Container $container The DI container. - * - * @return PermissionGlobalAction - * @since 3.2.0 - */ - public function getPermissionGlobalAction(Container $container): PermissionGlobalAction - { - return new PermissionGlobalAction(); - } - - /** - * Get The PermissionViews Class. - * - * @param Container $container The DI container. - * - * @return PermissionViews - * @since 3.2.0 - */ - public function getPermissionViews(Container $container): PermissionViews - { - return new PermissionViews(); - } - - /** - * Get The ScriptMediaSwitch Class. - * - * @param Container $container The DI container. - * - * @return ScriptMediaSwitch - * @since 3.2.0 - */ - public function getScriptMediaSwitch(Container $container): ScriptMediaSwitch - { - return new ScriptMediaSwitch(); - } - - /** - * Get The ScriptUserSwitch Class. - * - * @param Container $container The DI container. - * - * @return ScriptUserSwitch - * @since 3.2.0 - */ - public function getScriptUserSwitch(Container $container): ScriptUserSwitch - { - return new ScriptUserSwitch(); - } - - /** - * Get The Search Class. - * - * @param Container $container The DI container. - * - * @return Search - * @since 3.2.0 - */ - public function getSearch(Container $container): Search - { - return new Search(); - } - - /** - * Get The SelectionTranslation Class. - * - * @param Container $container The DI container. - * - * @return SelectionTranslation - * @since 3.2.0 - */ - public function getSelectionTranslation(Container $container): SelectionTranslation - { - return new SelectionTranslation(); - } - - /** - * Get The SiteDecrypt Class. - * - * @param Container $container The DI container. - * - * @return SiteDecrypt - * @since 3.2.0 - */ - public function getSiteDecrypt(Container $container): SiteDecrypt - { - return new SiteDecrypt(); - } - - /** - * Get The SiteDynamicGet Class. - * - * @param Container $container The DI container. - * - * @return SiteDynamicGet - * @since 3.2.0 - */ - public function getSiteDynamicGet(Container $container): SiteDynamicGet - { - return new SiteDynamicGet(); - } - - /** - * Get The SiteEditView Class. - * - * @param Container $container The DI container. - * - * @return SiteEditView - * @since 3.2.0 - */ - public function getSiteEditView(Container $container): SiteEditView - { - return new SiteEditView(); - } - - /** - * Get The SiteFieldData Class. - * - * @param Container $container The DI container. - * - * @return SiteFieldData - * @since 3.2.0 - */ - public function getSiteFieldData(Container $container): SiteFieldData - { - return new SiteFieldData(); - } - - /** - * Get The SiteFieldDecodeFilter Class. - * - * @param Container $container The DI container. - * - * @return SiteFieldDecodeFilter - * @since 3.2.0 - */ - public function getSiteFieldDecodeFilter(Container $container): SiteFieldDecodeFilter - { - return new SiteFieldDecodeFilter(); - } - - /** - * Get The SiteFields Class. - * - * @param Container $container The DI container. - * - * @return SiteFields - * @since 3.2.0 - */ - public function getSiteFields(Container $container): SiteFields - { - return new SiteFields(); - } - - /** - * Get The SiteMainGet Class. - * - * @param Container $container The DI container. - * - * @return SiteMainGet - * @since 3.2.0 - */ - public function getSiteMainGet(Container $container): SiteMainGet - { - return new SiteMainGet(); - } - - /** - * Get The Sort Class. - * - * @param Container $container The DI container. - * - * @return Sort - * @since 3.2.0 - */ - public function getSort(Container $container): Sort - { - return new Sort(); - } - - /** - * Get The TabCounter Class. - * - * @param Container $container The DI container. - * - * @return TabCounter - * @since 3.2.0 - */ - public function getTabCounter(Container $container): TabCounter - { - return new TabCounter(); - } - - /** - * Get The Tags Class. - * - * @param Container $container The DI container. - * - * @return Tags - * @since 3.2.0 - */ - public function getTags(Container $container): Tags - { - return new Tags(); - } - - /** - * Get The TemplateData Class. - * - * @param Container $container The DI container. - * - * @return TemplateData - * @since 3.2.0 - */ - public function getTemplateData(Container $container): TemplateData - { - return new TemplateData(); - } - - /** - * Get The Title Class. - * - * @param Container $container The DI container. - * - * @return Title - * @since 3.2.0 - */ - public function getTitle(Container $container): Title - { - return new Title(); - } - - /** - * Get The UikitComp Class. - * - * @param Container $container The DI container. - * - * @return UikitComp - * @since 3.2.0 - */ - public function getUikitComp(Container $container): UikitComp - { - return new UikitComp(); - } - - /** - * Get The UpdateMysql Class. - * - * @param Container $container The DI container. - * - * @return UpdateMysql - * @since 3.2.0 - */ - public function getUpdateMysql(Container $container): UpdateMysql - { - return new UpdateMysql(); + /** + * Registers the service provider with a DI container. + * + * @param Container $container The DI container. + * + * @return void + * @since 3.2.0 + */ + public function register(Container $container) + { + $container->alias(AccessSwitch::class, 'Compiler.Builder.Access.Switch') + ->share('Compiler.Builder.Access.Switch', [$this, 'getAccessSwitch'], true); + + $container->alias(AccessSwitchList::class, 'Compiler.Builder.Access.Switch.List') + ->share('Compiler.Builder.Access.Switch.List', [$this, 'getAccessSwitchList'], true); + + $container->alias(AdminFilterType::class, 'Compiler.Builder.Admin.Filter.Type') + ->share('Compiler.Builder.Admin.Filter.Type', [$this, 'getAdminFilterType'], true); + + $container->alias(Alias::class, 'Compiler.Builder.Alias') + ->share('Compiler.Builder.Alias', [$this, 'getAlias'], true); + + $container->alias(BaseSixFour::class, 'Compiler.Builder.Base.Six.Four') + ->share('Compiler.Builder.Base.Six.Four', [$this, 'getBaseSixFour'], true); + + $container->alias(Category::class, 'Compiler.Builder.Category') + ->share('Compiler.Builder.Category', [$this, 'getCategory'], true); + + $container->alias(CategoryCode::class, 'Compiler.Builder.Category.Code') + ->share('Compiler.Builder.Category.Code', [$this, 'getCategoryCode'], true); + + $container->alias(CategoryOtherName::class, 'Compiler.Builder.Category.Other.Name') + ->share('Compiler.Builder.Category.Other.Name', [$this, 'getCategoryOtherName'], true); + + $container->alias(CheckBox::class, 'Compiler.Builder.Check.Box') + ->share('Compiler.Builder.Check.Box', [$this, 'getCheckBox'], true); + + $container->alias(ComponentFields::class, 'Compiler.Builder.Component.Fields') + ->share('Compiler.Builder.Component.Fields', [$this, 'getComponentFields'], true); + + $container->alias(ContentMulti::class, 'Compiler.Builder.Content.Multi') + ->share('Compiler.Builder.Content.Multi', [$this, 'getContentMulti'], true); + + $container->alias(ContentOne::class, 'Compiler.Builder.Content.One') + ->share('Compiler.Builder.Content.One', [$this, 'getContentOne'], true); + + $container->alias(CustomAlias::class, 'Compiler.Builder.Custom.Alias') + ->share('Compiler.Builder.Custom.Alias', [$this, 'getCustomAlias'], true); + + $container->alias(CustomField::class, 'Compiler.Builder.Custom.Field') + ->share('Compiler.Builder.Custom.Field', [$this, 'getCustomField'], true); + + $container->alias(CustomFieldLinks::class, 'Compiler.Builder.Custom.Field.Links') + ->share('Compiler.Builder.Custom.Field.Links', [$this, 'getCustomFieldLinks'], true); + + $container->alias(CustomList::class, 'Compiler.Builder.Custom.List') + ->share('Compiler.Builder.Custom.List', [$this, 'getCustomList'], true); + + $container->alias(CustomTabs::class, 'Compiler.Builder.Custom.Tabs') + ->share('Compiler.Builder.Custom.Tabs', [$this, 'getCustomTabs'], true); + + $container->alias(DatabaseKeys::class, 'Compiler.Builder.Database.Keys') + ->share('Compiler.Builder.Database.Keys', [$this, 'getDatabaseKeys'], true); + + $container->alias(DatabaseTables::class, 'Compiler.Builder.Database.Tables') + ->share('Compiler.Builder.Database.Tables', [$this, 'getDatabaseTables'], true); + + $container->alias(DatabaseUniqueGuid::class, 'Compiler.Builder.Database.Unique.Guid') + ->share('Compiler.Builder.Database.Unique.Guid', [$this, 'getDatabaseUniqueGuid'], true); + + $container->alias(DatabaseUniqueKeys::class, 'Compiler.Builder.Database.Unique.Keys') + ->share('Compiler.Builder.Database.Unique.Keys', [$this, 'getDatabaseUniqueKeys'], true); + + $container->alias(DoNotEscape::class, 'Compiler.Builder.Do.Not.Escape') + ->share('Compiler.Builder.Do.Not.Escape', [$this, 'getDoNotEscape'], true); + + $container->alias(DynamicFields::class, 'Compiler.Builder.Dynamic.Fields') + ->share('Compiler.Builder.Dynamic.Fields', [$this, 'getDynamicFields'], true); + + $container->alias(ExtensionCustomFields::class, 'Compiler.Builder.Extension.Custom.Fields') + ->share('Compiler.Builder.Extension.Custom.Fields', [$this, 'getExtensionCustomFields'], true); + + $container->alias(FieldGroupControl::class, 'Compiler.Builder.Field.Group.Control') + ->share('Compiler.Builder.Field.Group.Control', [$this, 'getFieldGroupControl'], true); + + $container->alias(FieldNames::class, 'Compiler.Builder.Field.Names') + ->share('Compiler.Builder.Field.Names', [$this, 'getFieldNames'], true); + + $container->alias(FieldRelations::class, 'Compiler.Builder.Field.Relations') + ->share('Compiler.Builder.Field.Relations', [$this, 'getFieldRelations'], true); + + $container->alias(Filter::class, 'Compiler.Builder.Filter') + ->share('Compiler.Builder.Filter', [$this, 'getFilter'], true); + + $container->alias(FootableScripts::class, 'Compiler.Builder.Footable.Scripts') + ->share('Compiler.Builder.Footable.Scripts', [$this, 'getFootableScripts'], true); + + $container->alias(GetAsLookup::class, 'Compiler.Builder.Get.As.Lookup') + ->share('Compiler.Builder.Get.As.Lookup', [$this, 'getGetAsLookup'], true); + + $container->alias(GetModule::class, 'Compiler.Builder.Get.Module') + ->share('Compiler.Builder.Get.Module', [$this, 'getGetModule'], true); + + $container->alias(GoogleChart::class, 'Compiler.Builder.Google.Chart') + ->share('Compiler.Builder.Google.Chart', [$this, 'getGoogleChart'], true); + + $container->alias(HasPermissions::class, 'Compiler.Builder.Has.Permissions') + ->share('Compiler.Builder.Has.Permissions', [$this, 'getHasPermissions'], true); + + $container->alias(HiddenFields::class, 'Compiler.Builder.Hidden.Fields') + ->share('Compiler.Builder.Hidden.Fields', [$this, 'getHiddenFields'], true); + + $container->alias(History::class, 'Compiler.Builder.History') + ->share('Compiler.Builder.History', [$this, 'getHistory'], true); + + $container->alias(IntegerFields::class, 'Compiler.Builder.Integer.Fields') + ->share('Compiler.Builder.Integer.Fields', [$this, 'getIntegerFields'], true); + + $container->alias(ItemsMethodEximportString::class, 'Compiler.Builder.Items.Method.Eximport.String') + ->share('Compiler.Builder.Items.Method.Eximport.String', [$this, 'getItemsMethodEximportString'], true); + + $container->alias(ItemsMethodListString::class, 'Compiler.Builder.Items.Method.List.String') + ->share('Compiler.Builder.Items.Method.List.String', [$this, 'getItemsMethodListString'], true); + + $container->alias(JsonItem::class, 'Compiler.Builder.Json.Item') + ->share('Compiler.Builder.Json.Item', [$this, 'getJsonItem'], true); + + $container->alias(JsonItemArray::class, 'Compiler.Builder.Json.Item.Array') + ->share('Compiler.Builder.Json.Item.Array', [$this, 'getJsonItemArray'], true); + + $container->alias(JsonString::class, 'Compiler.Builder.Json.String') + ->share('Compiler.Builder.Json.String', [$this, 'getJsonString'], true); + + $container->alias(Layout::class, 'Compiler.Builder.Layout') + ->share('Compiler.Builder.Layout', [$this, 'getLayout'], true); + + $container->alias(LayoutData::class, 'Compiler.Builder.Layout.Data') + ->share('Compiler.Builder.Layout.Data', [$this, 'getLayoutData'], true); + + $container->alias(LibraryManager::class, 'Compiler.Builder.Library.Manager') + ->share('Compiler.Builder.Library.Manager', [$this, 'getLibraryManager'], true); + + $container->alias(ListFieldClass::class, 'Compiler.Builder.List.Field.Class') + ->share('Compiler.Builder.List.Field.Class', [$this, 'getListFieldClass'], true); + + $container->alias(ListHeadOverride::class, 'Compiler.Builder.List.Head.Override') + ->share('Compiler.Builder.List.Head.Override', [$this, 'getListHeadOverride'], true); + + $container->alias(ListJoin::class, 'Compiler.Builder.List.Join') + ->share('Compiler.Builder.List.Join', [$this, 'getListJoin'], true); + + $container->alias(Lists::class, 'Compiler.Builder.Lists') + ->share('Compiler.Builder.Lists', [$this, 'getLists'], true); + + $container->alias(MainTextField::class, 'Compiler.Builder.Main.Text.Field') + ->share('Compiler.Builder.Main.Text.Field', [$this, 'getMainTextField'], true); + + $container->alias(MetaData::class, 'Compiler.Builder.Meta.Data') + ->share('Compiler.Builder.Meta.Data', [$this, 'getMetaData'], true); + + $container->alias(ModelBasicField::class, 'Compiler.Builder.Model.Basic.Field') + ->share('Compiler.Builder.Model.Basic.Field', [$this, 'getModelBasicField'], true); + + $container->alias(ModelExpertField::class, 'Compiler.Builder.Model.Expert.Field') + ->share('Compiler.Builder.Model.Expert.Field', [$this, 'getModelExpertField'], true); + + $container->alias(ModelExpertFieldInitiator::class, 'Compiler.Builder.Model.Expert.Field.Initiator') + ->share('Compiler.Builder.Model.Expert.Field.Initiator', [$this, 'getModelExpertFieldInitiator'], true); + + $container->alias(ModelMediumField::class, 'Compiler.Builder.Model.Medium.Field') + ->share('Compiler.Builder.Model.Medium.Field', [$this, 'getModelMediumField'], true); + + $container->alias(ModelWhmcsField::class, 'Compiler.Builder.Model.Whmcs.Field') + ->share('Compiler.Builder.Model.Whmcs.Field', [$this, 'getModelWhmcsField'], true); + + $container->alias(MovedPublishingFields::class, 'Compiler.Builder.Moved.Publishing.Fields') + ->share('Compiler.Builder.Moved.Publishing.Fields', [$this, 'getMovedPublishingFields'], true); + + $container->alias(MysqlTableSetting::class, 'Compiler.Builder.Mysql.Table.Setting') + ->share('Compiler.Builder.Mysql.Table.Setting', [$this, 'getMysqlTableSetting'], true); + + $container->alias(NewPublishingFields::class, 'Compiler.Builder.New.Publishing.Fields') + ->share('Compiler.Builder.New.Publishing.Fields', [$this, 'getNewPublishingFields'], true); + + $container->alias(OrderZero::class, 'Compiler.Builder.Order.Zero') + ->share('Compiler.Builder.Order.Zero', [$this, 'getOrderZero'], true); + + $container->alias(OtherFilter::class, 'Compiler.Builder.Other.Filter') + ->share('Compiler.Builder.Other.Filter', [$this, 'getOtherFilter'], true); + + $container->alias(OtherGroup::class, 'Compiler.Builder.Other.Group') + ->share('Compiler.Builder.Other.Group', [$this, 'getOtherGroup'], true); + + $container->alias(OtherJoin::class, 'Compiler.Builder.Other.Join') + ->share('Compiler.Builder.Other.Join', [$this, 'getOtherJoin'], true); + + $container->alias(OtherOrder::class, 'Compiler.Builder.Other.Order') + ->share('Compiler.Builder.Other.Order', [$this, 'getOtherOrder'], true); + + $container->alias(OtherQuery::class, 'Compiler.Builder.Other.Query') + ->share('Compiler.Builder.Other.Query', [$this, 'getOtherQuery'], true); + + $container->alias(OtherWhere::class, 'Compiler.Builder.Other.Where') + ->share('Compiler.Builder.Other.Where', [$this, 'getOtherWhere'], true); + + $container->alias(PermissionAction::class, 'Compiler.Builder.Permission.Action') + ->share('Compiler.Builder.Permission.Action', [$this, 'getPermissionAction'], true); + + $container->alias(PermissionComponent::class, 'Compiler.Builder.Permission.Component') + ->share('Compiler.Builder.Permission.Component', [$this, 'getPermissionComponent'], true); + + $container->alias(PermissionCore::class, 'Compiler.Builder.Permission.Core') + ->share('Compiler.Builder.Permission.Core', [$this, 'getPermissionCore'], true); + + $container->alias(PermissionDashboard::class, 'Compiler.Builder.Permission.Dashboard') + ->share('Compiler.Builder.Permission.Dashboard', [$this, 'getPermissionDashboard'], true); + + $container->alias(PermissionGlobalAction::class, 'Compiler.Builder.Permission.Global.Action') + ->share('Compiler.Builder.Permission.Global.Action', [$this, 'getPermissionGlobalAction'], true); + + $container->alias(PermissionViews::class, 'Compiler.Builder.Permission.Views') + ->share('Compiler.Builder.Permission.Views', [$this, 'getPermissionViews'], true); + + $container->alias(ScriptMediaSwitch::class, 'Compiler.Builder.Script.Media.Switch') + ->share('Compiler.Builder.Script.Media.Switch', [$this, 'getScriptMediaSwitch'], true); + + $container->alias(ScriptUserSwitch::class, 'Compiler.Builder.Script.User.Switch') + ->share('Compiler.Builder.Script.User.Switch', [$this, 'getScriptUserSwitch'], true); + + $container->alias(Search::class, 'Compiler.Builder.Search') + ->share('Compiler.Builder.Search', [$this, 'getSearch'], true); + + $container->alias(SelectionTranslation::class, 'Compiler.Builder.Selection.Translation') + ->share('Compiler.Builder.Selection.Translation', [$this, 'getSelectionTranslation'], true); + + $container->alias(SiteDecrypt::class, 'Compiler.Builder.Site.Decrypt') + ->share('Compiler.Builder.Site.Decrypt', [$this, 'getSiteDecrypt'], true); + + $container->alias(SiteDynamicGet::class, 'Compiler.Builder.Site.Dynamic.Get') + ->share('Compiler.Builder.Site.Dynamic.Get', [$this, 'getSiteDynamicGet'], true); + + $container->alias(SiteEditView::class, 'Compiler.Builder.Site.Edit.View') + ->share('Compiler.Builder.Site.Edit.View', [$this, 'getSiteEditView'], true); + + $container->alias(SiteFieldData::class, 'Compiler.Builder.Site.Field.Data') + ->share('Compiler.Builder.Site.Field.Data', [$this, 'getSiteFieldData'], true); + + $container->alias(SiteFieldDecodeFilter::class, 'Compiler.Builder.Site.Field.Decode.Filter') + ->share('Compiler.Builder.Site.Field.Decode.Filter', [$this, 'getSiteFieldDecodeFilter'], true); + + $container->alias(SiteFields::class, 'Compiler.Builder.Site.Fields') + ->share('Compiler.Builder.Site.Fields', [$this, 'getSiteFields'], true); + + $container->alias(SiteMainGet::class, 'Compiler.Builder.Site.Main.Get') + ->share('Compiler.Builder.Site.Main.Get', [$this, 'getSiteMainGet'], true); + + $container->alias(Sort::class, 'Compiler.Builder.Sort') + ->share('Compiler.Builder.Sort', [$this, 'getSort'], true); + + $container->alias(TabCounter::class, 'Compiler.Builder.Tab.Counter') + ->share('Compiler.Builder.Tab.Counter', [$this, 'getTabCounter'], true); + + $container->alias(Tags::class, 'Compiler.Builder.Tags') + ->share('Compiler.Builder.Tags', [$this, 'getTags'], true); + + $container->alias(TemplateData::class, 'Compiler.Builder.Template.Data') + ->share('Compiler.Builder.Template.Data', [$this, 'getTemplateData'], true); + + $container->alias(Title::class, 'Compiler.Builder.Title') + ->share('Compiler.Builder.Title', [$this, 'getTitle'], true); + + $container->alias(UikitComp::class, 'Compiler.Builder.Uikit.Comp') + ->share('Compiler.Builder.Uikit.Comp', [$this, 'getUikitComp'], true); + + $container->alias(UpdateMysql::class, 'Compiler.Builder.Update.Mysql') + ->share('Compiler.Builder.Update.Mysql', [$this, 'getUpdateMysql'], true); + } + + /** + * Get The AccessSwitch Class. + * + * @param Container $container The DI container. + * + * @return AccessSwitch + * @since 3.2.0 + */ + public function getAccessSwitch(Container $container): AccessSwitch + { + return new AccessSwitch(); + } + + /** + * Get The AccessSwitchList Class. + * + * @param Container $container The DI container. + * + * @return AccessSwitchList + * @since 3.2.0 + */ + public function getAccessSwitchList(Container $container): AccessSwitchList + { + return new AccessSwitchList(); + } + + /** + * Get The AdminFilterType Class. + * + * @param Container $container The DI container. + * + * @return AdminFilterType + * @since 3.2.0 + */ + public function getAdminFilterType(Container $container): AdminFilterType + { + return new AdminFilterType(); + } + + /** + * Get The Alias Class. + * + * @param Container $container The DI container. + * + * @return Alias + * @since 3.2.0 + */ + public function getAlias(Container $container): Alias + { + return new Alias(); + } + + /** + * Get The BaseSixFour Class. + * + * @param Container $container The DI container. + * + * @return BaseSixFour + * @since 3.2.0 + */ + public function getBaseSixFour(Container $container): BaseSixFour + { + return new BaseSixFour(); + } + + /** + * Get The Category Class. + * + * @param Container $container The DI container. + * + * @return Category + * @since 3.2.0 + */ + public function getCategory(Container $container): Category + { + return new Category(); + } + + /** + * Get The CategoryCode Class. + * + * @param Container $container The DI container. + * + * @return CategoryCode + * @since 3.2.0 + */ + public function getCategoryCode(Container $container): CategoryCode + { + return new CategoryCode(); + } + + /** + * Get The CategoryOtherName Class. + * + * @param Container $container The DI container. + * + * @return CategoryOtherName + * @since 3.2.0 + */ + public function getCategoryOtherName(Container $container): CategoryOtherName + { + return new CategoryOtherName(); + } + + /** + * Get The CheckBox Class. + * + * @param Container $container The DI container. + * + * @return CheckBox + * @since 3.2.0 + */ + public function getCheckBox(Container $container): CheckBox + { + return new CheckBox(); + } + + /** + * Get The ComponentFields Class. + * + * @param Container $container The DI container. + * + * @return ComponentFields + * @since 3.2.0 + */ + public function getComponentFields(Container $container): ComponentFields + { + return new ComponentFields(); + } + + /** + * Get The ContentMulti Class. + * + * @param Container $container The DI container. + * + * @return ContentMulti + * @since 3.2.0 + */ + public function getContentMulti(Container $container): ContentMulti + { + return new ContentMulti(); + } + + /** + * Get The ContentOne Class. + * + * @param Container $container The DI container. + * + * @return ContentOne + * @since 3.2.0 + */ + public function getContentOne(Container $container): ContentOne + { + return new ContentOne(); + } + + /** + * Get The CustomAlias Class. + * + * @param Container $container The DI container. + * + * @return CustomAlias + * @since 3.2.0 + */ + public function getCustomAlias(Container $container): CustomAlias + { + return new CustomAlias(); + } + + /** + * Get The CustomField Class. + * + * @param Container $container The DI container. + * + * @return CustomField + * @since 3.2.0 + */ + public function getCustomField(Container $container): CustomField + { + return new CustomField(); + } + + /** + * Get The CustomFieldLinks Class. + * + * @param Container $container The DI container. + * + * @return CustomFieldLinks + * @since 3.2.0 + */ + public function getCustomFieldLinks(Container $container): CustomFieldLinks + { + return new CustomFieldLinks(); + } + + /** + * Get The CustomList Class. + * + * @param Container $container The DI container. + * + * @return CustomList + * @since 3.2.0 + */ + public function getCustomList(Container $container): CustomList + { + return new CustomList(); + } + + /** + * Get The CustomTabs Class. + * + * @param Container $container The DI container. + * + * @return CustomTabs + * @since 3.2.0 + */ + public function getCustomTabs(Container $container): CustomTabs + { + return new CustomTabs(); + } + + /** + * Get The DatabaseKeys Class. + * + * @param Container $container The DI container. + * + * @return DatabaseKeys + * @since 3.2.0 + */ + public function getDatabaseKeys(Container $container): DatabaseKeys + { + return new DatabaseKeys(); + } + + /** + * Get The DatabaseTables Class. + * + * @param Container $container The DI container. + * + * @return DatabaseTables + * @since 3.2.0 + */ + public function getDatabaseTables(Container $container): DatabaseTables + { + return new DatabaseTables(); + } + + /** + * Get The DatabaseUniqueGuid Class. + * + * @param Container $container The DI container. + * + * @return DatabaseUniqueGuid + * @since 3.2.0 + */ + public function getDatabaseUniqueGuid(Container $container): DatabaseUniqueGuid + { + return new DatabaseUniqueGuid(); + } + + /** + * Get The DatabaseUniqueKeys Class. + * + * @param Container $container The DI container. + * + * @return DatabaseUniqueKeys + * @since 3.2.0 + */ + public function getDatabaseUniqueKeys(Container $container): DatabaseUniqueKeys + { + return new DatabaseUniqueKeys(); + } + + /** + * Get The DoNotEscape Class. + * + * @param Container $container The DI container. + * + * @return DoNotEscape + * @since 3.2.0 + */ + public function getDoNotEscape(Container $container): DoNotEscape + { + return new DoNotEscape(); + } + + /** + * Get The DynamicFields Class. + * + * @param Container $container The DI container. + * + * @return DynamicFields + * @since 3.2.0 + */ + public function getDynamicFields(Container $container): DynamicFields + { + return new DynamicFields(); + } + + /** + * Get The ExtensionCustomFields Class. + * + * @param Container $container The DI container. + * + * @return ExtensionCustomFields + * @since 3.2.0 + */ + public function getExtensionCustomFields(Container $container): ExtensionCustomFields + { + return new ExtensionCustomFields(); + } + + /** + * Get The FieldGroupControl Class. + * + * @param Container $container The DI container. + * + * @return FieldGroupControl + * @since 3.2.0 + */ + public function getFieldGroupControl(Container $container): FieldGroupControl + { + return new FieldGroupControl(); + } + + /** + * Get The FieldNames Class. + * + * @param Container $container The DI container. + * + * @return FieldNames + * @since 3.2.0 + */ + public function getFieldNames(Container $container): FieldNames + { + return new FieldNames(); + } + + /** + * Get The FieldRelations Class. + * + * @param Container $container The DI container. + * + * @return FieldRelations + * @since 3.2.0 + */ + public function getFieldRelations(Container $container): FieldRelations + { + return new FieldRelations(); + } + + /** + * Get The Filter Class. + * + * @param Container $container The DI container. + * + * @return Filter + * @since 3.2.0 + */ + public function getFilter(Container $container): Filter + { + return new Filter(); + } + + /** + * Get The FootableScripts Class. + * + * @param Container $container The DI container. + * + * @return FootableScripts + * @since 3.2.0 + */ + public function getFootableScripts(Container $container): FootableScripts + { + return new FootableScripts(); + } + + /** + * Get The GetAsLookup Class. + * + * @param Container $container The DI container. + * + * @return GetAsLookup + * @since 3.2.0 + */ + public function getGetAsLookup(Container $container): GetAsLookup + { + return new GetAsLookup(); + } + + /** + * Get The GetModule Class. + * + * @param Container $container The DI container. + * + * @return GetModule + * @since 3.2.0 + */ + public function getGetModule(Container $container): GetModule + { + return new GetModule(); + } + + /** + * Get The GoogleChart Class. + * + * @param Container $container The DI container. + * + * @return GoogleChart + * @since 3.2.0 + */ + public function getGoogleChart(Container $container): GoogleChart + { + return new GoogleChart(); + } + + /** + * Get The HasPermissions Class. + * + * @param Container $container The DI container. + * + * @return HasPermissions + * @since 3.2.0 + */ + public function getHasPermissions(Container $container): HasPermissions + { + return new HasPermissions(); + } + + /** + * Get The HiddenFields Class. + * + * @param Container $container The DI container. + * + * @return HiddenFields + * @since 3.2.0 + */ + public function getHiddenFields(Container $container): HiddenFields + { + return new HiddenFields(); + } + + /** + * Get The History Class. + * + * @param Container $container The DI container. + * + * @return History + * @since 3.2.0 + */ + public function getHistory(Container $container): History + { + return new History(); + } + + /** + * Get The IntegerFields Class. + * + * @param Container $container The DI container. + * + * @return IntegerFields + * @since 3.2.0 + */ + public function getIntegerFields(Container $container): IntegerFields + { + return new IntegerFields(); + } + + /** + * Get The ItemsMethodEximportString Class. + * + * @param Container $container The DI container. + * + * @return ItemsMethodEximportString + * @since 3.2.0 + */ + public function getItemsMethodEximportString(Container $container): ItemsMethodEximportString + { + return new ItemsMethodEximportString(); + } + + /** + * Get The ItemsMethodListString Class. + * + * @param Container $container The DI container. + * + * @return ItemsMethodListString + * @since 3.2.0 + */ + public function getItemsMethodListString(Container $container): ItemsMethodListString + { + return new ItemsMethodListString(); + } + + /** + * Get The JsonItem Class. + * + * @param Container $container The DI container. + * + * @return JsonItem + * @since 3.2.0 + */ + public function getJsonItem(Container $container): JsonItem + { + return new JsonItem(); + } + + /** + * Get The JsonItemArray Class. + * + * @param Container $container The DI container. + * + * @return JsonItemArray + * @since 3.2.0 + */ + public function getJsonItemArray(Container $container): JsonItemArray + { + return new JsonItemArray(); + } + + /** + * Get The JsonString Class. + * + * @param Container $container The DI container. + * + * @return JsonString + * @since 3.2.0 + */ + public function getJsonString(Container $container): JsonString + { + return new JsonString(); + } + + /** + * Get The Layout Class. + * + * @param Container $container The DI container. + * + * @return Layout + * @since 3.2.0 + */ + public function getLayout(Container $container): Layout + { + return new Layout(); + } + + /** + * Get The LayoutData Class. + * + * @param Container $container The DI container. + * + * @return LayoutData + * @since 3.2.0 + */ + public function getLayoutData(Container $container): LayoutData + { + return new LayoutData(); + } + + /** + * Get The LibraryManager Class. + * + * @param Container $container The DI container. + * + * @return LibraryManager + * @since 3.2.0 + */ + public function getLibraryManager(Container $container): LibraryManager + { + return new LibraryManager(); + } + + /** + * Get The ListFieldClass Class. + * + * @param Container $container The DI container. + * + * @return ListFieldClass + * @since 3.2.0 + */ + public function getListFieldClass(Container $container): ListFieldClass + { + return new ListFieldClass(); + } + + /** + * Get The ListHeadOverride Class. + * + * @param Container $container The DI container. + * + * @return ListHeadOverride + * @since 3.2.0 + */ + public function getListHeadOverride(Container $container): ListHeadOverride + { + return new ListHeadOverride(); + } + + /** + * Get The ListJoin Class. + * + * @param Container $container The DI container. + * + * @return ListJoin + * @since 3.2.0 + */ + public function getListJoin(Container $container): ListJoin + { + return new ListJoin(); + } + + /** + * Get The Lists Class. + * + * @param Container $container The DI container. + * + * @return Lists + * @since 3.2.0 + */ + public function getLists(Container $container): Lists + { + return new Lists(); + } + + /** + * Get The MainTextField Class. + * + * @param Container $container The DI container. + * + * @return MainTextField + * @since 3.2.0 + */ + public function getMainTextField(Container $container): MainTextField + { + return new MainTextField(); + } + + /** + * Get The MetaData Class. + * + * @param Container $container The DI container. + * + * @return MetaData + * @since 3.2.0 + */ + public function getMetaData(Container $container): MetaData + { + return new MetaData(); + } + + /** + * Get The ModelBasicField Class. + * + * @param Container $container The DI container. + * + * @return ModelBasicField + * @since 3.2.0 + */ + public function getModelBasicField(Container $container): ModelBasicField + { + return new ModelBasicField(); + } + + /** + * Get The ModelExpertField Class. + * + * @param Container $container The DI container. + * + * @return ModelExpertField + * @since 3.2.0 + */ + public function getModelExpertField(Container $container): ModelExpertField + { + return new ModelExpertField(); + } + + /** + * Get The ModelExpertFieldInitiator Class. + * + * @param Container $container The DI container. + * + * @return ModelExpertFieldInitiator + * @since 3.2.0 + */ + public function getModelExpertFieldInitiator(Container $container): ModelExpertFieldInitiator + { + return new ModelExpertFieldInitiator(); + } + + /** + * Get The ModelMediumField Class. + * + * @param Container $container The DI container. + * + * @return ModelMediumField + * @since 3.2.0 + */ + public function getModelMediumField(Container $container): ModelMediumField + { + return new ModelMediumField(); + } + + /** + * Get The ModelWhmcsField Class. + * + * @param Container $container The DI container. + * + * @return ModelWhmcsField + * @since 3.2.0 + */ + public function getModelWhmcsField(Container $container): ModelWhmcsField + { + return new ModelWhmcsField(); + } + + /** + * Get The MovedPublishingFields Class. + * + * @param Container $container The DI container. + * + * @return MovedPublishingFields + * @since 3.2.0 + */ + public function getMovedPublishingFields(Container $container): MovedPublishingFields + { + return new MovedPublishingFields(); + } + + /** + * Get The MysqlTableSetting Class. + * + * @param Container $container The DI container. + * + * @return MysqlTableSetting + * @since 3.2.0 + */ + public function getMysqlTableSetting(Container $container): MysqlTableSetting + { + return new MysqlTableSetting(); + } + + /** + * Get The NewPublishingFields Class. + * + * @param Container $container The DI container. + * + * @return NewPublishingFields + * @since 3.2.0 + */ + public function getNewPublishingFields(Container $container): NewPublishingFields + { + return new NewPublishingFields(); + } + + /** + * Get The OrderZero Class. + * + * @param Container $container The DI container. + * + * @return OrderZero + * @since 3.2.0 + */ + public function getOrderZero(Container $container): OrderZero + { + return new OrderZero(); + } + + /** + * Get The OtherFilter Class. + * + * @param Container $container The DI container. + * + * @return OtherFilter + * @since 3.2.0 + */ + public function getOtherFilter(Container $container): OtherFilter + { + return new OtherFilter(); + } + + /** + * Get The OtherGroup Class. + * + * @param Container $container The DI container. + * + * @return OtherGroup + * @since 3.2.0 + */ + public function getOtherGroup(Container $container): OtherGroup + { + return new OtherGroup(); + } + + /** + * Get The OtherJoin Class. + * + * @param Container $container The DI container. + * + * @return OtherJoin + * @since 3.2.0 + */ + public function getOtherJoin(Container $container): OtherJoin + { + return new OtherJoin(); + } + + /** + * Get The OtherOrder Class. + * + * @param Container $container The DI container. + * + * @return OtherOrder + * @since 3.2.0 + */ + public function getOtherOrder(Container $container): OtherOrder + { + return new OtherOrder(); + } + + /** + * Get The OtherQuery Class. + * + * @param Container $container The DI container. + * + * @return OtherQuery + * @since 3.2.0 + */ + public function getOtherQuery(Container $container): OtherQuery + { + return new OtherQuery(); + } + + /** + * Get The OtherWhere Class. + * + * @param Container $container The DI container. + * + * @return OtherWhere + * @since 3.2.0 + */ + public function getOtherWhere(Container $container): OtherWhere + { + return new OtherWhere(); + } + + /** + * Get The PermissionAction Class. + * + * @param Container $container The DI container. + * + * @return PermissionAction + * @since 3.2.0 + */ + public function getPermissionAction(Container $container): PermissionAction + { + return new PermissionAction(); + } + + /** + * Get The PermissionComponent Class. + * + * @param Container $container The DI container. + * + * @return PermissionComponent + * @since 3.2.0 + */ + public function getPermissionComponent(Container $container): PermissionComponent + { + return new PermissionComponent(); + } + + /** + * Get The PermissionCore Class. + * + * @param Container $container The DI container. + * + * @return PermissionCore + * @since 3.2.0 + */ + public function getPermissionCore(Container $container): PermissionCore + { + return new PermissionCore(); + } + + /** + * Get The PermissionDashboard Class. + * + * @param Container $container The DI container. + * + * @return PermissionDashboard + * @since 3.2.0 + */ + public function getPermissionDashboard(Container $container): PermissionDashboard + { + return new PermissionDashboard(); + } + + /** + * Get The PermissionGlobalAction Class. + * + * @param Container $container The DI container. + * + * @return PermissionGlobalAction + * @since 3.2.0 + */ + public function getPermissionGlobalAction(Container $container): PermissionGlobalAction + { + return new PermissionGlobalAction(); + } + + /** + * Get The PermissionViews Class. + * + * @param Container $container The DI container. + * + * @return PermissionViews + * @since 3.2.0 + */ + public function getPermissionViews(Container $container): PermissionViews + { + return new PermissionViews(); + } + + /** + * Get The ScriptMediaSwitch Class. + * + * @param Container $container The DI container. + * + * @return ScriptMediaSwitch + * @since 3.2.0 + */ + public function getScriptMediaSwitch(Container $container): ScriptMediaSwitch + { + return new ScriptMediaSwitch(); + } + + /** + * Get The ScriptUserSwitch Class. + * + * @param Container $container The DI container. + * + * @return ScriptUserSwitch + * @since 3.2.0 + */ + public function getScriptUserSwitch(Container $container): ScriptUserSwitch + { + return new ScriptUserSwitch(); + } + + /** + * Get The Search Class. + * + * @param Container $container The DI container. + * + * @return Search + * @since 3.2.0 + */ + public function getSearch(Container $container): Search + { + return new Search(); + } + + /** + * Get The SelectionTranslation Class. + * + * @param Container $container The DI container. + * + * @return SelectionTranslation + * @since 3.2.0 + */ + public function getSelectionTranslation(Container $container): SelectionTranslation + { + return new SelectionTranslation(); + } + + /** + * Get The SiteDecrypt Class. + * + * @param Container $container The DI container. + * + * @return SiteDecrypt + * @since 3.2.0 + */ + public function getSiteDecrypt(Container $container): SiteDecrypt + { + return new SiteDecrypt(); + } + + /** + * Get The SiteDynamicGet Class. + * + * @param Container $container The DI container. + * + * @return SiteDynamicGet + * @since 3.2.0 + */ + public function getSiteDynamicGet(Container $container): SiteDynamicGet + { + return new SiteDynamicGet(); + } + + /** + * Get The SiteEditView Class. + * + * @param Container $container The DI container. + * + * @return SiteEditView + * @since 3.2.0 + */ + public function getSiteEditView(Container $container): SiteEditView + { + return new SiteEditView(); + } + + /** + * Get The SiteFieldData Class. + * + * @param Container $container The DI container. + * + * @return SiteFieldData + * @since 3.2.0 + */ + public function getSiteFieldData(Container $container): SiteFieldData + { + return new SiteFieldData(); + } + + /** + * Get The SiteFieldDecodeFilter Class. + * + * @param Container $container The DI container. + * + * @return SiteFieldDecodeFilter + * @since 3.2.0 + */ + public function getSiteFieldDecodeFilter(Container $container): SiteFieldDecodeFilter + { + return new SiteFieldDecodeFilter(); + } + + /** + * Get The SiteFields Class. + * + * @param Container $container The DI container. + * + * @return SiteFields + * @since 3.2.0 + */ + public function getSiteFields(Container $container): SiteFields + { + return new SiteFields(); + } + + /** + * Get The SiteMainGet Class. + * + * @param Container $container The DI container. + * + * @return SiteMainGet + * @since 3.2.0 + */ + public function getSiteMainGet(Container $container): SiteMainGet + { + return new SiteMainGet(); + } + + /** + * Get The Sort Class. + * + * @param Container $container The DI container. + * + * @return Sort + * @since 3.2.0 + */ + public function getSort(Container $container): Sort + { + return new Sort(); + } + + /** + * Get The TabCounter Class. + * + * @param Container $container The DI container. + * + * @return TabCounter + * @since 3.2.0 + */ + public function getTabCounter(Container $container): TabCounter + { + return new TabCounter(); + } + + /** + * Get The Tags Class. + * + * @param Container $container The DI container. + * + * @return Tags + * @since 3.2.0 + */ + public function getTags(Container $container): Tags + { + return new Tags(); + } + + /** + * Get The TemplateData Class. + * + * @param Container $container The DI container. + * + * @return TemplateData + * @since 3.2.0 + */ + public function getTemplateData(Container $container): TemplateData + { + return new TemplateData(); + } + + /** + * Get The Title Class. + * + * @param Container $container The DI container. + * + * @return Title + * @since 3.2.0 + */ + public function getTitle(Container $container): Title + { + return new Title(); + } + + /** + * Get The UikitComp Class. + * + * @param Container $container The DI container. + * + * @return UikitComp + * @since 3.2.0 + */ + public function getUikitComp(Container $container): UikitComp + { + return new UikitComp(); + } + + /** + * Get The UpdateMysql Class. + * + * @param Container $container The DI container. + * + * @return UpdateMysql + * @since 3.2.0 + */ + public function getUpdateMysql(Container $container): UpdateMysql + { + return new UpdateMysql(); } } diff --git a/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/code.power b/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/code.power index abf788c..ecfda1a 100644 --- a/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/code.power +++ b/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/code.power @@ -1,1402 +1,1434 @@ - /** - * Registers the service provider with a DI container. - * - * @param Container $container The DI container. - * - * @return void - * @since 3.2.0 - */ - public function register(Container $container) - { - $container->alias(AccessSwitch::class, 'Compiler.Builder.Access.Switch') - ->share('Compiler.Builder.Access.Switch', [$this, 'getAccessSwitch'], true); - - $container->alias(AccessSwitchList::class, 'Compiler.Builder.Access.Switch.List') - ->share('Compiler.Builder.Access.Switch.List', [$this, 'getAccessSwitchList'], true); - - $container->alias(AdminFilterType::class, 'Compiler.Builder.Admin.Filter.Type') - ->share('Compiler.Builder.Admin.Filter.Type', [$this, 'getAdminFilterType'], true); - - $container->alias(Alias::class, 'Compiler.Builder.Alias') - ->share('Compiler.Builder.Alias', [$this, 'getAlias'], true); - - $container->alias(BaseSixFour::class, 'Compiler.Builder.Base.Six.Four') - ->share('Compiler.Builder.Base.Six.Four', [$this, 'getBaseSixFour'], true); - - $container->alias(Category::class, 'Compiler.Builder.Category') - ->share('Compiler.Builder.Category', [$this, 'getCategory'], true); - - $container->alias(CategoryCode::class, 'Compiler.Builder.Category.Code') - ->share('Compiler.Builder.Category.Code', [$this, 'getCategoryCode'], true); - - $container->alias(CategoryOtherName::class, 'Compiler.Builder.Category.Other.Name') - ->share('Compiler.Builder.Category.Other.Name', [$this, 'getCategoryOtherName'], true); - - $container->alias(CheckBox::class, 'Compiler.Builder.Check.Box') - ->share('Compiler.Builder.Check.Box', [$this, 'getCheckBox'], true); - - $container->alias(ComponentFields::class, 'Compiler.Builder.Component.Fields') - ->share('Compiler.Builder.Component.Fields', [$this, 'getComponentFields'], true); - - $container->alias(CustomAlias::class, 'Compiler.Builder.Custom.Alias') - ->share('Compiler.Builder.Custom.Alias', [$this, 'getCustomAlias'], true); - - $container->alias(CustomField::class, 'Compiler.Builder.Custom.Field') - ->share('Compiler.Builder.Custom.Field', [$this, 'getCustomField'], true); - - $container->alias(CustomFieldLinks::class, 'Compiler.Builder.Custom.Field.Links') - ->share('Compiler.Builder.Custom.Field.Links', [$this, 'getCustomFieldLinks'], true); - - $container->alias(CustomList::class, 'Compiler.Builder.Custom.List') - ->share('Compiler.Builder.Custom.List', [$this, 'getCustomList'], true); - - $container->alias(CustomTabs::class, 'Compiler.Builder.Custom.Tabs') - ->share('Compiler.Builder.Custom.Tabs', [$this, 'getCustomTabs'], true); - - $container->alias(DatabaseKeys::class, 'Compiler.Builder.Database.Keys') - ->share('Compiler.Builder.Database.Keys', [$this, 'getDatabaseKeys'], true); - - $container->alias(DatabaseTables::class, 'Compiler.Builder.Database.Tables') - ->share('Compiler.Builder.Database.Tables', [$this, 'getDatabaseTables'], true); - - $container->alias(DatabaseUniqueGuid::class, 'Compiler.Builder.Database.Unique.Guid') - ->share('Compiler.Builder.Database.Unique.Guid', [$this, 'getDatabaseUniqueGuid'], true); - - $container->alias(DatabaseUniqueKeys::class, 'Compiler.Builder.Database.Unique.Keys') - ->share('Compiler.Builder.Database.Unique.Keys', [$this, 'getDatabaseUniqueKeys'], true); - - $container->alias(DoNotEscape::class, 'Compiler.Builder.Do.Not.Escape') - ->share('Compiler.Builder.Do.Not.Escape', [$this, 'getDoNotEscape'], true); - - $container->alias(DynamicFields::class, 'Compiler.Builder.Dynamic.Fields') - ->share('Compiler.Builder.Dynamic.Fields', [$this, 'getDynamicFields'], true); - - $container->alias(ExtensionCustomFields::class, 'Compiler.Builder.Extension.Custom.Fields') - ->share('Compiler.Builder.Extension.Custom.Fields', [$this, 'getExtensionCustomFields'], true); - - $container->alias(FieldGroupControl::class, 'Compiler.Builder.Field.Group.Control') - ->share('Compiler.Builder.Field.Group.Control', [$this, 'getFieldGroupControl'], true); - - $container->alias(FieldNames::class, 'Compiler.Builder.Field.Names') - ->share('Compiler.Builder.Field.Names', [$this, 'getFieldNames'], true); - - $container->alias(FieldRelations::class, 'Compiler.Builder.Field.Relations') - ->share('Compiler.Builder.Field.Relations', [$this, 'getFieldRelations'], true); - - $container->alias(Filter::class, 'Compiler.Builder.Filter') - ->share('Compiler.Builder.Filter', [$this, 'getFilter'], true); - - $container->alias(FootableScripts::class, 'Compiler.Builder.Footable.Scripts') - ->share('Compiler.Builder.Footable.Scripts', [$this, 'getFootableScripts'], true); - - $container->alias(GetAsLookup::class, 'Compiler.Builder.Get.As.Lookup') - ->share('Compiler.Builder.Get.As.Lookup', [$this, 'getGetAsLookup'], true); - - $container->alias(GetModule::class, 'Compiler.Builder.Get.Module') - ->share('Compiler.Builder.Get.Module', [$this, 'getGetModule'], true); - - $container->alias(GoogleChart::class, 'Compiler.Builder.Google.Chart') - ->share('Compiler.Builder.Google.Chart', [$this, 'getGoogleChart'], true); - - $container->alias(HasPermissions::class, 'Compiler.Builder.Has.Permissions') - ->share('Compiler.Builder.Has.Permissions', [$this, 'getHasPermissions'], true); - - $container->alias(HiddenFields::class, 'Compiler.Builder.Hidden.Fields') - ->share('Compiler.Builder.Hidden.Fields', [$this, 'getHiddenFields'], true); - - $container->alias(History::class, 'Compiler.Builder.History') - ->share('Compiler.Builder.History', [$this, 'getHistory'], true); - - $container->alias(IntegerFields::class, 'Compiler.Builder.Integer.Fields') - ->share('Compiler.Builder.Integer.Fields', [$this, 'getIntegerFields'], true); - - $container->alias(ItemsMethodEximportString::class, 'Compiler.Builder.Items.Method.Eximport.String') - ->share('Compiler.Builder.Items.Method.Eximport.String', [$this, 'getItemsMethodEximportString'], true); - - $container->alias(ItemsMethodListString::class, 'Compiler.Builder.Items.Method.List.String') - ->share('Compiler.Builder.Items.Method.List.String', [$this, 'getItemsMethodListString'], true); - - $container->alias(JsonItem::class, 'Compiler.Builder.Json.Item') - ->share('Compiler.Builder.Json.Item', [$this, 'getJsonItem'], true); - - $container->alias(JsonItemArray::class, 'Compiler.Builder.Json.Item.Array') - ->share('Compiler.Builder.Json.Item.Array', [$this, 'getJsonItemArray'], true); - - $container->alias(JsonString::class, 'Compiler.Builder.Json.String') - ->share('Compiler.Builder.Json.String', [$this, 'getJsonString'], true); - - $container->alias(Layout::class, 'Compiler.Builder.Layout') - ->share('Compiler.Builder.Layout', [$this, 'getLayout'], true); - - $container->alias(LayoutData::class, 'Compiler.Builder.Layout.Data') - ->share('Compiler.Builder.Layout.Data', [$this, 'getLayoutData'], true); - - $container->alias(LibraryManager::class, 'Compiler.Builder.Library.Manager') - ->share('Compiler.Builder.Library.Manager', [$this, 'getLibraryManager'], true); - - $container->alias(ListFieldClass::class, 'Compiler.Builder.List.Field.Class') - ->share('Compiler.Builder.List.Field.Class', [$this, 'getListFieldClass'], true); - - $container->alias(ListHeadOverride::class, 'Compiler.Builder.List.Head.Override') - ->share('Compiler.Builder.List.Head.Override', [$this, 'getListHeadOverride'], true); - - $container->alias(ListJoin::class, 'Compiler.Builder.List.Join') - ->share('Compiler.Builder.List.Join', [$this, 'getListJoin'], true); - - $container->alias(Lists::class, 'Compiler.Builder.Lists') - ->share('Compiler.Builder.Lists', [$this, 'getLists'], true); - - $container->alias(MainTextField::class, 'Compiler.Builder.Main.Text.Field') - ->share('Compiler.Builder.Main.Text.Field', [$this, 'getMainTextField'], true); - - $container->alias(MetaData::class, 'Compiler.Builder.Meta.Data') - ->share('Compiler.Builder.Meta.Data', [$this, 'getMetaData'], true); - - $container->alias(ModelBasicField::class, 'Compiler.Builder.Model.Basic.Field') - ->share('Compiler.Builder.Model.Basic.Field', [$this, 'getModelBasicField'], true); - - $container->alias(ModelExpertField::class, 'Compiler.Builder.Model.Expert.Field') - ->share('Compiler.Builder.Model.Expert.Field', [$this, 'getModelExpertField'], true); - - $container->alias(ModelExpertFieldInitiator::class, 'Compiler.Builder.Model.Expert.Field.Initiator') - ->share('Compiler.Builder.Model.Expert.Field.Initiator', [$this, 'getModelExpertFieldInitiator'], true); - - $container->alias(ModelMediumField::class, 'Compiler.Builder.Model.Medium.Field') - ->share('Compiler.Builder.Model.Medium.Field', [$this, 'getModelMediumField'], true); - - $container->alias(ModelWhmcsField::class, 'Compiler.Builder.Model.Whmcs.Field') - ->share('Compiler.Builder.Model.Whmcs.Field', [$this, 'getModelWhmcsField'], true); - - $container->alias(MovedPublishingFields::class, 'Compiler.Builder.Moved.Publishing.Fields') - ->share('Compiler.Builder.Moved.Publishing.Fields', [$this, 'getMovedPublishingFields'], true); - - $container->alias(MysqlTableSetting::class, 'Compiler.Builder.Mysql.Table.Setting') - ->share('Compiler.Builder.Mysql.Table.Setting', [$this, 'getMysqlTableSetting'], true); - - $container->alias(NewPublishingFields::class, 'Compiler.Builder.New.Publishing.Fields') - ->share('Compiler.Builder.New.Publishing.Fields', [$this, 'getNewPublishingFields'], true); - - $container->alias(OrderZero::class, 'Compiler.Builder.Order.Zero') - ->share('Compiler.Builder.Order.Zero', [$this, 'getOrderZero'], true); - - $container->alias(OtherFilter::class, 'Compiler.Builder.Other.Filter') - ->share('Compiler.Builder.Other.Filter', [$this, 'getOtherFilter'], true); - - $container->alias(OtherGroup::class, 'Compiler.Builder.Other.Group') - ->share('Compiler.Builder.Other.Group', [$this, 'getOtherGroup'], true); - - $container->alias(OtherJoin::class, 'Compiler.Builder.Other.Join') - ->share('Compiler.Builder.Other.Join', [$this, 'getOtherJoin'], true); - - $container->alias(OtherOrder::class, 'Compiler.Builder.Other.Order') - ->share('Compiler.Builder.Other.Order', [$this, 'getOtherOrder'], true); - - $container->alias(OtherQuery::class, 'Compiler.Builder.Other.Query') - ->share('Compiler.Builder.Other.Query', [$this, 'getOtherQuery'], true); - - $container->alias(OtherWhere::class, 'Compiler.Builder.Other.Where') - ->share('Compiler.Builder.Other.Where', [$this, 'getOtherWhere'], true); - - $container->alias(PermissionAction::class, 'Compiler.Builder.Permission.Action') - ->share('Compiler.Builder.Permission.Action', [$this, 'getPermissionAction'], true); - - $container->alias(PermissionComponent::class, 'Compiler.Builder.Permission.Component') - ->share('Compiler.Builder.Permission.Component', [$this, 'getPermissionComponent'], true); - - $container->alias(PermissionCore::class, 'Compiler.Builder.Permission.Core') - ->share('Compiler.Builder.Permission.Core', [$this, 'getPermissionCore'], true); - - $container->alias(PermissionDashboard::class, 'Compiler.Builder.Permission.Dashboard') - ->share('Compiler.Builder.Permission.Dashboard', [$this, 'getPermissionDashboard'], true); - - $container->alias(PermissionGlobalAction::class, 'Compiler.Builder.Permission.Global.Action') - ->share('Compiler.Builder.Permission.Global.Action', [$this, 'getPermissionGlobalAction'], true); - - $container->alias(PermissionViews::class, 'Compiler.Builder.Permission.Views') - ->share('Compiler.Builder.Permission.Views', [$this, 'getPermissionViews'], true); - - $container->alias(ScriptMediaSwitch::class, 'Compiler.Builder.Script.Media.Switch') - ->share('Compiler.Builder.Script.Media.Switch', [$this, 'getScriptMediaSwitch'], true); - - $container->alias(ScriptUserSwitch::class, 'Compiler.Builder.Script.User.Switch') - ->share('Compiler.Builder.Script.User.Switch', [$this, 'getScriptUserSwitch'], true); - - $container->alias(Search::class, 'Compiler.Builder.Search') - ->share('Compiler.Builder.Search', [$this, 'getSearch'], true); - - $container->alias(SelectionTranslation::class, 'Compiler.Builder.Selection.Translation') - ->share('Compiler.Builder.Selection.Translation', [$this, 'getSelectionTranslation'], true); - - $container->alias(SiteDecrypt::class, 'Compiler.Builder.Site.Decrypt') - ->share('Compiler.Builder.Site.Decrypt', [$this, 'getSiteDecrypt'], true); - - $container->alias(SiteDynamicGet::class, 'Compiler.Builder.Site.Dynamic.Get') - ->share('Compiler.Builder.Site.Dynamic.Get', [$this, 'getSiteDynamicGet'], true); - - $container->alias(SiteEditView::class, 'Compiler.Builder.Site.Edit.View') - ->share('Compiler.Builder.Site.Edit.View', [$this, 'getSiteEditView'], true); - - $container->alias(SiteFieldData::class, 'Compiler.Builder.Site.Field.Data') - ->share('Compiler.Builder.Site.Field.Data', [$this, 'getSiteFieldData'], true); - - $container->alias(SiteFieldDecodeFilter::class, 'Compiler.Builder.Site.Field.Decode.Filter') - ->share('Compiler.Builder.Site.Field.Decode.Filter', [$this, 'getSiteFieldDecodeFilter'], true); - - $container->alias(SiteFields::class, 'Compiler.Builder.Site.Fields') - ->share('Compiler.Builder.Site.Fields', [$this, 'getSiteFields'], true); - - $container->alias(SiteMainGet::class, 'Compiler.Builder.Site.Main.Get') - ->share('Compiler.Builder.Site.Main.Get', [$this, 'getSiteMainGet'], true); - - $container->alias(Sort::class, 'Compiler.Builder.Sort') - ->share('Compiler.Builder.Sort', [$this, 'getSort'], true); - - $container->alias(TabCounter::class, 'Compiler.Builder.Tab.Counter') - ->share('Compiler.Builder.Tab.Counter', [$this, 'getTabCounter'], true); - - $container->alias(Tags::class, 'Compiler.Builder.Tags') - ->share('Compiler.Builder.Tags', [$this, 'getTags'], true); - - $container->alias(TemplateData::class, 'Compiler.Builder.Template.Data') - ->share('Compiler.Builder.Template.Data', [$this, 'getTemplateData'], true); - - $container->alias(Title::class, 'Compiler.Builder.Title') - ->share('Compiler.Builder.Title', [$this, 'getTitle'], true); - - $container->alias(UikitComp::class, 'Compiler.Builder.Uikit.Comp') - ->share('Compiler.Builder.Uikit.Comp', [$this, 'getUikitComp'], true); - - $container->alias(UpdateMysql::class, 'Compiler.Builder.Update.Mysql') - ->share('Compiler.Builder.Update.Mysql', [$this, 'getUpdateMysql'], true); - } - - /** - * Get The AccessSwitch Class. - * - * @param Container $container The DI container. - * - * @return AccessSwitch - * @since 3.2.0 - */ - public function getAccessSwitch(Container $container): AccessSwitch - { - return new AccessSwitch(); - } - - /** - * Get The AccessSwitchList Class. - * - * @param Container $container The DI container. - * - * @return AccessSwitchList - * @since 3.2.0 - */ - public function getAccessSwitchList(Container $container): AccessSwitchList - { - return new AccessSwitchList(); - } - - /** - * Get The AdminFilterType Class. - * - * @param Container $container The DI container. - * - * @return AdminFilterType - * @since 3.2.0 - */ - public function getAdminFilterType(Container $container): AdminFilterType - { - return new AdminFilterType(); - } - - /** - * Get The Alias Class. - * - * @param Container $container The DI container. - * - * @return Alias - * @since 3.2.0 - */ - public function getAlias(Container $container): Alias - { - return new Alias(); - } - - /** - * Get The BaseSixFour Class. - * - * @param Container $container The DI container. - * - * @return BaseSixFour - * @since 3.2.0 - */ - public function getBaseSixFour(Container $container): BaseSixFour - { - return new BaseSixFour(); - } - - /** - * Get The Category Class. - * - * @param Container $container The DI container. - * - * @return Category - * @since 3.2.0 - */ - public function getCategory(Container $container): Category - { - return new Category(); - } - - /** - * Get The CategoryCode Class. - * - * @param Container $container The DI container. - * - * @return CategoryCode - * @since 3.2.0 - */ - public function getCategoryCode(Container $container): CategoryCode - { - return new CategoryCode(); - } - - /** - * Get The CategoryOtherName Class. - * - * @param Container $container The DI container. - * - * @return CategoryOtherName - * @since 3.2.0 - */ - public function getCategoryOtherName(Container $container): CategoryOtherName - { - return new CategoryOtherName(); - } - - /** - * Get The CheckBox Class. - * - * @param Container $container The DI container. - * - * @return CheckBox - * @since 3.2.0 - */ - public function getCheckBox(Container $container): CheckBox - { - return new CheckBox(); - } - - /** - * Get The ComponentFields Class. - * - * @param Container $container The DI container. - * - * @return ComponentFields - * @since 3.2.0 - */ - public function getComponentFields(Container $container): ComponentFields - { - return new ComponentFields(); - } - - /** - * Get The CustomAlias Class. - * - * @param Container $container The DI container. - * - * @return CustomAlias - * @since 3.2.0 - */ - public function getCustomAlias(Container $container): CustomAlias - { - return new CustomAlias(); - } - - /** - * Get The CustomField Class. - * - * @param Container $container The DI container. - * - * @return CustomField - * @since 3.2.0 - */ - public function getCustomField(Container $container): CustomField - { - return new CustomField(); - } - - /** - * Get The CustomFieldLinks Class. - * - * @param Container $container The DI container. - * - * @return CustomFieldLinks - * @since 3.2.0 - */ - public function getCustomFieldLinks(Container $container): CustomFieldLinks - { - return new CustomFieldLinks(); - } - - /** - * Get The CustomList Class. - * - * @param Container $container The DI container. - * - * @return CustomList - * @since 3.2.0 - */ - public function getCustomList(Container $container): CustomList - { - return new CustomList(); - } - - /** - * Get The CustomTabs Class. - * - * @param Container $container The DI container. - * - * @return CustomTabs - * @since 3.2.0 - */ - public function getCustomTabs(Container $container): CustomTabs - { - return new CustomTabs(); - } - - /** - * Get The DatabaseKeys Class. - * - * @param Container $container The DI container. - * - * @return DatabaseKeys - * @since 3.2.0 - */ - public function getDatabaseKeys(Container $container): DatabaseKeys - { - return new DatabaseKeys(); - } - - /** - * Get The DatabaseTables Class. - * - * @param Container $container The DI container. - * - * @return DatabaseTables - * @since 3.2.0 - */ - public function getDatabaseTables(Container $container): DatabaseTables - { - return new DatabaseTables(); - } - - /** - * Get The DatabaseUniqueGuid Class. - * - * @param Container $container The DI container. - * - * @return DatabaseUniqueGuid - * @since 3.2.0 - */ - public function getDatabaseUniqueGuid(Container $container): DatabaseUniqueGuid - { - return new DatabaseUniqueGuid(); - } - - /** - * Get The DatabaseUniqueKeys Class. - * - * @param Container $container The DI container. - * - * @return DatabaseUniqueKeys - * @since 3.2.0 - */ - public function getDatabaseUniqueKeys(Container $container): DatabaseUniqueKeys - { - return new DatabaseUniqueKeys(); - } - - /** - * Get The DoNotEscape Class. - * - * @param Container $container The DI container. - * - * @return DoNotEscape - * @since 3.2.0 - */ - public function getDoNotEscape(Container $container): DoNotEscape - { - return new DoNotEscape(); - } - - /** - * Get The DynamicFields Class. - * - * @param Container $container The DI container. - * - * @return DynamicFields - * @since 3.2.0 - */ - public function getDynamicFields(Container $container): DynamicFields - { - return new DynamicFields(); - } - - /** - * Get The ExtensionCustomFields Class. - * - * @param Container $container The DI container. - * - * @return ExtensionCustomFields - * @since 3.2.0 - */ - public function getExtensionCustomFields(Container $container): ExtensionCustomFields - { - return new ExtensionCustomFields(); - } - - /** - * Get The FieldGroupControl Class. - * - * @param Container $container The DI container. - * - * @return FieldGroupControl - * @since 3.2.0 - */ - public function getFieldGroupControl(Container $container): FieldGroupControl - { - return new FieldGroupControl(); - } - - /** - * Get The FieldNames Class. - * - * @param Container $container The DI container. - * - * @return FieldNames - * @since 3.2.0 - */ - public function getFieldNames(Container $container): FieldNames - { - return new FieldNames(); - } - - /** - * Get The FieldRelations Class. - * - * @param Container $container The DI container. - * - * @return FieldRelations - * @since 3.2.0 - */ - public function getFieldRelations(Container $container): FieldRelations - { - return new FieldRelations(); - } - - /** - * Get The Filter Class. - * - * @param Container $container The DI container. - * - * @return Filter - * @since 3.2.0 - */ - public function getFilter(Container $container): Filter - { - return new Filter(); - } - - /** - * Get The FootableScripts Class. - * - * @param Container $container The DI container. - * - * @return FootableScripts - * @since 3.2.0 - */ - public function getFootableScripts(Container $container): FootableScripts - { - return new FootableScripts(); - } - - /** - * Get The GetAsLookup Class. - * - * @param Container $container The DI container. - * - * @return GetAsLookup - * @since 3.2.0 - */ - public function getGetAsLookup(Container $container): GetAsLookup - { - return new GetAsLookup(); - } - - /** - * Get The GetModule Class. - * - * @param Container $container The DI container. - * - * @return GetModule - * @since 3.2.0 - */ - public function getGetModule(Container $container): GetModule - { - return new GetModule(); - } - - /** - * Get The GoogleChart Class. - * - * @param Container $container The DI container. - * - * @return GoogleChart - * @since 3.2.0 - */ - public function getGoogleChart(Container $container): GoogleChart - { - return new GoogleChart(); - } - - /** - * Get The HasPermissions Class. - * - * @param Container $container The DI container. - * - * @return HasPermissions - * @since 3.2.0 - */ - public function getHasPermissions(Container $container): HasPermissions - { - return new HasPermissions(); - } - - /** - * Get The HiddenFields Class. - * - * @param Container $container The DI container. - * - * @return HiddenFields - * @since 3.2.0 - */ - public function getHiddenFields(Container $container): HiddenFields - { - return new HiddenFields(); - } - - /** - * Get The History Class. - * - * @param Container $container The DI container. - * - * @return History - * @since 3.2.0 - */ - public function getHistory(Container $container): History - { - return new History(); - } - - /** - * Get The IntegerFields Class. - * - * @param Container $container The DI container. - * - * @return IntegerFields - * @since 3.2.0 - */ - public function getIntegerFields(Container $container): IntegerFields - { - return new IntegerFields(); - } - - /** - * Get The ItemsMethodEximportString Class. - * - * @param Container $container The DI container. - * - * @return ItemsMethodEximportString - * @since 3.2.0 - */ - public function getItemsMethodEximportString(Container $container): ItemsMethodEximportString - { - return new ItemsMethodEximportString(); - } - - /** - * Get The ItemsMethodListString Class. - * - * @param Container $container The DI container. - * - * @return ItemsMethodListString - * @since 3.2.0 - */ - public function getItemsMethodListString(Container $container): ItemsMethodListString - { - return new ItemsMethodListString(); - } - - /** - * Get The JsonItem Class. - * - * @param Container $container The DI container. - * - * @return JsonItem - * @since 3.2.0 - */ - public function getJsonItem(Container $container): JsonItem - { - return new JsonItem(); - } - - /** - * Get The JsonItemArray Class. - * - * @param Container $container The DI container. - * - * @return JsonItemArray - * @since 3.2.0 - */ - public function getJsonItemArray(Container $container): JsonItemArray - { - return new JsonItemArray(); - } - - /** - * Get The JsonString Class. - * - * @param Container $container The DI container. - * - * @return JsonString - * @since 3.2.0 - */ - public function getJsonString(Container $container): JsonString - { - return new JsonString(); - } - - /** - * Get The Layout Class. - * - * @param Container $container The DI container. - * - * @return Layout - * @since 3.2.0 - */ - public function getLayout(Container $container): Layout - { - return new Layout(); - } - - /** - * Get The LayoutData Class. - * - * @param Container $container The DI container. - * - * @return LayoutData - * @since 3.2.0 - */ - public function getLayoutData(Container $container): LayoutData - { - return new LayoutData(); - } - - /** - * Get The LibraryManager Class. - * - * @param Container $container The DI container. - * - * @return LibraryManager - * @since 3.2.0 - */ - public function getLibraryManager(Container $container): LibraryManager - { - return new LibraryManager(); - } - - /** - * Get The ListFieldClass Class. - * - * @param Container $container The DI container. - * - * @return ListFieldClass - * @since 3.2.0 - */ - public function getListFieldClass(Container $container): ListFieldClass - { - return new ListFieldClass(); - } - - /** - * Get The ListHeadOverride Class. - * - * @param Container $container The DI container. - * - * @return ListHeadOverride - * @since 3.2.0 - */ - public function getListHeadOverride(Container $container): ListHeadOverride - { - return new ListHeadOverride(); - } - - /** - * Get The ListJoin Class. - * - * @param Container $container The DI container. - * - * @return ListJoin - * @since 3.2.0 - */ - public function getListJoin(Container $container): ListJoin - { - return new ListJoin(); - } - - /** - * Get The Lists Class. - * - * @param Container $container The DI container. - * - * @return Lists - * @since 3.2.0 - */ - public function getLists(Container $container): Lists - { - return new Lists(); - } - - /** - * Get The MainTextField Class. - * - * @param Container $container The DI container. - * - * @return MainTextField - * @since 3.2.0 - */ - public function getMainTextField(Container $container): MainTextField - { - return new MainTextField(); - } - - /** - * Get The MetaData Class. - * - * @param Container $container The DI container. - * - * @return MetaData - * @since 3.2.0 - */ - public function getMetaData(Container $container): MetaData - { - return new MetaData(); - } - - /** - * Get The ModelBasicField Class. - * - * @param Container $container The DI container. - * - * @return ModelBasicField - * @since 3.2.0 - */ - public function getModelBasicField(Container $container): ModelBasicField - { - return new ModelBasicField(); - } - - /** - * Get The ModelExpertField Class. - * - * @param Container $container The DI container. - * - * @return ModelExpertField - * @since 3.2.0 - */ - public function getModelExpertField(Container $container): ModelExpertField - { - return new ModelExpertField(); - } - - /** - * Get The ModelExpertFieldInitiator Class. - * - * @param Container $container The DI container. - * - * @return ModelExpertFieldInitiator - * @since 3.2.0 - */ - public function getModelExpertFieldInitiator(Container $container): ModelExpertFieldInitiator - { - return new ModelExpertFieldInitiator(); - } - - /** - * Get The ModelMediumField Class. - * - * @param Container $container The DI container. - * - * @return ModelMediumField - * @since 3.2.0 - */ - public function getModelMediumField(Container $container): ModelMediumField - { - return new ModelMediumField(); - } - - /** - * Get The ModelWhmcsField Class. - * - * @param Container $container The DI container. - * - * @return ModelWhmcsField - * @since 3.2.0 - */ - public function getModelWhmcsField(Container $container): ModelWhmcsField - { - return new ModelWhmcsField(); - } - - /** - * Get The MovedPublishingFields Class. - * - * @param Container $container The DI container. - * - * @return MovedPublishingFields - * @since 3.2.0 - */ - public function getMovedPublishingFields(Container $container): MovedPublishingFields - { - return new MovedPublishingFields(); - } - - /** - * Get The MysqlTableSetting Class. - * - * @param Container $container The DI container. - * - * @return MysqlTableSetting - * @since 3.2.0 - */ - public function getMysqlTableSetting(Container $container): MysqlTableSetting - { - return new MysqlTableSetting(); - } - - /** - * Get The NewPublishingFields Class. - * - * @param Container $container The DI container. - * - * @return NewPublishingFields - * @since 3.2.0 - */ - public function getNewPublishingFields(Container $container): NewPublishingFields - { - return new NewPublishingFields(); - } - - /** - * Get The OrderZero Class. - * - * @param Container $container The DI container. - * - * @return OrderZero - * @since 3.2.0 - */ - public function getOrderZero(Container $container): OrderZero - { - return new OrderZero(); - } - - /** - * Get The OtherFilter Class. - * - * @param Container $container The DI container. - * - * @return OtherFilter - * @since 3.2.0 - */ - public function getOtherFilter(Container $container): OtherFilter - { - return new OtherFilter(); - } - - /** - * Get The OtherGroup Class. - * - * @param Container $container The DI container. - * - * @return OtherGroup - * @since 3.2.0 - */ - public function getOtherGroup(Container $container): OtherGroup - { - return new OtherGroup(); - } - - /** - * Get The OtherJoin Class. - * - * @param Container $container The DI container. - * - * @return OtherJoin - * @since 3.2.0 - */ - public function getOtherJoin(Container $container): OtherJoin - { - return new OtherJoin(); - } - - /** - * Get The OtherOrder Class. - * - * @param Container $container The DI container. - * - * @return OtherOrder - * @since 3.2.0 - */ - public function getOtherOrder(Container $container): OtherOrder - { - return new OtherOrder(); - } - - /** - * Get The OtherQuery Class. - * - * @param Container $container The DI container. - * - * @return OtherQuery - * @since 3.2.0 - */ - public function getOtherQuery(Container $container): OtherQuery - { - return new OtherQuery(); - } - - /** - * Get The OtherWhere Class. - * - * @param Container $container The DI container. - * - * @return OtherWhere - * @since 3.2.0 - */ - public function getOtherWhere(Container $container): OtherWhere - { - return new OtherWhere(); - } - - /** - * Get The PermissionAction Class. - * - * @param Container $container The DI container. - * - * @return PermissionAction - * @since 3.2.0 - */ - public function getPermissionAction(Container $container): PermissionAction - { - return new PermissionAction(); - } - - /** - * Get The PermissionComponent Class. - * - * @param Container $container The DI container. - * - * @return PermissionComponent - * @since 3.2.0 - */ - public function getPermissionComponent(Container $container): PermissionComponent - { - return new PermissionComponent(); - } - - /** - * Get The PermissionCore Class. - * - * @param Container $container The DI container. - * - * @return PermissionCore - * @since 3.2.0 - */ - public function getPermissionCore(Container $container): PermissionCore - { - return new PermissionCore(); - } - - /** - * Get The PermissionDashboard Class. - * - * @param Container $container The DI container. - * - * @return PermissionDashboard - * @since 3.2.0 - */ - public function getPermissionDashboard(Container $container): PermissionDashboard - { - return new PermissionDashboard(); - } - - /** - * Get The PermissionGlobalAction Class. - * - * @param Container $container The DI container. - * - * @return PermissionGlobalAction - * @since 3.2.0 - */ - public function getPermissionGlobalAction(Container $container): PermissionGlobalAction - { - return new PermissionGlobalAction(); - } - - /** - * Get The PermissionViews Class. - * - * @param Container $container The DI container. - * - * @return PermissionViews - * @since 3.2.0 - */ - public function getPermissionViews(Container $container): PermissionViews - { - return new PermissionViews(); - } - - /** - * Get The ScriptMediaSwitch Class. - * - * @param Container $container The DI container. - * - * @return ScriptMediaSwitch - * @since 3.2.0 - */ - public function getScriptMediaSwitch(Container $container): ScriptMediaSwitch - { - return new ScriptMediaSwitch(); - } - - /** - * Get The ScriptUserSwitch Class. - * - * @param Container $container The DI container. - * - * @return ScriptUserSwitch - * @since 3.2.0 - */ - public function getScriptUserSwitch(Container $container): ScriptUserSwitch - { - return new ScriptUserSwitch(); - } - - /** - * Get The Search Class. - * - * @param Container $container The DI container. - * - * @return Search - * @since 3.2.0 - */ - public function getSearch(Container $container): Search - { - return new Search(); - } - - /** - * Get The SelectionTranslation Class. - * - * @param Container $container The DI container. - * - * @return SelectionTranslation - * @since 3.2.0 - */ - public function getSelectionTranslation(Container $container): SelectionTranslation - { - return new SelectionTranslation(); - } - - /** - * Get The SiteDecrypt Class. - * - * @param Container $container The DI container. - * - * @return SiteDecrypt - * @since 3.2.0 - */ - public function getSiteDecrypt(Container $container): SiteDecrypt - { - return new SiteDecrypt(); - } - - /** - * Get The SiteDynamicGet Class. - * - * @param Container $container The DI container. - * - * @return SiteDynamicGet - * @since 3.2.0 - */ - public function getSiteDynamicGet(Container $container): SiteDynamicGet - { - return new SiteDynamicGet(); - } - - /** - * Get The SiteEditView Class. - * - * @param Container $container The DI container. - * - * @return SiteEditView - * @since 3.2.0 - */ - public function getSiteEditView(Container $container): SiteEditView - { - return new SiteEditView(); - } - - /** - * Get The SiteFieldData Class. - * - * @param Container $container The DI container. - * - * @return SiteFieldData - * @since 3.2.0 - */ - public function getSiteFieldData(Container $container): SiteFieldData - { - return new SiteFieldData(); - } - - /** - * Get The SiteFieldDecodeFilter Class. - * - * @param Container $container The DI container. - * - * @return SiteFieldDecodeFilter - * @since 3.2.0 - */ - public function getSiteFieldDecodeFilter(Container $container): SiteFieldDecodeFilter - { - return new SiteFieldDecodeFilter(); - } - - /** - * Get The SiteFields Class. - * - * @param Container $container The DI container. - * - * @return SiteFields - * @since 3.2.0 - */ - public function getSiteFields(Container $container): SiteFields - { - return new SiteFields(); - } - - /** - * Get The SiteMainGet Class. - * - * @param Container $container The DI container. - * - * @return SiteMainGet - * @since 3.2.0 - */ - public function getSiteMainGet(Container $container): SiteMainGet - { - return new SiteMainGet(); - } - - /** - * Get The Sort Class. - * - * @param Container $container The DI container. - * - * @return Sort - * @since 3.2.0 - */ - public function getSort(Container $container): Sort - { - return new Sort(); - } - - /** - * Get The TabCounter Class. - * - * @param Container $container The DI container. - * - * @return TabCounter - * @since 3.2.0 - */ - public function getTabCounter(Container $container): TabCounter - { - return new TabCounter(); - } - - /** - * Get The Tags Class. - * - * @param Container $container The DI container. - * - * @return Tags - * @since 3.2.0 - */ - public function getTags(Container $container): Tags - { - return new Tags(); - } - - /** - * Get The TemplateData Class. - * - * @param Container $container The DI container. - * - * @return TemplateData - * @since 3.2.0 - */ - public function getTemplateData(Container $container): TemplateData - { - return new TemplateData(); - } - - /** - * Get The Title Class. - * - * @param Container $container The DI container. - * - * @return Title - * @since 3.2.0 - */ - public function getTitle(Container $container): Title - { - return new Title(); - } - - /** - * Get The UikitComp Class. - * - * @param Container $container The DI container. - * - * @return UikitComp - * @since 3.2.0 - */ - public function getUikitComp(Container $container): UikitComp - { - return new UikitComp(); - } - - /** - * Get The UpdateMysql Class. - * - * @param Container $container The DI container. - * - * @return UpdateMysql - * @since 3.2.0 - */ - public function getUpdateMysql(Container $container): UpdateMysql - { - return new UpdateMysql(); + /** + * Registers the service provider with a DI container. + * + * @param Container $container The DI container. + * + * @return void + * @since 3.2.0 + */ + public function register(Container $container) + { + $container->alias(AccessSwitch::class, 'Compiler.Builder.Access.Switch') + ->share('Compiler.Builder.Access.Switch', [$this, 'getAccessSwitch'], true); + + $container->alias(AccessSwitchList::class, 'Compiler.Builder.Access.Switch.List') + ->share('Compiler.Builder.Access.Switch.List', [$this, 'getAccessSwitchList'], true); + + $container->alias(AdminFilterType::class, 'Compiler.Builder.Admin.Filter.Type') + ->share('Compiler.Builder.Admin.Filter.Type', [$this, 'getAdminFilterType'], true); + + $container->alias(Alias::class, 'Compiler.Builder.Alias') + ->share('Compiler.Builder.Alias', [$this, 'getAlias'], true); + + $container->alias(BaseSixFour::class, 'Compiler.Builder.Base.Six.Four') + ->share('Compiler.Builder.Base.Six.Four', [$this, 'getBaseSixFour'], true); + + $container->alias(Category::class, 'Compiler.Builder.Category') + ->share('Compiler.Builder.Category', [$this, 'getCategory'], true); + + $container->alias(CategoryCode::class, 'Compiler.Builder.Category.Code') + ->share('Compiler.Builder.Category.Code', [$this, 'getCategoryCode'], true); + + $container->alias(CategoryOtherName::class, 'Compiler.Builder.Category.Other.Name') + ->share('Compiler.Builder.Category.Other.Name', [$this, 'getCategoryOtherName'], true); + + $container->alias(CheckBox::class, 'Compiler.Builder.Check.Box') + ->share('Compiler.Builder.Check.Box', [$this, 'getCheckBox'], true); + + $container->alias(ComponentFields::class, 'Compiler.Builder.Component.Fields') + ->share('Compiler.Builder.Component.Fields', [$this, 'getComponentFields'], true); + + $container->alias(ContentMulti::class, 'Compiler.Builder.Content.Multi') + ->share('Compiler.Builder.Content.Multi', [$this, 'getContentMulti'], true); + + $container->alias(ContentOne::class, 'Compiler.Builder.Content.One') + ->share('Compiler.Builder.Content.One', [$this, 'getContentOne'], true); + + $container->alias(CustomAlias::class, 'Compiler.Builder.Custom.Alias') + ->share('Compiler.Builder.Custom.Alias', [$this, 'getCustomAlias'], true); + + $container->alias(CustomField::class, 'Compiler.Builder.Custom.Field') + ->share('Compiler.Builder.Custom.Field', [$this, 'getCustomField'], true); + + $container->alias(CustomFieldLinks::class, 'Compiler.Builder.Custom.Field.Links') + ->share('Compiler.Builder.Custom.Field.Links', [$this, 'getCustomFieldLinks'], true); + + $container->alias(CustomList::class, 'Compiler.Builder.Custom.List') + ->share('Compiler.Builder.Custom.List', [$this, 'getCustomList'], true); + + $container->alias(CustomTabs::class, 'Compiler.Builder.Custom.Tabs') + ->share('Compiler.Builder.Custom.Tabs', [$this, 'getCustomTabs'], true); + + $container->alias(DatabaseKeys::class, 'Compiler.Builder.Database.Keys') + ->share('Compiler.Builder.Database.Keys', [$this, 'getDatabaseKeys'], true); + + $container->alias(DatabaseTables::class, 'Compiler.Builder.Database.Tables') + ->share('Compiler.Builder.Database.Tables', [$this, 'getDatabaseTables'], true); + + $container->alias(DatabaseUniqueGuid::class, 'Compiler.Builder.Database.Unique.Guid') + ->share('Compiler.Builder.Database.Unique.Guid', [$this, 'getDatabaseUniqueGuid'], true); + + $container->alias(DatabaseUniqueKeys::class, 'Compiler.Builder.Database.Unique.Keys') + ->share('Compiler.Builder.Database.Unique.Keys', [$this, 'getDatabaseUniqueKeys'], true); + + $container->alias(DoNotEscape::class, 'Compiler.Builder.Do.Not.Escape') + ->share('Compiler.Builder.Do.Not.Escape', [$this, 'getDoNotEscape'], true); + + $container->alias(DynamicFields::class, 'Compiler.Builder.Dynamic.Fields') + ->share('Compiler.Builder.Dynamic.Fields', [$this, 'getDynamicFields'], true); + + $container->alias(ExtensionCustomFields::class, 'Compiler.Builder.Extension.Custom.Fields') + ->share('Compiler.Builder.Extension.Custom.Fields', [$this, 'getExtensionCustomFields'], true); + + $container->alias(FieldGroupControl::class, 'Compiler.Builder.Field.Group.Control') + ->share('Compiler.Builder.Field.Group.Control', [$this, 'getFieldGroupControl'], true); + + $container->alias(FieldNames::class, 'Compiler.Builder.Field.Names') + ->share('Compiler.Builder.Field.Names', [$this, 'getFieldNames'], true); + + $container->alias(FieldRelations::class, 'Compiler.Builder.Field.Relations') + ->share('Compiler.Builder.Field.Relations', [$this, 'getFieldRelations'], true); + + $container->alias(Filter::class, 'Compiler.Builder.Filter') + ->share('Compiler.Builder.Filter', [$this, 'getFilter'], true); + + $container->alias(FootableScripts::class, 'Compiler.Builder.Footable.Scripts') + ->share('Compiler.Builder.Footable.Scripts', [$this, 'getFootableScripts'], true); + + $container->alias(GetAsLookup::class, 'Compiler.Builder.Get.As.Lookup') + ->share('Compiler.Builder.Get.As.Lookup', [$this, 'getGetAsLookup'], true); + + $container->alias(GetModule::class, 'Compiler.Builder.Get.Module') + ->share('Compiler.Builder.Get.Module', [$this, 'getGetModule'], true); + + $container->alias(GoogleChart::class, 'Compiler.Builder.Google.Chart') + ->share('Compiler.Builder.Google.Chart', [$this, 'getGoogleChart'], true); + + $container->alias(HasPermissions::class, 'Compiler.Builder.Has.Permissions') + ->share('Compiler.Builder.Has.Permissions', [$this, 'getHasPermissions'], true); + + $container->alias(HiddenFields::class, 'Compiler.Builder.Hidden.Fields') + ->share('Compiler.Builder.Hidden.Fields', [$this, 'getHiddenFields'], true); + + $container->alias(History::class, 'Compiler.Builder.History') + ->share('Compiler.Builder.History', [$this, 'getHistory'], true); + + $container->alias(IntegerFields::class, 'Compiler.Builder.Integer.Fields') + ->share('Compiler.Builder.Integer.Fields', [$this, 'getIntegerFields'], true); + + $container->alias(ItemsMethodEximportString::class, 'Compiler.Builder.Items.Method.Eximport.String') + ->share('Compiler.Builder.Items.Method.Eximport.String', [$this, 'getItemsMethodEximportString'], true); + + $container->alias(ItemsMethodListString::class, 'Compiler.Builder.Items.Method.List.String') + ->share('Compiler.Builder.Items.Method.List.String', [$this, 'getItemsMethodListString'], true); + + $container->alias(JsonItem::class, 'Compiler.Builder.Json.Item') + ->share('Compiler.Builder.Json.Item', [$this, 'getJsonItem'], true); + + $container->alias(JsonItemArray::class, 'Compiler.Builder.Json.Item.Array') + ->share('Compiler.Builder.Json.Item.Array', [$this, 'getJsonItemArray'], true); + + $container->alias(JsonString::class, 'Compiler.Builder.Json.String') + ->share('Compiler.Builder.Json.String', [$this, 'getJsonString'], true); + + $container->alias(Layout::class, 'Compiler.Builder.Layout') + ->share('Compiler.Builder.Layout', [$this, 'getLayout'], true); + + $container->alias(LayoutData::class, 'Compiler.Builder.Layout.Data') + ->share('Compiler.Builder.Layout.Data', [$this, 'getLayoutData'], true); + + $container->alias(LibraryManager::class, 'Compiler.Builder.Library.Manager') + ->share('Compiler.Builder.Library.Manager', [$this, 'getLibraryManager'], true); + + $container->alias(ListFieldClass::class, 'Compiler.Builder.List.Field.Class') + ->share('Compiler.Builder.List.Field.Class', [$this, 'getListFieldClass'], true); + + $container->alias(ListHeadOverride::class, 'Compiler.Builder.List.Head.Override') + ->share('Compiler.Builder.List.Head.Override', [$this, 'getListHeadOverride'], true); + + $container->alias(ListJoin::class, 'Compiler.Builder.List.Join') + ->share('Compiler.Builder.List.Join', [$this, 'getListJoin'], true); + + $container->alias(Lists::class, 'Compiler.Builder.Lists') + ->share('Compiler.Builder.Lists', [$this, 'getLists'], true); + + $container->alias(MainTextField::class, 'Compiler.Builder.Main.Text.Field') + ->share('Compiler.Builder.Main.Text.Field', [$this, 'getMainTextField'], true); + + $container->alias(MetaData::class, 'Compiler.Builder.Meta.Data') + ->share('Compiler.Builder.Meta.Data', [$this, 'getMetaData'], true); + + $container->alias(ModelBasicField::class, 'Compiler.Builder.Model.Basic.Field') + ->share('Compiler.Builder.Model.Basic.Field', [$this, 'getModelBasicField'], true); + + $container->alias(ModelExpertField::class, 'Compiler.Builder.Model.Expert.Field') + ->share('Compiler.Builder.Model.Expert.Field', [$this, 'getModelExpertField'], true); + + $container->alias(ModelExpertFieldInitiator::class, 'Compiler.Builder.Model.Expert.Field.Initiator') + ->share('Compiler.Builder.Model.Expert.Field.Initiator', [$this, 'getModelExpertFieldInitiator'], true); + + $container->alias(ModelMediumField::class, 'Compiler.Builder.Model.Medium.Field') + ->share('Compiler.Builder.Model.Medium.Field', [$this, 'getModelMediumField'], true); + + $container->alias(ModelWhmcsField::class, 'Compiler.Builder.Model.Whmcs.Field') + ->share('Compiler.Builder.Model.Whmcs.Field', [$this, 'getModelWhmcsField'], true); + + $container->alias(MovedPublishingFields::class, 'Compiler.Builder.Moved.Publishing.Fields') + ->share('Compiler.Builder.Moved.Publishing.Fields', [$this, 'getMovedPublishingFields'], true); + + $container->alias(MysqlTableSetting::class, 'Compiler.Builder.Mysql.Table.Setting') + ->share('Compiler.Builder.Mysql.Table.Setting', [$this, 'getMysqlTableSetting'], true); + + $container->alias(NewPublishingFields::class, 'Compiler.Builder.New.Publishing.Fields') + ->share('Compiler.Builder.New.Publishing.Fields', [$this, 'getNewPublishingFields'], true); + + $container->alias(OrderZero::class, 'Compiler.Builder.Order.Zero') + ->share('Compiler.Builder.Order.Zero', [$this, 'getOrderZero'], true); + + $container->alias(OtherFilter::class, 'Compiler.Builder.Other.Filter') + ->share('Compiler.Builder.Other.Filter', [$this, 'getOtherFilter'], true); + + $container->alias(OtherGroup::class, 'Compiler.Builder.Other.Group') + ->share('Compiler.Builder.Other.Group', [$this, 'getOtherGroup'], true); + + $container->alias(OtherJoin::class, 'Compiler.Builder.Other.Join') + ->share('Compiler.Builder.Other.Join', [$this, 'getOtherJoin'], true); + + $container->alias(OtherOrder::class, 'Compiler.Builder.Other.Order') + ->share('Compiler.Builder.Other.Order', [$this, 'getOtherOrder'], true); + + $container->alias(OtherQuery::class, 'Compiler.Builder.Other.Query') + ->share('Compiler.Builder.Other.Query', [$this, 'getOtherQuery'], true); + + $container->alias(OtherWhere::class, 'Compiler.Builder.Other.Where') + ->share('Compiler.Builder.Other.Where', [$this, 'getOtherWhere'], true); + + $container->alias(PermissionAction::class, 'Compiler.Builder.Permission.Action') + ->share('Compiler.Builder.Permission.Action', [$this, 'getPermissionAction'], true); + + $container->alias(PermissionComponent::class, 'Compiler.Builder.Permission.Component') + ->share('Compiler.Builder.Permission.Component', [$this, 'getPermissionComponent'], true); + + $container->alias(PermissionCore::class, 'Compiler.Builder.Permission.Core') + ->share('Compiler.Builder.Permission.Core', [$this, 'getPermissionCore'], true); + + $container->alias(PermissionDashboard::class, 'Compiler.Builder.Permission.Dashboard') + ->share('Compiler.Builder.Permission.Dashboard', [$this, 'getPermissionDashboard'], true); + + $container->alias(PermissionGlobalAction::class, 'Compiler.Builder.Permission.Global.Action') + ->share('Compiler.Builder.Permission.Global.Action', [$this, 'getPermissionGlobalAction'], true); + + $container->alias(PermissionViews::class, 'Compiler.Builder.Permission.Views') + ->share('Compiler.Builder.Permission.Views', [$this, 'getPermissionViews'], true); + + $container->alias(ScriptMediaSwitch::class, 'Compiler.Builder.Script.Media.Switch') + ->share('Compiler.Builder.Script.Media.Switch', [$this, 'getScriptMediaSwitch'], true); + + $container->alias(ScriptUserSwitch::class, 'Compiler.Builder.Script.User.Switch') + ->share('Compiler.Builder.Script.User.Switch', [$this, 'getScriptUserSwitch'], true); + + $container->alias(Search::class, 'Compiler.Builder.Search') + ->share('Compiler.Builder.Search', [$this, 'getSearch'], true); + + $container->alias(SelectionTranslation::class, 'Compiler.Builder.Selection.Translation') + ->share('Compiler.Builder.Selection.Translation', [$this, 'getSelectionTranslation'], true); + + $container->alias(SiteDecrypt::class, 'Compiler.Builder.Site.Decrypt') + ->share('Compiler.Builder.Site.Decrypt', [$this, 'getSiteDecrypt'], true); + + $container->alias(SiteDynamicGet::class, 'Compiler.Builder.Site.Dynamic.Get') + ->share('Compiler.Builder.Site.Dynamic.Get', [$this, 'getSiteDynamicGet'], true); + + $container->alias(SiteEditView::class, 'Compiler.Builder.Site.Edit.View') + ->share('Compiler.Builder.Site.Edit.View', [$this, 'getSiteEditView'], true); + + $container->alias(SiteFieldData::class, 'Compiler.Builder.Site.Field.Data') + ->share('Compiler.Builder.Site.Field.Data', [$this, 'getSiteFieldData'], true); + + $container->alias(SiteFieldDecodeFilter::class, 'Compiler.Builder.Site.Field.Decode.Filter') + ->share('Compiler.Builder.Site.Field.Decode.Filter', [$this, 'getSiteFieldDecodeFilter'], true); + + $container->alias(SiteFields::class, 'Compiler.Builder.Site.Fields') + ->share('Compiler.Builder.Site.Fields', [$this, 'getSiteFields'], true); + + $container->alias(SiteMainGet::class, 'Compiler.Builder.Site.Main.Get') + ->share('Compiler.Builder.Site.Main.Get', [$this, 'getSiteMainGet'], true); + + $container->alias(Sort::class, 'Compiler.Builder.Sort') + ->share('Compiler.Builder.Sort', [$this, 'getSort'], true); + + $container->alias(TabCounter::class, 'Compiler.Builder.Tab.Counter') + ->share('Compiler.Builder.Tab.Counter', [$this, 'getTabCounter'], true); + + $container->alias(Tags::class, 'Compiler.Builder.Tags') + ->share('Compiler.Builder.Tags', [$this, 'getTags'], true); + + $container->alias(TemplateData::class, 'Compiler.Builder.Template.Data') + ->share('Compiler.Builder.Template.Data', [$this, 'getTemplateData'], true); + + $container->alias(Title::class, 'Compiler.Builder.Title') + ->share('Compiler.Builder.Title', [$this, 'getTitle'], true); + + $container->alias(UikitComp::class, 'Compiler.Builder.Uikit.Comp') + ->share('Compiler.Builder.Uikit.Comp', [$this, 'getUikitComp'], true); + + $container->alias(UpdateMysql::class, 'Compiler.Builder.Update.Mysql') + ->share('Compiler.Builder.Update.Mysql', [$this, 'getUpdateMysql'], true); + } + + /** + * Get The AccessSwitch Class. + * + * @param Container $container The DI container. + * + * @return AccessSwitch + * @since 3.2.0 + */ + public function getAccessSwitch(Container $container): AccessSwitch + { + return new AccessSwitch(); + } + + /** + * Get The AccessSwitchList Class. + * + * @param Container $container The DI container. + * + * @return AccessSwitchList + * @since 3.2.0 + */ + public function getAccessSwitchList(Container $container): AccessSwitchList + { + return new AccessSwitchList(); + } + + /** + * Get The AdminFilterType Class. + * + * @param Container $container The DI container. + * + * @return AdminFilterType + * @since 3.2.0 + */ + public function getAdminFilterType(Container $container): AdminFilterType + { + return new AdminFilterType(); + } + + /** + * Get The Alias Class. + * + * @param Container $container The DI container. + * + * @return Alias + * @since 3.2.0 + */ + public function getAlias(Container $container): Alias + { + return new Alias(); + } + + /** + * Get The BaseSixFour Class. + * + * @param Container $container The DI container. + * + * @return BaseSixFour + * @since 3.2.0 + */ + public function getBaseSixFour(Container $container): BaseSixFour + { + return new BaseSixFour(); + } + + /** + * Get The Category Class. + * + * @param Container $container The DI container. + * + * @return Category + * @since 3.2.0 + */ + public function getCategory(Container $container): Category + { + return new Category(); + } + + /** + * Get The CategoryCode Class. + * + * @param Container $container The DI container. + * + * @return CategoryCode + * @since 3.2.0 + */ + public function getCategoryCode(Container $container): CategoryCode + { + return new CategoryCode(); + } + + /** + * Get The CategoryOtherName Class. + * + * @param Container $container The DI container. + * + * @return CategoryOtherName + * @since 3.2.0 + */ + public function getCategoryOtherName(Container $container): CategoryOtherName + { + return new CategoryOtherName(); + } + + /** + * Get The CheckBox Class. + * + * @param Container $container The DI container. + * + * @return CheckBox + * @since 3.2.0 + */ + public function getCheckBox(Container $container): CheckBox + { + return new CheckBox(); + } + + /** + * Get The ComponentFields Class. + * + * @param Container $container The DI container. + * + * @return ComponentFields + * @since 3.2.0 + */ + public function getComponentFields(Container $container): ComponentFields + { + return new ComponentFields(); + } + + /** + * Get The ContentMulti Class. + * + * @param Container $container The DI container. + * + * @return ContentMulti + * @since 3.2.0 + */ + public function getContentMulti(Container $container): ContentMulti + { + return new ContentMulti(); + } + + /** + * Get The ContentOne Class. + * + * @param Container $container The DI container. + * + * @return ContentOne + * @since 3.2.0 + */ + public function getContentOne(Container $container): ContentOne + { + return new ContentOne(); + } + + /** + * Get The CustomAlias Class. + * + * @param Container $container The DI container. + * + * @return CustomAlias + * @since 3.2.0 + */ + public function getCustomAlias(Container $container): CustomAlias + { + return new CustomAlias(); + } + + /** + * Get The CustomField Class. + * + * @param Container $container The DI container. + * + * @return CustomField + * @since 3.2.0 + */ + public function getCustomField(Container $container): CustomField + { + return new CustomField(); + } + + /** + * Get The CustomFieldLinks Class. + * + * @param Container $container The DI container. + * + * @return CustomFieldLinks + * @since 3.2.0 + */ + public function getCustomFieldLinks(Container $container): CustomFieldLinks + { + return new CustomFieldLinks(); + } + + /** + * Get The CustomList Class. + * + * @param Container $container The DI container. + * + * @return CustomList + * @since 3.2.0 + */ + public function getCustomList(Container $container): CustomList + { + return new CustomList(); + } + + /** + * Get The CustomTabs Class. + * + * @param Container $container The DI container. + * + * @return CustomTabs + * @since 3.2.0 + */ + public function getCustomTabs(Container $container): CustomTabs + { + return new CustomTabs(); + } + + /** + * Get The DatabaseKeys Class. + * + * @param Container $container The DI container. + * + * @return DatabaseKeys + * @since 3.2.0 + */ + public function getDatabaseKeys(Container $container): DatabaseKeys + { + return new DatabaseKeys(); + } + + /** + * Get The DatabaseTables Class. + * + * @param Container $container The DI container. + * + * @return DatabaseTables + * @since 3.2.0 + */ + public function getDatabaseTables(Container $container): DatabaseTables + { + return new DatabaseTables(); + } + + /** + * Get The DatabaseUniqueGuid Class. + * + * @param Container $container The DI container. + * + * @return DatabaseUniqueGuid + * @since 3.2.0 + */ + public function getDatabaseUniqueGuid(Container $container): DatabaseUniqueGuid + { + return new DatabaseUniqueGuid(); + } + + /** + * Get The DatabaseUniqueKeys Class. + * + * @param Container $container The DI container. + * + * @return DatabaseUniqueKeys + * @since 3.2.0 + */ + public function getDatabaseUniqueKeys(Container $container): DatabaseUniqueKeys + { + return new DatabaseUniqueKeys(); + } + + /** + * Get The DoNotEscape Class. + * + * @param Container $container The DI container. + * + * @return DoNotEscape + * @since 3.2.0 + */ + public function getDoNotEscape(Container $container): DoNotEscape + { + return new DoNotEscape(); + } + + /** + * Get The DynamicFields Class. + * + * @param Container $container The DI container. + * + * @return DynamicFields + * @since 3.2.0 + */ + public function getDynamicFields(Container $container): DynamicFields + { + return new DynamicFields(); + } + + /** + * Get The ExtensionCustomFields Class. + * + * @param Container $container The DI container. + * + * @return ExtensionCustomFields + * @since 3.2.0 + */ + public function getExtensionCustomFields(Container $container): ExtensionCustomFields + { + return new ExtensionCustomFields(); + } + + /** + * Get The FieldGroupControl Class. + * + * @param Container $container The DI container. + * + * @return FieldGroupControl + * @since 3.2.0 + */ + public function getFieldGroupControl(Container $container): FieldGroupControl + { + return new FieldGroupControl(); + } + + /** + * Get The FieldNames Class. + * + * @param Container $container The DI container. + * + * @return FieldNames + * @since 3.2.0 + */ + public function getFieldNames(Container $container): FieldNames + { + return new FieldNames(); + } + + /** + * Get The FieldRelations Class. + * + * @param Container $container The DI container. + * + * @return FieldRelations + * @since 3.2.0 + */ + public function getFieldRelations(Container $container): FieldRelations + { + return new FieldRelations(); + } + + /** + * Get The Filter Class. + * + * @param Container $container The DI container. + * + * @return Filter + * @since 3.2.0 + */ + public function getFilter(Container $container): Filter + { + return new Filter(); + } + + /** + * Get The FootableScripts Class. + * + * @param Container $container The DI container. + * + * @return FootableScripts + * @since 3.2.0 + */ + public function getFootableScripts(Container $container): FootableScripts + { + return new FootableScripts(); + } + + /** + * Get The GetAsLookup Class. + * + * @param Container $container The DI container. + * + * @return GetAsLookup + * @since 3.2.0 + */ + public function getGetAsLookup(Container $container): GetAsLookup + { + return new GetAsLookup(); + } + + /** + * Get The GetModule Class. + * + * @param Container $container The DI container. + * + * @return GetModule + * @since 3.2.0 + */ + public function getGetModule(Container $container): GetModule + { + return new GetModule(); + } + + /** + * Get The GoogleChart Class. + * + * @param Container $container The DI container. + * + * @return GoogleChart + * @since 3.2.0 + */ + public function getGoogleChart(Container $container): GoogleChart + { + return new GoogleChart(); + } + + /** + * Get The HasPermissions Class. + * + * @param Container $container The DI container. + * + * @return HasPermissions + * @since 3.2.0 + */ + public function getHasPermissions(Container $container): HasPermissions + { + return new HasPermissions(); + } + + /** + * Get The HiddenFields Class. + * + * @param Container $container The DI container. + * + * @return HiddenFields + * @since 3.2.0 + */ + public function getHiddenFields(Container $container): HiddenFields + { + return new HiddenFields(); + } + + /** + * Get The History Class. + * + * @param Container $container The DI container. + * + * @return History + * @since 3.2.0 + */ + public function getHistory(Container $container): History + { + return new History(); + } + + /** + * Get The IntegerFields Class. + * + * @param Container $container The DI container. + * + * @return IntegerFields + * @since 3.2.0 + */ + public function getIntegerFields(Container $container): IntegerFields + { + return new IntegerFields(); + } + + /** + * Get The ItemsMethodEximportString Class. + * + * @param Container $container The DI container. + * + * @return ItemsMethodEximportString + * @since 3.2.0 + */ + public function getItemsMethodEximportString(Container $container): ItemsMethodEximportString + { + return new ItemsMethodEximportString(); + } + + /** + * Get The ItemsMethodListString Class. + * + * @param Container $container The DI container. + * + * @return ItemsMethodListString + * @since 3.2.0 + */ + public function getItemsMethodListString(Container $container): ItemsMethodListString + { + return new ItemsMethodListString(); + } + + /** + * Get The JsonItem Class. + * + * @param Container $container The DI container. + * + * @return JsonItem + * @since 3.2.0 + */ + public function getJsonItem(Container $container): JsonItem + { + return new JsonItem(); + } + + /** + * Get The JsonItemArray Class. + * + * @param Container $container The DI container. + * + * @return JsonItemArray + * @since 3.2.0 + */ + public function getJsonItemArray(Container $container): JsonItemArray + { + return new JsonItemArray(); + } + + /** + * Get The JsonString Class. + * + * @param Container $container The DI container. + * + * @return JsonString + * @since 3.2.0 + */ + public function getJsonString(Container $container): JsonString + { + return new JsonString(); + } + + /** + * Get The Layout Class. + * + * @param Container $container The DI container. + * + * @return Layout + * @since 3.2.0 + */ + public function getLayout(Container $container): Layout + { + return new Layout(); + } + + /** + * Get The LayoutData Class. + * + * @param Container $container The DI container. + * + * @return LayoutData + * @since 3.2.0 + */ + public function getLayoutData(Container $container): LayoutData + { + return new LayoutData(); + } + + /** + * Get The LibraryManager Class. + * + * @param Container $container The DI container. + * + * @return LibraryManager + * @since 3.2.0 + */ + public function getLibraryManager(Container $container): LibraryManager + { + return new LibraryManager(); + } + + /** + * Get The ListFieldClass Class. + * + * @param Container $container The DI container. + * + * @return ListFieldClass + * @since 3.2.0 + */ + public function getListFieldClass(Container $container): ListFieldClass + { + return new ListFieldClass(); + } + + /** + * Get The ListHeadOverride Class. + * + * @param Container $container The DI container. + * + * @return ListHeadOverride + * @since 3.2.0 + */ + public function getListHeadOverride(Container $container): ListHeadOverride + { + return new ListHeadOverride(); + } + + /** + * Get The ListJoin Class. + * + * @param Container $container The DI container. + * + * @return ListJoin + * @since 3.2.0 + */ + public function getListJoin(Container $container): ListJoin + { + return new ListJoin(); + } + + /** + * Get The Lists Class. + * + * @param Container $container The DI container. + * + * @return Lists + * @since 3.2.0 + */ + public function getLists(Container $container): Lists + { + return new Lists(); + } + + /** + * Get The MainTextField Class. + * + * @param Container $container The DI container. + * + * @return MainTextField + * @since 3.2.0 + */ + public function getMainTextField(Container $container): MainTextField + { + return new MainTextField(); + } + + /** + * Get The MetaData Class. + * + * @param Container $container The DI container. + * + * @return MetaData + * @since 3.2.0 + */ + public function getMetaData(Container $container): MetaData + { + return new MetaData(); + } + + /** + * Get The ModelBasicField Class. + * + * @param Container $container The DI container. + * + * @return ModelBasicField + * @since 3.2.0 + */ + public function getModelBasicField(Container $container): ModelBasicField + { + return new ModelBasicField(); + } + + /** + * Get The ModelExpertField Class. + * + * @param Container $container The DI container. + * + * @return ModelExpertField + * @since 3.2.0 + */ + public function getModelExpertField(Container $container): ModelExpertField + { + return new ModelExpertField(); + } + + /** + * Get The ModelExpertFieldInitiator Class. + * + * @param Container $container The DI container. + * + * @return ModelExpertFieldInitiator + * @since 3.2.0 + */ + public function getModelExpertFieldInitiator(Container $container): ModelExpertFieldInitiator + { + return new ModelExpertFieldInitiator(); + } + + /** + * Get The ModelMediumField Class. + * + * @param Container $container The DI container. + * + * @return ModelMediumField + * @since 3.2.0 + */ + public function getModelMediumField(Container $container): ModelMediumField + { + return new ModelMediumField(); + } + + /** + * Get The ModelWhmcsField Class. + * + * @param Container $container The DI container. + * + * @return ModelWhmcsField + * @since 3.2.0 + */ + public function getModelWhmcsField(Container $container): ModelWhmcsField + { + return new ModelWhmcsField(); + } + + /** + * Get The MovedPublishingFields Class. + * + * @param Container $container The DI container. + * + * @return MovedPublishingFields + * @since 3.2.0 + */ + public function getMovedPublishingFields(Container $container): MovedPublishingFields + { + return new MovedPublishingFields(); + } + + /** + * Get The MysqlTableSetting Class. + * + * @param Container $container The DI container. + * + * @return MysqlTableSetting + * @since 3.2.0 + */ + public function getMysqlTableSetting(Container $container): MysqlTableSetting + { + return new MysqlTableSetting(); + } + + /** + * Get The NewPublishingFields Class. + * + * @param Container $container The DI container. + * + * @return NewPublishingFields + * @since 3.2.0 + */ + public function getNewPublishingFields(Container $container): NewPublishingFields + { + return new NewPublishingFields(); + } + + /** + * Get The OrderZero Class. + * + * @param Container $container The DI container. + * + * @return OrderZero + * @since 3.2.0 + */ + public function getOrderZero(Container $container): OrderZero + { + return new OrderZero(); + } + + /** + * Get The OtherFilter Class. + * + * @param Container $container The DI container. + * + * @return OtherFilter + * @since 3.2.0 + */ + public function getOtherFilter(Container $container): OtherFilter + { + return new OtherFilter(); + } + + /** + * Get The OtherGroup Class. + * + * @param Container $container The DI container. + * + * @return OtherGroup + * @since 3.2.0 + */ + public function getOtherGroup(Container $container): OtherGroup + { + return new OtherGroup(); + } + + /** + * Get The OtherJoin Class. + * + * @param Container $container The DI container. + * + * @return OtherJoin + * @since 3.2.0 + */ + public function getOtherJoin(Container $container): OtherJoin + { + return new OtherJoin(); + } + + /** + * Get The OtherOrder Class. + * + * @param Container $container The DI container. + * + * @return OtherOrder + * @since 3.2.0 + */ + public function getOtherOrder(Container $container): OtherOrder + { + return new OtherOrder(); + } + + /** + * Get The OtherQuery Class. + * + * @param Container $container The DI container. + * + * @return OtherQuery + * @since 3.2.0 + */ + public function getOtherQuery(Container $container): OtherQuery + { + return new OtherQuery(); + } + + /** + * Get The OtherWhere Class. + * + * @param Container $container The DI container. + * + * @return OtherWhere + * @since 3.2.0 + */ + public function getOtherWhere(Container $container): OtherWhere + { + return new OtherWhere(); + } + + /** + * Get The PermissionAction Class. + * + * @param Container $container The DI container. + * + * @return PermissionAction + * @since 3.2.0 + */ + public function getPermissionAction(Container $container): PermissionAction + { + return new PermissionAction(); + } + + /** + * Get The PermissionComponent Class. + * + * @param Container $container The DI container. + * + * @return PermissionComponent + * @since 3.2.0 + */ + public function getPermissionComponent(Container $container): PermissionComponent + { + return new PermissionComponent(); + } + + /** + * Get The PermissionCore Class. + * + * @param Container $container The DI container. + * + * @return PermissionCore + * @since 3.2.0 + */ + public function getPermissionCore(Container $container): PermissionCore + { + return new PermissionCore(); + } + + /** + * Get The PermissionDashboard Class. + * + * @param Container $container The DI container. + * + * @return PermissionDashboard + * @since 3.2.0 + */ + public function getPermissionDashboard(Container $container): PermissionDashboard + { + return new PermissionDashboard(); + } + + /** + * Get The PermissionGlobalAction Class. + * + * @param Container $container The DI container. + * + * @return PermissionGlobalAction + * @since 3.2.0 + */ + public function getPermissionGlobalAction(Container $container): PermissionGlobalAction + { + return new PermissionGlobalAction(); + } + + /** + * Get The PermissionViews Class. + * + * @param Container $container The DI container. + * + * @return PermissionViews + * @since 3.2.0 + */ + public function getPermissionViews(Container $container): PermissionViews + { + return new PermissionViews(); + } + + /** + * Get The ScriptMediaSwitch Class. + * + * @param Container $container The DI container. + * + * @return ScriptMediaSwitch + * @since 3.2.0 + */ + public function getScriptMediaSwitch(Container $container): ScriptMediaSwitch + { + return new ScriptMediaSwitch(); + } + + /** + * Get The ScriptUserSwitch Class. + * + * @param Container $container The DI container. + * + * @return ScriptUserSwitch + * @since 3.2.0 + */ + public function getScriptUserSwitch(Container $container): ScriptUserSwitch + { + return new ScriptUserSwitch(); + } + + /** + * Get The Search Class. + * + * @param Container $container The DI container. + * + * @return Search + * @since 3.2.0 + */ + public function getSearch(Container $container): Search + { + return new Search(); + } + + /** + * Get The SelectionTranslation Class. + * + * @param Container $container The DI container. + * + * @return SelectionTranslation + * @since 3.2.0 + */ + public function getSelectionTranslation(Container $container): SelectionTranslation + { + return new SelectionTranslation(); + } + + /** + * Get The SiteDecrypt Class. + * + * @param Container $container The DI container. + * + * @return SiteDecrypt + * @since 3.2.0 + */ + public function getSiteDecrypt(Container $container): SiteDecrypt + { + return new SiteDecrypt(); + } + + /** + * Get The SiteDynamicGet Class. + * + * @param Container $container The DI container. + * + * @return SiteDynamicGet + * @since 3.2.0 + */ + public function getSiteDynamicGet(Container $container): SiteDynamicGet + { + return new SiteDynamicGet(); + } + + /** + * Get The SiteEditView Class. + * + * @param Container $container The DI container. + * + * @return SiteEditView + * @since 3.2.0 + */ + public function getSiteEditView(Container $container): SiteEditView + { + return new SiteEditView(); + } + + /** + * Get The SiteFieldData Class. + * + * @param Container $container The DI container. + * + * @return SiteFieldData + * @since 3.2.0 + */ + public function getSiteFieldData(Container $container): SiteFieldData + { + return new SiteFieldData(); + } + + /** + * Get The SiteFieldDecodeFilter Class. + * + * @param Container $container The DI container. + * + * @return SiteFieldDecodeFilter + * @since 3.2.0 + */ + public function getSiteFieldDecodeFilter(Container $container): SiteFieldDecodeFilter + { + return new SiteFieldDecodeFilter(); + } + + /** + * Get The SiteFields Class. + * + * @param Container $container The DI container. + * + * @return SiteFields + * @since 3.2.0 + */ + public function getSiteFields(Container $container): SiteFields + { + return new SiteFields(); + } + + /** + * Get The SiteMainGet Class. + * + * @param Container $container The DI container. + * + * @return SiteMainGet + * @since 3.2.0 + */ + public function getSiteMainGet(Container $container): SiteMainGet + { + return new SiteMainGet(); + } + + /** + * Get The Sort Class. + * + * @param Container $container The DI container. + * + * @return Sort + * @since 3.2.0 + */ + public function getSort(Container $container): Sort + { + return new Sort(); + } + + /** + * Get The TabCounter Class. + * + * @param Container $container The DI container. + * + * @return TabCounter + * @since 3.2.0 + */ + public function getTabCounter(Container $container): TabCounter + { + return new TabCounter(); + } + + /** + * Get The Tags Class. + * + * @param Container $container The DI container. + * + * @return Tags + * @since 3.2.0 + */ + public function getTags(Container $container): Tags + { + return new Tags(); + } + + /** + * Get The TemplateData Class. + * + * @param Container $container The DI container. + * + * @return TemplateData + * @since 3.2.0 + */ + public function getTemplateData(Container $container): TemplateData + { + return new TemplateData(); + } + + /** + * Get The Title Class. + * + * @param Container $container The DI container. + * + * @return Title + * @since 3.2.0 + */ + public function getTitle(Container $container): Title + { + return new Title(); + } + + /** + * Get The UikitComp Class. + * + * @param Container $container The DI container. + * + * @return UikitComp + * @since 3.2.0 + */ + public function getUikitComp(Container $container): UikitComp + { + return new UikitComp(); + } + + /** + * Get The UpdateMysql Class. + * + * @param Container $container The DI container. + * + * @return UpdateMysql + * @since 3.2.0 + */ + public function getUpdateMysql(Container $container): UpdateMysql + { + return new UpdateMysql(); } \ No newline at end of file diff --git a/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/settings.json b/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/settings.json index 7b2b84f..86800a5 100644 --- a/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/settings.json +++ b/src/2c76c06e-a371-4b73-9fbe-b4d9b4df55d7/settings.json @@ -53,310 +53,318 @@ "as": "default" }, "use_selection10": { - "use": "9d74d613-5ef7-4cf1-9f12-64f0a8e19806", + "use": "5f57ff1a-c196-45b1-a2ac-33766b44fb95", "as": "default" }, "use_selection11": { - "use": "87d1da23-08d6-4fbf-bd0d-b746da240b8a", + "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", "as": "default" }, "use_selection12": { - "use": "a4857c60-680c-4e0c-ae8f-9250a7b5e317", + "use": "9d74d613-5ef7-4cf1-9f12-64f0a8e19806", "as": "default" }, "use_selection13": { - "use": "202f748a-516b-4782-962e-ac9725c3cac4", + "use": "87d1da23-08d6-4fbf-bd0d-b746da240b8a", "as": "default" }, "use_selection14": { - "use": "9551b683-67b6-4367-bb14-4b016def37e3", + "use": "a4857c60-680c-4e0c-ae8f-9250a7b5e317", "as": "default" }, "use_selection15": { - "use": "0d8db719-39a6-48b4-85a6-2f97e784e588", + "use": "202f748a-516b-4782-962e-ac9725c3cac4", "as": "default" }, "use_selection16": { - "use": "b3c36de1-9b18-4ea8-8383-6ab8f0e33996", + "use": "9551b683-67b6-4367-bb14-4b016def37e3", "as": "default" }, "use_selection17": { - "use": "58b7f907-4195-4ca3-886c-17877be59887", + "use": "0d8db719-39a6-48b4-85a6-2f97e784e588", "as": "default" }, "use_selection18": { - "use": "ce0899a9-6271-4fc4-800a-697c122bb112", + "use": "b3c36de1-9b18-4ea8-8383-6ab8f0e33996", "as": "default" }, "use_selection19": { - "use": "0d9d3294-0bed-4c44-b1a1-e172f62cafb2", + "use": "58b7f907-4195-4ca3-886c-17877be59887", "as": "default" }, "use_selection20": { - "use": "1ae9a8e8-59f7-4844-a08d-9a4dce4be076", - "as": "default" - }, - "use_selection86": { - "use": "e9b6b06b-f600-4f9d-984d-79c70ae7ae92", + "use": "ce0899a9-6271-4fc4-800a-697c122bb112", "as": "default" }, "use_selection21": { - "use": "d5530adf-c809-45a9-87fc-7cecd3d972d8", + "use": "0d9d3294-0bed-4c44-b1a1-e172f62cafb2", "as": "default" }, "use_selection22": { - "use": "961a2a2e-9f95-4b5f-b1c0-62ee783f9c66", + "use": "1ae9a8e8-59f7-4844-a08d-9a4dce4be076", "as": "default" }, "use_selection23": { - "use": "a090a472-eb3d-4086-a6d5-4215e1b1851f", + "use": "e9b6b06b-f600-4f9d-984d-79c70ae7ae92", "as": "default" }, "use_selection24": { - "use": "e4e65c5b-00ec-439c-96bf-3153c3a73398", + "use": "d5530adf-c809-45a9-87fc-7cecd3d972d8", "as": "default" }, "use_selection25": { - "use": "dba0776e-e582-4f73-af3e-e7ed17bc34b3", + "use": "961a2a2e-9f95-4b5f-b1c0-62ee783f9c66", "as": "default" }, "use_selection26": { - "use": "8f46f85d-7921-44e9-a40e-dc4f01c5d43a", + "use": "a090a472-eb3d-4086-a6d5-4215e1b1851f", "as": "default" }, "use_selection27": { - "use": "c7b6f0d5-ec47-4166-915c-e78d49b4fb63", + "use": "e4e65c5b-00ec-439c-96bf-3153c3a73398", "as": "default" }, "use_selection28": { - "use": "507ab90f-7d64-4697-9815-d96f5d1d1185", + "use": "dba0776e-e582-4f73-af3e-e7ed17bc34b3", "as": "default" }, "use_selection29": { - "use": "e54965e7-34fd-481e-b40c-4da089afec5a", + "use": "8f46f85d-7921-44e9-a40e-dc4f01c5d43a", "as": "default" }, "use_selection30": { - "use": "0b45357f-b077-4337-92f3-65c1e19d36cd", + "use": "c7b6f0d5-ec47-4166-915c-e78d49b4fb63", "as": "default" }, "use_selection31": { - "use": "2cb33994-052e-42dd-adbc-3ea9f932816f", + "use": "507ab90f-7d64-4697-9815-d96f5d1d1185", "as": "default" }, "use_selection32": { - "use": "952423ba-015a-4104-89a4-030695aa4d15", + "use": "e54965e7-34fd-481e-b40c-4da089afec5a", "as": "default" }, "use_selection33": { - "use": "1f086665-c007-4085-b363-3a118659ff1b", + "use": "0b45357f-b077-4337-92f3-65c1e19d36cd", "as": "default" }, "use_selection34": { - "use": "972c4de9-6f6f-463b-8eea-cc7cbdb96aba", + "use": "2cb33994-052e-42dd-adbc-3ea9f932816f", "as": "default" }, "use_selection35": { - "use": "45652787-9085-4c67-914f-0da25ae62646", + "use": "952423ba-015a-4104-89a4-030695aa4d15", "as": "default" }, "use_selection36": { - "use": "6b386f2e-3eb1-4f60-81af-a90c8da1ffeb", + "use": "1f086665-c007-4085-b363-3a118659ff1b", "as": "default" }, "use_selection37": { - "use": "bb26cf63-69a5-4c43-b2df-43284c9d907d", + "use": "972c4de9-6f6f-463b-8eea-cc7cbdb96aba", "as": "default" }, "use_selection38": { - "use": "a90a2495-9c26-446c-867e-9ee8f42fb6af", + "use": "45652787-9085-4c67-914f-0da25ae62646", "as": "default" }, "use_selection39": { - "use": "7415fdb4-5719-40b7-b01f-05588e968b47", + "use": "6b386f2e-3eb1-4f60-81af-a90c8da1ffeb", "as": "default" }, "use_selection40": { - "use": "e696927b-e8f4-4cfc-9d25-215db4e3c7a8", + "use": "bb26cf63-69a5-4c43-b2df-43284c9d907d", "as": "default" }, "use_selection41": { - "use": "c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6", + "use": "a90a2495-9c26-446c-867e-9ee8f42fb6af", "as": "default" }, "use_selection42": { - "use": "7506a35c-fa32-44ab-bd41-363439b20b82", + "use": "7415fdb4-5719-40b7-b01f-05588e968b47", "as": "default" }, "use_selection43": { - "use": "597663e1-1c02-43e8-aea5-f2161e38ac7f", + "use": "e696927b-e8f4-4cfc-9d25-215db4e3c7a8", "as": "default" }, "use_selection44": { - "use": "4a857023-2d96-4649-9ed5-910d0329854d", + "use": "c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6", "as": "default" }, "use_selection45": { - "use": "c6de9da0-1a73-4c73-b355-7fe02efe4c9d", + "use": "7506a35c-fa32-44ab-bd41-363439b20b82", "as": "default" }, "use_selection46": { - "use": "f052eeef-5112-4efe-98c8-8c7db69dc2d1", + "use": "597663e1-1c02-43e8-aea5-f2161e38ac7f", "as": "default" }, "use_selection47": { - "use": "a5189bfe-6d15-4452-9fa5-e3e57f7fa791", + "use": "4a857023-2d96-4649-9ed5-910d0329854d", "as": "default" }, "use_selection48": { - "use": "b8a92303-8543-4d88-a83c-ece300eaba6d", + "use": "c6de9da0-1a73-4c73-b355-7fe02efe4c9d", "as": "default" }, "use_selection49": { - "use": "3468b447-a929-4c28-84a1-f2c3a27e3127", + "use": "f052eeef-5112-4efe-98c8-8c7db69dc2d1", "as": "default" }, "use_selection50": { - "use": "b0b26749-5e2c-4b56-8982-48172f2531fa", + "use": "a5189bfe-6d15-4452-9fa5-e3e57f7fa791", "as": "default" }, "use_selection51": { - "use": "28cac2bb-df04-454f-b4d6-923b573eb94e", + "use": "b8a92303-8543-4d88-a83c-ece300eaba6d", "as": "default" }, "use_selection52": { - "use": "9cdff2af-bd1b-452f-810e-d034b9720d2a", + "use": "3468b447-a929-4c28-84a1-f2c3a27e3127", "as": "default" }, "use_selection53": { - "use": "9ff6d6cd-afea-4f15-a67b-fd132d386989", + "use": "b0b26749-5e2c-4b56-8982-48172f2531fa", "as": "default" }, "use_selection54": { - "use": "0f141480-afe6-41fb-996c-2a4e566a2f0d", + "use": "28cac2bb-df04-454f-b4d6-923b573eb94e", "as": "default" }, "use_selection55": { - "use": "66b7b5f8-60d6-427a-9f8c-84c11a3d6780", + "use": "9cdff2af-bd1b-452f-810e-d034b9720d2a", "as": "default" }, "use_selection56": { - "use": "9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f", + "use": "9ff6d6cd-afea-4f15-a67b-fd132d386989", "as": "default" }, "use_selection57": { - "use": "bf92e1c1-3d5e-4e9d-a585-c79e1468df33", + "use": "0f141480-afe6-41fb-996c-2a4e566a2f0d", "as": "default" }, "use_selection58": { - "use": "46b02edb-427e-4c26-a5cb-279828eb4433", + "use": "66b7b5f8-60d6-427a-9f8c-84c11a3d6780", "as": "default" }, "use_selection59": { - "use": "3f83fe11-1ef6-4020-bd73-f3bb58cefe3a", + "use": "9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f", "as": "default" }, "use_selection60": { - "use": "74595661-236d-4aa1-99f3-358d093000be", + "use": "bf92e1c1-3d5e-4e9d-a585-c79e1468df33", "as": "default" }, "use_selection61": { - "use": "fd885c23-88dd-440a-9b05-d02a2b2962f9", + "use": "46b02edb-427e-4c26-a5cb-279828eb4433", "as": "default" }, "use_selection62": { - "use": "2528f2bb-6ebc-4d55-9a9d-23ef58534c1a", + "use": "3f83fe11-1ef6-4020-bd73-f3bb58cefe3a", "as": "default" }, "use_selection63": { - "use": "94f4939f-82cc-4196-802b-1346ce5c7f99", + "use": "74595661-236d-4aa1-99f3-358d093000be", "as": "default" }, "use_selection64": { - "use": "5e3d856d-8174-4131-b4e9-9328066438e1", + "use": "fd885c23-88dd-440a-9b05-d02a2b2962f9", "as": "default" }, "use_selection65": { - "use": "e046b530-47fe-406f-b45a-b5eec8cbb238", + "use": "2528f2bb-6ebc-4d55-9a9d-23ef58534c1a", "as": "default" }, "use_selection66": { - "use": "a601888d-12b6-427f-94ae-95004206e24e", + "use": "94f4939f-82cc-4196-802b-1346ce5c7f99", "as": "default" }, "use_selection67": { - "use": "480d11b9-783b-45d5-bce1-b0c2fcaad08a", + "use": "5e3d856d-8174-4131-b4e9-9328066438e1", "as": "default" }, "use_selection68": { - "use": "17bf80af-3609-4f36-a520-be1a339c278b", + "use": "e046b530-47fe-406f-b45a-b5eec8cbb238", "as": "default" }, "use_selection69": { - "use": "9042fac6-5ca5-4ebe-94fe-cf9b0718ed36", + "use": "a601888d-12b6-427f-94ae-95004206e24e", "as": "default" }, "use_selection70": { - "use": "2e764839-8ec6-4726-af50-b5678e0714a4", + "use": "480d11b9-783b-45d5-bce1-b0c2fcaad08a", "as": "default" }, "use_selection71": { - "use": "d8e46d2c-d63e-4b92-80a2-d17638a7ae9e", + "use": "17bf80af-3609-4f36-a520-be1a339c278b", "as": "default" }, "use_selection72": { - "use": "c0e46033-5ade-4829-88b7-ca160d36a4d1", + "use": "9042fac6-5ca5-4ebe-94fe-cf9b0718ed36", "as": "default" }, "use_selection73": { - "use": "ec0682ee-9166-48f8-951b-9b763792c1d1", + "use": "2e764839-8ec6-4726-af50-b5678e0714a4", "as": "default" }, "use_selection74": { - "use": "abdb7d20-a15e-42d8-bd91-7b09514df7f2", + "use": "d8e46d2c-d63e-4b92-80a2-d17638a7ae9e", "as": "default" }, "use_selection75": { - "use": "33f5131e-4a5b-414b-95dd-d22227c2666d", + "use": "c0e46033-5ade-4829-88b7-ca160d36a4d1", "as": "default" }, "use_selection76": { - "use": "d393c946-4481-43fa-b737-449119dd0a63", + "use": "ec0682ee-9166-48f8-951b-9b763792c1d1", "as": "default" }, "use_selection77": { - "use": "52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe", + "use": "abdb7d20-a15e-42d8-bd91-7b09514df7f2", "as": "default" }, "use_selection78": { - "use": "17fa7789-a7d1-465e-b733-8c8d53f5ca1b", + "use": "33f5131e-4a5b-414b-95dd-d22227c2666d", "as": "default" }, "use_selection79": { - "use": "94e0beae-7daa-43b2-81b9-0bde390a76d8", + "use": "d393c946-4481-43fa-b737-449119dd0a63", "as": "default" }, "use_selection80": { - "use": "d645881c-ae8c-4828-a217-6bad98cd3b44", + "use": "52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe", "as": "default" }, "use_selection81": { - "use": "8ca30d59-e56a-4cdd-bd8c-d9aad28f5903", + "use": "17fa7789-a7d1-465e-b733-8c8d53f5ca1b", "as": "default" }, "use_selection82": { - "use": "8591f6db-dd3c-4a63-9b3f-574c0ec74ade", + "use": "94e0beae-7daa-43b2-81b9-0bde390a76d8", "as": "default" }, "use_selection83": { - "use": "6a1dddb3-a955-425e-b713-8ef81f256035", + "use": "d645881c-ae8c-4828-a217-6bad98cd3b44", "as": "default" }, "use_selection84": { - "use": "54ec57f6-2fc3-42e5-975e-1fabeacb845d", + "use": "8ca30d59-e56a-4cdd-bd8c-d9aad28f5903", "as": "default" }, "use_selection85": { + "use": "8591f6db-dd3c-4a63-9b3f-574c0ec74ade", + "as": "default" + }, + "use_selection86": { + "use": "6a1dddb3-a955-425e-b713-8ef81f256035", + "as": "default" + }, + "use_selection87": { + "use": "54ec57f6-2fc3-42e5-975e-1fabeacb845d", + "as": "default" + }, + "use_selection88": { "use": "2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9", "as": "default" } diff --git a/src/2cb33994-052e-42dd-adbc-3ea9f932816f/README.md b/src/2cb33994-052e-42dd-adbc-3ea9f932816f/README.md index f5272a7..fc61d8b 100644 --- a/src/2cb33994-052e-42dd-adbc-3ea9f932816f/README.md +++ b/src/2cb33994-052e-42dd-adbc-3ea9f932816f/README.md @@ -8,7 +8,7 @@ ``` # final class History (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class History << (F,LightGreen) >> #RoyalBlue { diff --git a/src/2cb33994-052e-42dd-adbc-3ea9f932816f/code.php b/src/2cb33994-052e-42dd-adbc-3ea9f932816f/code.php index 1c4caaf..a9a4d8d 100644 --- a/src/2cb33994-052e-42dd-adbc-3ea9f932816f/code.php +++ b/src/2cb33994-052e-42dd-adbc-3ea9f932816f/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class History extends StorageRegistry implements Storageregistryinterface +final class History extends Registry implements Registryinterface { } diff --git a/src/2e764839-8ec6-4726-af50-b5678e0714a4/README.md b/src/2e764839-8ec6-4726-af50-b5678e0714a4/README.md index 9e08cdb..bcdf45e 100644 --- a/src/2e764839-8ec6-4726-af50-b5678e0714a4/README.md +++ b/src/2e764839-8ec6-4726-af50-b5678e0714a4/README.md @@ -8,7 +8,7 @@ ``` # final class Search (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Search << (F,LightGreen) >> #RoyalBlue { diff --git a/src/2e764839-8ec6-4726-af50-b5678e0714a4/code.php b/src/2e764839-8ec6-4726-af50-b5678e0714a4/code.php index 9faeab9..8fffb1f 100644 --- a/src/2e764839-8ec6-4726-af50-b5678e0714a4/code.php +++ b/src/2e764839-8ec6-4726-af50-b5678e0714a4/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Search extends StorageRegistry implements Storageregistryinterface +final class Search extends Registry implements Registryinterface { } diff --git a/src/3230dd65-6590-4043-9bb8-bebd6d8224b2/README.md b/src/3230dd65-6590-4043-9bb8-bebd6d8224b2/README.md index 000198c..137cfb3 100644 --- a/src/3230dd65-6590-4043-9bb8-bebd6d8224b2/README.md +++ b/src/3230dd65-6590-4043-9bb8-bebd6d8224b2/README.md @@ -8,7 +8,7 @@ ``` # final class ComponentFields (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ComponentFields << (F,LightGreen) >> #RoyalBlue { diff --git a/src/3230dd65-6590-4043-9bb8-bebd6d8224b2/code.php b/src/3230dd65-6590-4043-9bb8-bebd6d8224b2/code.php index 8a490db..725346f 100644 --- a/src/3230dd65-6590-4043-9bb8-bebd6d8224b2/code.php +++ b/src/3230dd65-6590-4043-9bb8-bebd6d8224b2/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\VarExport; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\VarExport; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ComponentFields extends StorageRegistry implements Storageregistryinterface +final class ComponentFields extends Registry implements Registryinterface { /** * Var Export Values diff --git a/src/33f5131e-4a5b-414b-95dd-d22227c2666d/README.md b/src/33f5131e-4a5b-414b-95dd-d22227c2666d/README.md index 1638fd5..8b6b183 100644 --- a/src/33f5131e-4a5b-414b-95dd-d22227c2666d/README.md +++ b/src/33f5131e-4a5b-414b-95dd-d22227c2666d/README.md @@ -8,7 +8,7 @@ ``` # final class SiteFieldData (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class SiteFieldData << (F,LightGreen) >> #RoyalBlue { diff --git a/src/33f5131e-4a5b-414b-95dd-d22227c2666d/code.php b/src/33f5131e-4a5b-414b-95dd-d22227c2666d/code.php index ebf3f30..0e4c01c 100644 --- a/src/33f5131e-4a5b-414b-95dd-d22227c2666d/code.php +++ b/src/33f5131e-4a5b-414b-95dd-d22227c2666d/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\InArray; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\InArray; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class SiteFieldData extends StorageRegistry implements Storageregistryinterface +final class SiteFieldData extends Registry implements Registryinterface { /** * In Array diff --git a/src/3468b447-a929-4c28-84a1-f2c3a27e3127/README.md b/src/3468b447-a929-4c28-84a1-f2c3a27e3127/README.md index 4aeba25..bfbf3ef 100644 --- a/src/3468b447-a929-4c28-84a1-f2c3a27e3127/README.md +++ b/src/3468b447-a929-4c28-84a1-f2c3a27e3127/README.md @@ -8,7 +8,7 @@ ``` # final class ModelExpertFieldInitiator (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ModelExpertFieldInitiator << (F,LightGreen) >> #RoyalBlue { diff --git a/src/3468b447-a929-4c28-84a1-f2c3a27e3127/code.php b/src/3468b447-a929-4c28-84a1-f2c3a27e3127/code.php index be2c9a4..236164e 100644 --- a/src/3468b447-a929-4c28-84a1-f2c3a27e3127/code.php +++ b/src/3468b447-a929-4c28-84a1-f2c3a27e3127/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ModelExpertFieldInitiator extends StorageRegistry implements Storageregistryinterface +final class ModelExpertFieldInitiator extends Registry implements Registryinterface { } diff --git a/src/3f83fe11-1ef6-4020-bd73-f3bb58cefe3a/README.md b/src/3f83fe11-1ef6-4020-bd73-f3bb58cefe3a/README.md index 0053869..ecaf27a 100644 --- a/src/3f83fe11-1ef6-4020-bd73-f3bb58cefe3a/README.md +++ b/src/3f83fe11-1ef6-4020-bd73-f3bb58cefe3a/README.md @@ -8,7 +8,7 @@ ``` # final class OtherOrder (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class OtherOrder << (F,LightGreen) >> #RoyalBlue { diff --git a/src/3f83fe11-1ef6-4020-bd73-f3bb58cefe3a/code.php b/src/3f83fe11-1ef6-4020-bd73-f3bb58cefe3a/code.php index e7599c6..fdb9fdc 100644 --- a/src/3f83fe11-1ef6-4020-bd73-f3bb58cefe3a/code.php +++ b/src/3f83fe11-1ef6-4020-bd73-f3bb58cefe3a/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class OtherOrder extends StorageRegistry implements Storageregistryinterface +final class OtherOrder extends Registry implements Registryinterface { } diff --git a/src/44d039b9-d293-481b-b560-23a6e7a63962/code.php b/src/44d039b9-d293-481b-b560-23a6e7a63962/code.php index ff8ec42..d31ff4b 100644 --- a/src/44d039b9-d293-481b-b560-23a6e7a63962/code.php +++ b/src/44d039b9-d293-481b-b560-23a6e7a63962/code.php @@ -1142,9 +1142,9 @@ final class FieldString implements Fieldtypeinterface } // incase the field is in the config and has not been set if ('config' === $nameSingleCode && 'configs' === $nameListCode - || (strpos($nameSingleCode, 'P|uG!n') !== false + || (strpos($nameSingleCode, 'pLuG!n') !== false || strpos( - $nameSingleCode, 'M0dU|3' + $nameSingleCode, 'M0dUl3' ) !== false)) { // set lang (just incase) diff --git a/src/44d039b9-d293-481b-b560-23a6e7a63962/code.power b/src/44d039b9-d293-481b-b560-23a6e7a63962/code.power index 230ebe4..334b41e 100644 --- a/src/44d039b9-d293-481b-b560-23a6e7a63962/code.power +++ b/src/44d039b9-d293-481b-b560-23a6e7a63962/code.power @@ -1103,9 +1103,9 @@ } // incase the field is in the config and has not been set if ('config' === $nameSingleCode && 'configs' === $nameListCode - || (strpos($nameSingleCode, 'P|uG!n') !== false + || (strpos($nameSingleCode, 'pLuG!n') !== false || strpos( - $nameSingleCode, 'M0dU|3' + $nameSingleCode, 'M0dUl3' ) !== false)) { // set lang (just incase) diff --git a/src/45652787-9085-4c67-914f-0da25ae62646/README.md b/src/45652787-9085-4c67-914f-0da25ae62646/README.md index 90b792d..b59d281 100644 --- a/src/45652787-9085-4c67-914f-0da25ae62646/README.md +++ b/src/45652787-9085-4c67-914f-0da25ae62646/README.md @@ -8,7 +8,7 @@ ``` # final class JsonItem (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class JsonItem << (F,LightGreen) >> #RoyalBlue { diff --git a/src/45652787-9085-4c67-914f-0da25ae62646/code.php b/src/45652787-9085-4c67-914f-0da25ae62646/code.php index 1836425..7f1886a 100644 --- a/src/45652787-9085-4c67-914f-0da25ae62646/code.php +++ b/src/45652787-9085-4c67-914f-0da25ae62646/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class JsonItem extends StorageRegistry implements Storageregistryinterface +final class JsonItem extends Registry implements Registryinterface { } diff --git a/src/46b02edb-427e-4c26-a5cb-279828eb4433/README.md b/src/46b02edb-427e-4c26-a5cb-279828eb4433/README.md index 155b816..249d849 100644 --- a/src/46b02edb-427e-4c26-a5cb-279828eb4433/README.md +++ b/src/46b02edb-427e-4c26-a5cb-279828eb4433/README.md @@ -8,7 +8,7 @@ ``` # final class OtherJoin (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class OtherJoin << (F,LightGreen) >> #RoyalBlue { diff --git a/src/46b02edb-427e-4c26-a5cb-279828eb4433/code.php b/src/46b02edb-427e-4c26-a5cb-279828eb4433/code.php index 2cf93d1..e07fba0 100644 --- a/src/46b02edb-427e-4c26-a5cb-279828eb4433/code.php +++ b/src/46b02edb-427e-4c26-a5cb-279828eb4433/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class OtherJoin extends StorageRegistry implements Storageregistryinterface +final class OtherJoin extends Registry implements Registryinterface { } diff --git a/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/README.md b/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/README.md index 9268ddb..f18eb20 100644 --- a/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/README.md +++ b/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/README.md @@ -8,35 +8,26 @@ ``` # final class PermissionViews (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **MapperDouble** +> extends: **Registry** ```uml @startuml class PermissionViews << (F,LightGreen) >> #RoyalBlue { + + __construct() + build() : string - # firstKey(string $key) : string - # secondKey(string $key) : string } +note right of PermissionViews::__construct + Constructor. + + since: 3.2.0 +end note + note right of PermissionViews::build Get the build view content since: 3.2.0 return: string end note - -note right of PermissionViews::firstKey - Model the first key - - since: 3.2.0 - return: string -end note - -note right of PermissionViews::secondKey - Model the second key - - since: 3.2.0 - return: string -end note @enduml ``` diff --git a/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/code.php b/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/code.php index abc074d..f4197e1 100644 --- a/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/code.php +++ b/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/code.php @@ -13,8 +13,7 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Indent; -use VDM\Joomla\Componentbuilder\Interfaces\Mapperdoubleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,8 +21,18 @@ use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; * * @since 3.2.0 */ -final class PermissionViews extends MapperDouble implements Mapperdoubleinterface +final class PermissionViews extends Registry { + /** + * Constructor. + * + * @since 3.2.0 + */ + public function __construct() + { + $this->setSeparator('|'); + } + /** * Get the build view content * @@ -57,32 +66,6 @@ final class PermissionViews extends MapperDouble implements Mapperdoubleinterfac } return ''; - } - - /** - * Model the first key - * - * @param string $key The first key to model - * - * @return string - * @since 3.2.0 - */ - protected function firstKey(string $key): string - { - return $key; - } - - /** - * Model the second key - * - * @param string $key The second key to model - * - * @return string - * @since 3.2.0 - */ - protected function secondKey(string $key): string - { - return $key; } } diff --git a/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/code.power b/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/code.power index 3aac5b4..66055a7 100644 --- a/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/code.power +++ b/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/code.power @@ -1,3 +1,13 @@ + /** + * Constructor. + * + * @since 3.2.0 + */ + public function __construct() + { + $this->setSeparator('|'); + } + /** * Get the build view content * @@ -31,30 +41,4 @@ } return ''; - } - - /** - * Model the first key - * - * @param string $key The first key to model - * - * @return string - * @since 3.2.0 - */ - protected function firstKey(string $key): string - { - return $key; - } - - /** - * Model the second key - * - * @param string $key The second key to model - * - * @return string - * @since 3.2.0 - */ - protected function secondKey(string $key): string - { - return $key; } \ No newline at end of file diff --git a/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/settings.json b/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/settings.json index 8997210..618ded1 100644 --- a/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/settings.json +++ b/src/480d11b9-783b-45d5-bce1-b0c2fcaad08a/settings.json @@ -1,11 +1,9 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "4d4e76e9-12d9-4d19-b58c-b88974b2586a", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "480d11b9-783b-45d5-bce1-b0c2fcaad08a", - "implements": [ - "fbc58009-fa16-4d49-a0dd-419c3b62d42f" - ], + "implements": null, "load_selection": null, "name": "PermissionViews", "power_version": "1.0.0", diff --git a/src/4a857023-2d96-4649-9ed5-910d0329854d/README.md b/src/4a857023-2d96-4649-9ed5-910d0329854d/README.md index 68c49c2..5f58f77 100644 --- a/src/4a857023-2d96-4649-9ed5-910d0329854d/README.md +++ b/src/4a857023-2d96-4649-9ed5-910d0329854d/README.md @@ -8,7 +8,7 @@ ``` # final class Lists (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Lists << (F,LightGreen) >> #RoyalBlue { diff --git a/src/4a857023-2d96-4649-9ed5-910d0329854d/code.php b/src/4a857023-2d96-4649-9ed5-910d0329854d/code.php index e9e9dc8..99a2c25 100644 --- a/src/4a857023-2d96-4649-9ed5-910d0329854d/code.php +++ b/src/4a857023-2d96-4649-9ed5-910d0329854d/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Lists extends StorageRegistry implements Storageregistryinterface +final class Lists extends Registry implements Registryinterface { } diff --git a/src/507ab90f-7d64-4697-9815-d96f5d1d1185/README.md b/src/507ab90f-7d64-4697-9815-d96f5d1d1185/README.md index 9e6cd6f..5dcdcbb 100644 --- a/src/507ab90f-7d64-4697-9815-d96f5d1d1185/README.md +++ b/src/507ab90f-7d64-4697-9815-d96f5d1d1185/README.md @@ -8,7 +8,7 @@ ``` # final class GoogleChart (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class GoogleChart << (F,LightGreen) >> #RoyalBlue { diff --git a/src/507ab90f-7d64-4697-9815-d96f5d1d1185/code.php b/src/507ab90f-7d64-4697-9815-d96f5d1d1185/code.php index 9e1263f..848cf7c 100644 --- a/src/507ab90f-7d64-4697-9815-d96f5d1d1185/code.php +++ b/src/507ab90f-7d64-4697-9815-d96f5d1d1185/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class GoogleChart extends StorageRegistry implements Storageregistryinterface +final class GoogleChart extends Registry implements Registryinterface { } diff --git a/src/516f93b8-5fff-41c6-aeaf-2d93180a12cc/code.php b/src/516f93b8-5fff-41c6-aeaf-2d93180a12cc/code.php index f572ff5..40d4d36 100644 --- a/src/516f93b8-5fff-41c6-aeaf-2d93180a12cc/code.php +++ b/src/516f93b8-5fff-41c6-aeaf-2d93180a12cc/code.php @@ -117,7 +117,7 @@ class Utilities implements ServiceProviderInterface public function getCounter(Container $container): Counter { return new Counter( - $container->get('Content') + $container->get('Compiler.Builder.Content.One') ); } diff --git a/src/516f93b8-5fff-41c6-aeaf-2d93180a12cc/code.power b/src/516f93b8-5fff-41c6-aeaf-2d93180a12cc/code.power index 69c3815..51364a4 100644 --- a/src/516f93b8-5fff-41c6-aeaf-2d93180a12cc/code.power +++ b/src/516f93b8-5fff-41c6-aeaf-2d93180a12cc/code.power @@ -81,7 +81,7 @@ public function getCounter(Container $container): Counter { return new Counter( - $container->get('Content') + $container->get('Compiler.Builder.Content.One') ); } diff --git a/src/52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe/README.md b/src/52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe/README.md index 0d2a420..9b38438 100644 --- a/src/52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe/README.md +++ b/src/52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe/README.md @@ -8,7 +8,7 @@ ``` # final class SiteFields (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class SiteFields << (F,LightGreen) >> #RoyalBlue { diff --git a/src/52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe/code.php b/src/52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe/code.php index a0cd2b9..368ea1b 100644 --- a/src/52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe/code.php +++ b/src/52de0ac8-bb9d-4a45-bd2a-a44c48c17ffe/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class SiteFields extends StorageRegistry implements Storageregistryinterface +final class SiteFields extends Registry implements Registryinterface { } diff --git a/src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/README.md b/src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/README.md index 0def3e2..4b8d7a1 100644 --- a/src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/README.md +++ b/src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/README.md @@ -8,7 +8,7 @@ ``` # final class UikitComp (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class UikitComp << (F,LightGreen) >> #RoyalBlue { diff --git a/src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/code.php b/src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/code.php index 85686d1..32adf0c 100644 --- a/src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/code.php +++ b/src/54ec57f6-2fc3-42e5-975e-1fabeacb845d/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class UikitComp extends StorageRegistry implements Storageregistryinterface +final class UikitComp extends Registry implements Registryinterface { } diff --git a/src/58b7f907-4195-4ca3-886c-17877be59887/README.md b/src/58b7f907-4195-4ca3-886c-17877be59887/README.md index 3202067..e77324a 100644 --- a/src/58b7f907-4195-4ca3-886c-17877be59887/README.md +++ b/src/58b7f907-4195-4ca3-886c-17877be59887/README.md @@ -8,7 +8,7 @@ ``` # final class DatabaseUniqueGuid (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class DatabaseUniqueGuid << (F,LightGreen) >> #RoyalBlue { diff --git a/src/58b7f907-4195-4ca3-886c-17877be59887/code.php b/src/58b7f907-4195-4ca3-886c-17877be59887/code.php index 8ef7233..5e73779 100644 --- a/src/58b7f907-4195-4ca3-886c-17877be59887/code.php +++ b/src/58b7f907-4195-4ca3-886c-17877be59887/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class DatabaseUniqueGuid extends StorageRegistry implements Storageregistryinterface +final class DatabaseUniqueGuid extends Registry implements Registryinterface { } diff --git a/src/597663e1-1c02-43e8-aea5-f2161e38ac7f/README.md b/src/597663e1-1c02-43e8-aea5-f2161e38ac7f/README.md index 51b2bca..5f6d8e1 100644 --- a/src/597663e1-1c02-43e8-aea5-f2161e38ac7f/README.md +++ b/src/597663e1-1c02-43e8-aea5-f2161e38ac7f/README.md @@ -8,7 +8,7 @@ ``` # final class ListJoin (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ListJoin << (F,LightGreen) >> #RoyalBlue { diff --git a/src/597663e1-1c02-43e8-aea5-f2161e38ac7f/code.php b/src/597663e1-1c02-43e8-aea5-f2161e38ac7f/code.php index d7149a6..fa6864a 100644 --- a/src/597663e1-1c02-43e8-aea5-f2161e38ac7f/code.php +++ b/src/597663e1-1c02-43e8-aea5-f2161e38ac7f/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ListJoin extends StorageRegistry implements Storageregistryinterface +final class ListJoin extends Registry implements Registryinterface { } diff --git a/src/5d4278f0-7db2-498f-872a-c974bd8ce334/README.md b/src/5d4278f0-7db2-498f-872a-c974bd8ce334/README.md index f168d94..033f64b 100644 --- a/src/5d4278f0-7db2-498f-872a-c974bd8ce334/README.md +++ b/src/5d4278f0-7db2-498f-872a-c974bd8ce334/README.md @@ -8,7 +8,7 @@ ``` # final class Bucket (Details) > namespace: **VDM\Joomla\Componentbuilder\Power\Generator** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Bucket << (F,LightGreen) >> #RoyalBlue { diff --git a/src/5d4278f0-7db2-498f-872a-c974bd8ce334/code.php b/src/5d4278f0-7db2-498f-872a-c974bd8ce334/code.php index de3a43e..bf2ee7b 100644 --- a/src/5d4278f0-7db2-498f-872a-c974bd8ce334/code.php +++ b/src/5d4278f0-7db2-498f-872a-c974bd8ce334/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Power\Generator; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Bucket extends StorageRegistry implements Storageregistryinterface +final class Bucket extends Registry implements Registryinterface { } diff --git a/src/5e3d856d-8174-4131-b4e9-9328066438e1/README.md b/src/5e3d856d-8174-4131-b4e9-9328066438e1/README.md index 2b029db..fe75f42 100644 --- a/src/5e3d856d-8174-4131-b4e9-9328066438e1/README.md +++ b/src/5e3d856d-8174-4131-b4e9-9328066438e1/README.md @@ -8,26 +8,17 @@ ``` # final class PermissionCore (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **MapperDouble** +> extends: **Registry** ```uml @startuml class PermissionCore << (F,LightGreen) >> #RoyalBlue { - # firstKey(string $key) : string - # secondKey(string $key) : string + + __construct() } -note right of PermissionCore::firstKey - Model the first key +note right of PermissionCore::__construct + Constructor. since: 3.2.0 - return: string -end note - -note right of PermissionCore::secondKey - Model the second key - - since: 3.2.0 - return: string end note @enduml diff --git a/src/5e3d856d-8174-4131-b4e9-9328066438e1/code.php b/src/5e3d856d-8174-4131-b4e9-9328066438e1/code.php index c40ed35..3c6e084 100644 --- a/src/5e3d856d-8174-4131-b4e9-9328066438e1/code.php +++ b/src/5e3d856d-8174-4131-b4e9-9328066438e1/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Componentbuilder\Interfaces\Mapperdoubleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,32 +21,16 @@ use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; * * @since 3.2.0 */ -final class PermissionCore extends MapperDouble implements Mapperdoubleinterface +final class PermissionCore extends Registry implements Registryinterface { /** - * Model the first key + * Constructor. * - * @param string $key The first key to model - * - * @return string * @since 3.2.0 */ - protected function firstKey(string $key): string + public function __construct() { - return $key; - } - - /** - * Model the second key - * - * @param string $key The second key to model - * - * @return string - * @since 3.2.0 - */ - protected function secondKey(string $key): string - { - return $key; + $this->setSeparator('|'); } } diff --git a/src/5e3d856d-8174-4131-b4e9-9328066438e1/code.power b/src/5e3d856d-8174-4131-b4e9-9328066438e1/code.power index 2fc53e5..b096981 100644 --- a/src/5e3d856d-8174-4131-b4e9-9328066438e1/code.power +++ b/src/5e3d856d-8174-4131-b4e9-9328066438e1/code.power @@ -1,25 +1,9 @@ /** - * Model the first key + * Constructor. * - * @param string $key The first key to model - * - * @return string * @since 3.2.0 */ - protected function firstKey(string $key): string + public function __construct() { - return $key; - } - - /** - * Model the second key - * - * @param string $key The second key to model - * - * @return string - * @since 3.2.0 - */ - protected function secondKey(string $key): string - { - return $key; + $this->setSeparator('|'); } \ No newline at end of file diff --git a/src/5e3d856d-8174-4131-b4e9-9328066438e1/settings.json b/src/5e3d856d-8174-4131-b4e9-9328066438e1/settings.json index b77b208..138168b 100644 --- a/src/5e3d856d-8174-4131-b4e9-9328066438e1/settings.json +++ b/src/5e3d856d-8174-4131-b4e9-9328066438e1/settings.json @@ -1,10 +1,10 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "4d4e76e9-12d9-4d19-b58c-b88974b2586a", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "5e3d856d-8174-4131-b4e9-9328066438e1", "implements": [ - "fbc58009-fa16-4d49-a0dd-419c3b62d42f" + "64e291c2-11f1-423d-a44d-837cc12cc017" ], "load_selection": null, "name": "PermissionCore", diff --git a/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/README.md b/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/README.md similarity index 70% rename from src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/README.md rename to src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/README.md index 1676b69..87e9512 100644 --- a/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/README.md +++ b/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/README.md @@ -6,27 +6,35 @@ ██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ ╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ ``` -# class Mapper (Details) -> namespace: **VDM\Joomla\Componentbuilder\Compiler\Service** +# class ContentMulti (Details) +> namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** +> extends: **Registry** ```uml @startuml -class Mapper #Gold { - + register(Container $container) : void - + getContent(Container $container) : Content +class ContentMulti #Gold { + + __construct() + # getActiveKeys(string $path) : ?array + # modelActiveKeys(array $keys) : ?array } -note right of Mapper::register - Registers the service provider with a DI container. +note right of ContentMulti::__construct + Constructor. since: 3.2.0 - return: void end note -note right of Mapper::getContent - Get the Compiler Content +note right of ContentMulti::getActiveKeys + Get that the active keys from a path since: 3.2.0 - return: Content + return: ?array +end note + +note right of ContentMulti::modelActiveKeys + Model that the active key + + since: 3.2.0 + return: ?array end note @enduml diff --git a/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.php b/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.php new file mode 100644 index 0000000..5fd4829 --- /dev/null +++ b/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.php @@ -0,0 +1,89 @@ + + * @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\Compiler\Builder; + + +use VDM\Joomla\Componentbuilder\Compiler\Utilities\Placefix; +use VDM\Joomla\Abstraction\Registry\Traits\IsArray; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; + + +/** + * Compiler Content Multi + * + * @since 3.2.0 + */ +class ContentMulti extends Registry implements Registryinterface +{ + /** + * Is an Array + * + * @since 3.2.0 + */ + use IsArray; + + /** + * Constructor. + * + * @since 3.2.0 + */ + public function __construct() + { + $this->setSeparator('|'); + } + + /** + * Get that the active keys from a path + * + * @param string $path The path to determine the location mapper. + * + * @return array|null The valid array of keys + * @since 3.2.0 + */ + protected function getActiveKeys(string $path): ?array + { + // Call the parent class's version of this method + $keys = parent::getActiveKeys($path); + + if ($keys === null) + { + return null; + } + + return $this->modelActiveKeys($keys); + } + + /** + * Model that the active key + * + * @param array $keys The keys to the location mapper. + * + * @return array|null The valid array of key + * @since 3.2.0 + */ + protected function modelActiveKeys(array $keys): ?array + { + if (isset($keys[1])) + { + return [$keys[0], Placefix::_h($keys[1])]; + } + + if (isset($keys[0])) + { + return [$keys[0]]; + } + + return null; + } +} + diff --git a/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.power b/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.power new file mode 100644 index 0000000..fbd6e2d --- /dev/null +++ b/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/code.power @@ -0,0 +1,60 @@ + /** + * Is an Array + * + * @since 3.2.0 + */ + use IsArray; + + /** + * Constructor. + * + * @since 3.2.0 + */ + public function __construct() + { + $this->setSeparator('|'); + } + + /** + * Get that the active keys from a path + * + * @param string $path The path to determine the location mapper. + * + * @return array|null The valid array of keys + * @since 3.2.0 + */ + protected function getActiveKeys(string $path): ?array + { + // Call the parent class's version of this method + $keys = parent::getActiveKeys($path); + + if ($keys === null) + { + return null; + } + + return $this->modelActiveKeys($keys); + } + + /** + * Model that the active key + * + * @param array $keys The keys to the location mapper. + * + * @return array|null The valid array of key + * @since 3.2.0 + */ + protected function modelActiveKeys(array $keys): ?array + { + if (isset($keys[1])) + { + return [$keys[0], Placefix::_h($keys[1])]; + } + + if (isset($keys[0])) + { + return [$keys[0]]; + } + + return null; + } \ No newline at end of file diff --git a/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/settings.json b/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/settings.json similarity index 54% rename from src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/settings.json rename to src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/settings.json index bca7632..e8abd5e 100644 --- a/src/23f2ca33-440a-4941-8e9a-4bc67522c0cb/settings.json +++ b/src/5f57ff1a-c196-45b1-a2ac-33766b44fb95/settings.json @@ -1,26 +1,29 @@ { - "add_head": "1", + "add_head": "0", "add_licensing_template": "2", - "extends": "0", - "guid": "23f2ca33-440a-4941-8e9a-4bc67522c0cb", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", + "guid": "5f57ff1a-c196-45b1-a2ac-33766b44fb95", "implements": [ - "-1" + "64e291c2-11f1-423d-a44d-837cc12cc017" ], "load_selection": null, - "name": "Mapper", + "name": "ContentMulti", "power_version": "1.0.0", - "system_name": "JCB.Compiler.Service.Mapper", + "system_name": "JCB.Compiler.Builder.ContentMulti", "type": "class", "use_selection": { "use_selection0": { - "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", + "use": "500f3a7f-c16d-4dd4-81b2-2df6776b5388", + "as": "default" + }, + "use_selection1": { + "use": "c09e8968-c767-4175-bb3d-8432f206a2c7", "as": "default" } }, - "namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Mapper", - "description": "Mapper Service Provider\r\n\r\n@since 3.2.0", - "implements_custom": "ServiceProviderInterface", + "namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Builder.ContentMulti", + "description": "Compiler Content Multi\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\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;", + "head": "", "composer": "" } \ No newline at end of file diff --git a/src/66b7b5f8-60d6-427a-9f8c-84c11a3d6780/README.md b/src/66b7b5f8-60d6-427a-9f8c-84c11a3d6780/README.md index 244fb10..98517fa 100644 --- a/src/66b7b5f8-60d6-427a-9f8c-84c11a3d6780/README.md +++ b/src/66b7b5f8-60d6-427a-9f8c-84c11a3d6780/README.md @@ -8,7 +8,7 @@ ``` # final class OrderZero (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class OrderZero << (F,LightGreen) >> #RoyalBlue { diff --git a/src/66b7b5f8-60d6-427a-9f8c-84c11a3d6780/code.php b/src/66b7b5f8-60d6-427a-9f8c-84c11a3d6780/code.php index 49258cf..8408d2b 100644 --- a/src/66b7b5f8-60d6-427a-9f8c-84c11a3d6780/code.php +++ b/src/66b7b5f8-60d6-427a-9f8c-84c11a3d6780/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class OrderZero extends StorageRegistry implements Storageregistryinterface +final class OrderZero extends Registry implements Registryinterface { } diff --git a/src/673954d3-78d3-445a-b99f-4b40d617c882/README.md b/src/673954d3-78d3-445a-b99f-4b40d617c882/README.md index 7c3a540..6887889 100644 --- a/src/673954d3-78d3-445a-b99f-4b40d617c882/README.md +++ b/src/673954d3-78d3-445a-b99f-4b40d617c882/README.md @@ -24,7 +24,7 @@ class Structuresingle << (F,LightGreen) >> #RoyalBlue { # Paths $paths # Files $files # CMSApplication $app - + __construct(?Config $config = null, ?Registry $registry = null, ...) + + __construct(Config $config, Registry $registry, ...) + build() : bool - doLicenseCheck() : bool - doReadmeCheck() : bool @@ -40,19 +40,19 @@ class Structuresingle << (F,LightGreen) >> #RoyalBlue { } note right of Structuresingle::__construct - Constructor + Constructor. since: 3.2.0 arguments: - ?Config $config = null - ?Registry $registry = null - ?Settings $settings = null - ?Component $component = null - ?Content $content = null - ?Counter $counter = null - ?Paths $paths = null - ?Files $files = null + Config $config + Registry $registry + Settings $settings + Component $component + Content $content + Counter $counter + Paths $paths + Files $files ?CMSApplication $app = null end note diff --git a/src/673954d3-78d3-445a-b99f-4b40d617c882/code.php b/src/673954d3-78d3-445a-b99f-4b40d617c882/code.php index ea90927..7f9b33d 100644 --- a/src/673954d3-78d3-445a-b99f-4b40d617c882/code.php +++ b/src/673954d3-78d3-445a-b99f-4b40d617c882/code.php @@ -17,12 +17,11 @@ use Joomla\CMS\Application\CMSApplication; use Joomla\CMS\Language\Text; use Joomla\CMS\Filesystem\Folder; use Joomla\CMS\Filesystem\File; -use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler; -use VDM\Joomla\Componentbuilder\Compiler\Component\Settings; -use VDM\Joomla\Componentbuilder\Compiler\Content; use VDM\Joomla\Componentbuilder\Compiler\Config; use VDM\Joomla\Componentbuilder\Compiler\Registry; +use VDM\Joomla\Componentbuilder\Compiler\Component\Settings; use VDM\Joomla\Componentbuilder\Compiler\Component; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentOne as Content; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Counter; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Paths; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Files; @@ -70,65 +69,65 @@ final class Structuresingle protected string $zipFullPath; /** - * Compiler Config + * The Config Class. * - * @var Config + * @var Config * @since 3.2.0 */ protected Config $config; /** - * The compiler registry + * The Registry Class. * - * @var Registry + * @var Registry * @since 3.2.0 */ protected Registry $registry; /** - * Compiler Component Joomla Version Settings + * The Settings Class. * - * @var Settings + * @var Settings * @since 3.2.0 */ protected Settings $settings; /** - * Compiler Component + * The Component Class. * - * @var Component + * @var Component * @since 3.2.0 - **/ + */ protected Component $component; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** - * Compiler Counter + * The Counter Class. * - * @var Counter + * @var Counter * @since 3.2.0 */ protected Counter $counter; /** - * Compiler Paths + * The Paths Class. * - * @var Paths + * @var Paths * @since 3.2.0 */ protected Paths $paths; /** - * Compiler Utilities Files + * The Files Class. * - * @var Files + * @var Files * @since 3.2.0 */ protected Files $files; @@ -142,34 +141,32 @@ final class Structuresingle protected CMSApplication $app; /** - * Constructor + * Constructor. * - * @param Config|null $config The compiler config object. - * @param Registry|null $registry The compiler registry object. - * @param Settings|null $settings The compiler component Joomla version settings object. - * @param Component|null $component The component class. - * @param Content|null $content The compiler content object. - * @param Counter|null $counter The compiler counter object. - * @param Paths|null $paths The compiler paths object. - * @param Files|null $files The compiler files object. - * @param CMSApplication|null $app The CMS Application object. + * @param Config $config The Config Class. + * @param Registry $registry The Registry Class. + * @param Settings $settings The Settings Class. + * @param Component $component The Component Class. + * @param Content $content The ContentOne Class. + * @param Counter $counter The Counter Class. + * @param Paths $paths The Paths Class. + * @param Files $files The Files Class. + * @param CMSApplication|null $app The CMS Application object. * - * @throws \Exception * @since 3.2.0 */ - public function __construct(?Config $config = null, ?Registry $registry = null, - ?Settings $settings = null, ?Component $component = null, - ?Content $content = null, ?Counter $counter = null, ?Paths $paths = null, - ?Files $files = null, ?CMSApplication $app = null) + public function __construct(Config $config, Registry $registry, Settings $settings, + Component $component, Content $content, Counter $counter, + Paths $paths, Files $files, ?CMSApplication $app = null) { - $this->config = $config ?: Compiler::_('Config'); - $this->registry = $registry ?: Compiler::_('Registry'); - $this->settings = $settings ?: Compiler::_('Component.Settings'); - $this->component = $component ?: Compiler::_('Component'); - $this->content = $content ?: Compiler::_('Content'); - $this->counter = $counter ?: Compiler::_('Utilities.Counter'); - $this->paths = $paths ?: Compiler::_('Utilities.Paths'); - $this->files = $files ?: Compiler::_('Utilities.Files'); + $this->config = $config; + $this->registry = $registry; + $this->settings = $settings; + $this->component = $component; + $this->content = $content; + $this->counter = $counter; + $this->paths = $paths; + $this->files = $files; $this->app = $app ?: Factory::getApplication(); } diff --git a/src/673954d3-78d3-445a-b99f-4b40d617c882/code.power b/src/673954d3-78d3-445a-b99f-4b40d617c882/code.power index 8e7cb28..65c484c 100644 --- a/src/673954d3-78d3-445a-b99f-4b40d617c882/code.power +++ b/src/673954d3-78d3-445a-b99f-4b40d617c882/code.power @@ -31,65 +31,65 @@ protected string $zipFullPath; /** - * Compiler Config + * The Config Class. * - * @var Config + * @var Config * @since 3.2.0 */ protected Config $config; /** - * The compiler registry + * The Registry Class. * - * @var Registry + * @var Registry * @since 3.2.0 */ protected Registry $registry; /** - * Compiler Component Joomla Version Settings + * The Settings Class. * - * @var Settings + * @var Settings * @since 3.2.0 */ protected Settings $settings; /** - * Compiler Component + * The Component Class. * - * @var Component + * @var Component * @since 3.2.0 - **/ + */ protected Component $component; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** - * Compiler Counter + * The Counter Class. * - * @var Counter + * @var Counter * @since 3.2.0 */ protected Counter $counter; /** - * Compiler Paths + * The Paths Class. * - * @var Paths + * @var Paths * @since 3.2.0 */ protected Paths $paths; /** - * Compiler Utilities Files + * The Files Class. * - * @var Files + * @var Files * @since 3.2.0 */ protected Files $files; @@ -103,34 +103,32 @@ protected CMSApplication $app; /** - * Constructor + * Constructor. * - * @param Config|null $config The compiler config object. - * @param Registry|null $registry The compiler registry object. - * @param Settings|null $settings The compiler component Joomla version settings object. - * @param Component|null $component The component class. - * @param Content|null $content The compiler content object. - * @param Counter|null $counter The compiler counter object. - * @param Paths|null $paths The compiler paths object. - * @param Files|null $files The compiler files object. - * @param CMSApplication|null $app The CMS Application object. + * @param Config $config The Config Class. + * @param Registry $registry The Registry Class. + * @param Settings $settings The Settings Class. + * @param Component $component The Component Class. + * @param Content $content The ContentOne Class. + * @param Counter $counter The Counter Class. + * @param Paths $paths The Paths Class. + * @param Files $files The Files Class. + * @param CMSApplication|null $app The CMS Application object. * - * @throws \Exception * @since 3.2.0 */ - public function __construct(?Config $config = null, ?Registry $registry = null, - ?Settings $settings = null, ?Component $component = null, - ?Content $content = null, ?Counter $counter = null, ?Paths $paths = null, - ?Files $files = null, ?CMSApplication $app = null) + public function __construct(Config $config, Registry $registry, Settings $settings, + Component $component, Content $content, Counter $counter, + Paths $paths, Files $files, ?CMSApplication $app = null) { - $this->config = $config ?: Compiler::_('Config'); - $this->registry = $registry ?: Compiler::_('Registry'); - $this->settings = $settings ?: Compiler::_('Component.Settings'); - $this->component = $component ?: Compiler::_('Component'); - $this->content = $content ?: Compiler::_('Content'); - $this->counter = $counter ?: Compiler::_('Utilities.Counter'); - $this->paths = $paths ?: Compiler::_('Utilities.Paths'); - $this->files = $files ?: Compiler::_('Utilities.Files'); + $this->config = $config; + $this->registry = $registry; + $this->settings = $settings; + $this->component = $component; + $this->content = $content; + $this->counter = $counter; + $this->paths = $paths; + $this->files = $files; $this->app = $app ?: Factory::getApplication(); } diff --git a/src/673954d3-78d3-445a-b99f-4b40d617c882/settings.json b/src/673954d3-78d3-445a-b99f-4b40d617c882/settings.json index a785bf1..c119081 100644 --- a/src/673954d3-78d3-445a-b99f-4b40d617c882/settings.json +++ b/src/673954d3-78d3-445a-b99f-4b40d617c882/settings.json @@ -11,46 +11,42 @@ "type": "final class", "use_selection": { "use_selection0": { - "use": "d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac", - "as": "Compiler" - }, - "use_selection1": { - "use": "63dabe82-0f4a-4ade-9851-8518ade23de2", - "as": "default" - }, - "use_selection2": { - "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", - "as": "default" - }, - "use_selection3": { "use": "fa4bf18e-301e-42e3-91fb-6e0096c07adc", "as": "default" }, - "use_selection4": { + "use_selection1": { "use": "e5d9804f-0eb0-4ee9-b406-ad4e8cdbc1f6", "as": "default" }, - "use_selection5": { + "use_selection2": { + "use": "63dabe82-0f4a-4ade-9851-8518ade23de2", + "as": "default" + }, + "use_selection3": { "use": "e2472b22-a329-44d8-b4a2-ae3ba99e17a0", "as": "default" }, - "use_selection6": { + "use_selection4": { + "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", + "as": "Content" + }, + "use_selection5": { "use": "e6d871a6-bbe7-497d-af01-68f6bb9a87f4", "as": "default" }, - "use_selection7": { + "use_selection6": { "use": "6f20369a-8536-4870-a1a3-cda254c939c8", "as": "default" }, - "use_selection8": { + "use_selection7": { "use": "1d967151-7c20-4ca7-9400-65233cdcd4db", "as": "default" }, - "use_selection9": { + "use_selection8": { "use": "1f28cb53-60d9-4db1-b517-3c7dc6b429ef", "as": "default" }, - "use_selection10": { + "use_selection9": { "use": "a68c010b-e92e-47d5-8a44-d23cfddeb6c6", "as": "default" } diff --git a/src/6a1dddb3-a955-425e-b713-8ef81f256035/README.md b/src/6a1dddb3-a955-425e-b713-8ef81f256035/README.md index 239d99a..413584c 100644 --- a/src/6a1dddb3-a955-425e-b713-8ef81f256035/README.md +++ b/src/6a1dddb3-a955-425e-b713-8ef81f256035/README.md @@ -8,7 +8,7 @@ ``` # final class Title (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Title << (F,LightGreen) >> #RoyalBlue { diff --git a/src/6a1dddb3-a955-425e-b713-8ef81f256035/code.php b/src/6a1dddb3-a955-425e-b713-8ef81f256035/code.php index 95269d6..f569b53 100644 --- a/src/6a1dddb3-a955-425e-b713-8ef81f256035/code.php +++ b/src/6a1dddb3-a955-425e-b713-8ef81f256035/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Title extends StorageRegistry implements Storageregistryinterface +final class Title extends Registry implements Registryinterface { } diff --git a/src/6b386f2e-3eb1-4f60-81af-a90c8da1ffeb/README.md b/src/6b386f2e-3eb1-4f60-81af-a90c8da1ffeb/README.md index b84bbd1..5f25214 100644 --- a/src/6b386f2e-3eb1-4f60-81af-a90c8da1ffeb/README.md +++ b/src/6b386f2e-3eb1-4f60-81af-a90c8da1ffeb/README.md @@ -8,7 +8,7 @@ ``` # final class JsonItemArray (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class JsonItemArray << (F,LightGreen) >> #RoyalBlue { diff --git a/src/6b386f2e-3eb1-4f60-81af-a90c8da1ffeb/code.php b/src/6b386f2e-3eb1-4f60-81af-a90c8da1ffeb/code.php index d6f4d2a..97203c5 100644 --- a/src/6b386f2e-3eb1-4f60-81af-a90c8da1ffeb/code.php +++ b/src/6b386f2e-3eb1-4f60-81af-a90c8da1ffeb/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\InArray; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\InArray; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class JsonItemArray extends StorageRegistry implements Storageregistryinterface +final class JsonItemArray extends Registry implements Registryinterface { /** * In Array diff --git a/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/README.md b/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/README.md index 7d66f73..375fbe1 100644 --- a/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/README.md +++ b/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/README.md @@ -13,6 +13,7 @@ class CustomFieldTypeFile << (F,LightGreen) >> #RoyalBlue { # Config $config # Content $content + # Contents $contents # SiteField $sitefield # Placeholder $placeholder # Language $language @@ -35,6 +36,7 @@ note right of CustomFieldTypeFile::__construct arguments: Config $config Content $content + Contents $contents SiteField $sitefield Placeholder $placeholder Language $language diff --git a/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/code.php b/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/code.php index 4934202..6fc8ca3 100644 --- a/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/code.php +++ b/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/code.php @@ -16,7 +16,8 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Application\CMSApplication; use VDM\Joomla\Componentbuilder\Compiler\Config; -use VDM\Joomla\Componentbuilder\Compiler\Content; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentOne as Content; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentMulti as Contents; use VDM\Joomla\Componentbuilder\Compiler\Builder\SiteFieldData as SiteField; use VDM\Joomla\Componentbuilder\Compiler\Placeholder; use VDM\Joomla\Componentbuilder\Compiler\Language; @@ -49,13 +50,21 @@ final class CustomFieldTypeFile protected Config $config; /** - * The Content Class. + * The ContentOne Class. * * @var Content * @since 3.2.0 */ protected Content $content; + /** + * The ContentMulti Class. + * + * @var Contents + * @since 3.2.0 + */ + protected Contents $contents; + /** * The SiteFieldData Class. * @@ -140,7 +149,8 @@ final class CustomFieldTypeFile * Constructor. * * @param Config $config The Config Class. - * @param Content $content The Content Class. + * @param Content $content The ContentOne Class. + * @param Contents $contents The ContentMulti Class. * @param SiteField $sitefield The SiteFieldData Class. * @param Placeholder $placeholder The Placeholder Class. * @param Language $language The Language Class. @@ -153,8 +163,9 @@ final class CustomFieldTypeFile * * @since 3.2.0 */ - public function __construct(Config $config, Content $content, SiteField $sitefield, - Placeholder $placeholder, Language $language, + public function __construct(Config $config, Content $content, Contents $contents, + SiteField $sitefield, Placeholder $placeholder, + Language $language, ComponentPlaceholder $componentplaceholder, Structure $structure, InputButton $inputbutton, FieldGroupControl $fieldgroupcontrol, @@ -163,6 +174,7 @@ final class CustomFieldTypeFile { $this->config = $config; $this->content = $content; + $this->contents = $contents; $this->sitefield = $sitefield; $this->placeholder = $placeholder; $this->language = $language; @@ -188,13 +200,9 @@ final class CustomFieldTypeFile { // make sure it is not already been build or if it is prime if (isset($data['custom']) && isset($data['custom']['extends']) - && ((isset($data['custom']['prime_php']) - && $data['custom']['prime_php'] == 1) - || !$this->content->exist_('customfield_' . $data['type']) - || !ArrayHelper::check( - $this->content->get_('customfield_' . $data['type']) - ) - )) + && ((isset($data['custom']['prime_php']) && $data['custom']['prime_php'] == 1) + || !$this->contents->isArray('customfield_' . $data['type'])) + ) { // set J prefix $jprefix = 'J'; @@ -212,6 +220,8 @@ final class CustomFieldTypeFile $data['type'] = implode('', $dotTypeArray); $data['custom']['type'] = $data['type']; } + // set the contents key + $contents_key = "customfield_{$data['type']}|"; // set tab and break replacements $tabBreak = array( '\t' => Indent::_(1), @@ -273,17 +283,17 @@ final class CustomFieldTypeFile $replace[$globalPlaceholder] = $gloabalValue; } // start loading the field type - // $this->fileContentDynamic['customfield_' . $data['type']] = array(); + // JPREFIX <<>> - $this->content->set_('customfield_' . $data['type'], 'JPREFIX', $jprefix); + $this->contents->set("{$contents_key}JPREFIX", $jprefix); // Type <<>> - $this->content->set_('customfield_' . $data['type'], 'Type', + $this->contents->set("{$contents_key}Type", StringHelper::safe( $data['custom']['type'], 'F' ) ); // type <<>> - $this->content->set_('customfield_' . $data['type'], 'type', StringHelper::safe($data['custom']['type'])); + $this->contents->set("{$contents_key}type", StringHelper::safe($data['custom']['type'])); // is this a own custom field if (isset($data['custom']['own_custom'])) { @@ -311,24 +321,23 @@ final class CustomFieldTypeFile ); // JFORM_TYPE_HEADER <<>> $add_default_header = true; - $this->content->set_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', + $this->contents->set("{$contents_key}JFORM_TYPE_HEADER", "//" . Line::_( __LINE__,__CLASS__ ) . " Import the " . $JFORM_extends . " field type classes needed" ); // JFORM_extens <<>> - $this->content->set_('customfield_' . $data['type'], - 'JFORM_extends', $JFORM_extends + $this->contents->set("{$contents_key}JFORM_extends", $JFORM_extends ); // JFORM_EXTENDS <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_EXTENDS', + $this->contents->set("{$contents_key}JFORM_EXTENDS", StringHelper::safe( $data['custom']['extends'], 'F' ) ); // JFORM_TYPE_PHP <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_TYPE_PHP', + $this->contents->set("{$contents_key}JFORM_TYPE_PHP", PHP_EOL . PHP_EOL . Indent::_(1) . "//" . Line::_( __LINE__,__CLASS__ ) . " A " . $data['custom']['own_custom'] . " Field" @@ -356,10 +365,10 @@ final class CustomFieldTypeFile // check if this is header text if ('HEADER' === $x) { - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', + $this->contents->add("{$contents_key}JFORM_TYPE_HEADER", PHP_EOL . $this->placeholder->update( $phpBucket, $replace - ) + ), false ); // stop default headers from loading $add_default_header = false; @@ -367,10 +376,10 @@ final class CustomFieldTypeFile else { // JFORM_TYPE_PHP <<>> - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_PHP', + $this->contents->add("{$contents_key}JFORM_TYPE_PHP", PHP_EOL . $this->placeholder->update( $phpBucket, $replace - ) + ), false ); } } @@ -378,20 +387,22 @@ final class CustomFieldTypeFile // check if we should add default header if ($add_default_header) { - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', - PHP_EOL . "jimport('joomla.form.helper');" + $this->contents->add("{$contents_key}JFORM_TYPE_HEADER", + PHP_EOL . "jimport('joomla.form.helper');", + false ); - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', - PHP_EOL . "JFormHelper::loadFieldClass('" . $JFORM_extends . "');" + $this->contents->add("{$contents_key}JFORM_TYPE_HEADER", + PHP_EOL . "JFormHelper::loadFieldClass('" . $JFORM_extends . "');", + false ); } // check the the JFormHelper::loadFieldClass(..) was set - elseif (strpos((string) $this->content->get_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER'), + elseif (strpos((string) $this->contents->get("{$contents_key}JFORM_TYPE_HEADER"), 'JFormHelper::loadFieldClass(') === false) { - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', + $this->contents->add("{$contents_key}JFORM_TYPE_HEADER", PHP_EOL . "JFormHelper::loadFieldClass('" - . $JFORM_extends . "');" + . $JFORM_extends . "');", false ); } } @@ -488,29 +499,29 @@ final class CustomFieldTypeFile // build the Group Control $this->fieldgroupcontrol->set($data['type'], $groupLangName); // JFORM_GETGROUPS_PHP <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_GETGROUPS_PHP', + $this->contents->set("{$contents_key}JFORM_GETGROUPS_PHP", $phpCode ); // JFORM_GETEXCLUDED_PHP <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_GETEXCLUDED_PHP', + $this->contents->set("{$contents_key}JFORM_GETEXCLUDED_PHP", $phpxCode ); } else { // JFORM_GETOPTIONS_PHP <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_GETOPTIONS_PHP', + $this->contents->set("{$contents_key}JFORM_GETOPTIONS_PHP", $phpCode ); } // type <<>> - $this->content->set_('customfield_' . $data['type'], 'ADD_BUTTON', + $this->contents->set("{$contents_key}ADD_BUTTON", $this->inputbutton->get($data['custom']) ); } } // if this field gets used in plug-in or module we should track it so if needed we can copy it over - if ((strpos($nameSingleCode, 'P|uG!n') !== false || strpos($nameSingleCode, 'M0dU|3') !== false) + if ((strpos($nameSingleCode, 'pLuG!n') !== false || strpos($nameSingleCode, 'M0dUl3') !== false) && isset($data['custom']) && isset($data['custom']['type'])) { diff --git a/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/code.power b/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/code.power index c54df95..6f55d7b 100644 --- a/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/code.power +++ b/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/code.power @@ -7,13 +7,21 @@ protected Config $config; /** - * The Content Class. + * The ContentOne Class. * * @var Content * @since 3.2.0 */ protected Content $content; + /** + * The ContentMulti Class. + * + * @var Contents + * @since 3.2.0 + */ + protected Contents $contents; + /** * The SiteFieldData Class. * @@ -98,7 +106,8 @@ * Constructor. * * @param Config $config The Config Class. - * @param Content $content The Content Class. + * @param Content $content The ContentOne Class. + * @param Contents $contents The ContentMulti Class. * @param SiteField $sitefield The SiteFieldData Class. * @param Placeholder $placeholder The Placeholder Class. * @param Language $language The Language Class. @@ -111,8 +120,9 @@ * * @since 3.2.0 */ - public function __construct(Config $config, Content $content, SiteField $sitefield, - Placeholder $placeholder, Language $language, + public function __construct(Config $config, Content $content, Contents $contents, + SiteField $sitefield, Placeholder $placeholder, + Language $language, ComponentPlaceholder $componentplaceholder, Structure $structure, InputButton $inputbutton, FieldGroupControl $fieldgroupcontrol, @@ -121,6 +131,7 @@ { $this->config = $config; $this->content = $content; + $this->contents = $contents; $this->sitefield = $sitefield; $this->placeholder = $placeholder; $this->language = $language; @@ -146,13 +157,9 @@ { // make sure it is not already been build or if it is prime if (isset($data['custom']) && isset($data['custom']['extends']) - && ((isset($data['custom']['prime_php']) - && $data['custom']['prime_php'] == 1) - || !$this->content->exist_('customfield_' . $data['type']) - || !ArrayHelper::check( - $this->content->get_('customfield_' . $data['type']) - ) - )) + && ((isset($data['custom']['prime_php']) && $data['custom']['prime_php'] == 1) + || !$this->contents->isArray('customfield_' . $data['type'])) + ) { // set J prefix $jprefix = 'J'; @@ -170,6 +177,8 @@ $data['type'] = implode('', $dotTypeArray); $data['custom']['type'] = $data['type']; } + // set the contents key + $contents_key = "customfield_{$data['type']}|"; // set tab and break replacements $tabBreak = array( '\t' => Indent::_(1), @@ -231,17 +240,17 @@ $replace[$globalPlaceholder] = $gloabalValue; } // start loading the field type - // $this->fileContentDynamic['customfield_' . $data['type']] = array(); + // JPREFIX <<>> - $this->content->set_('customfield_' . $data['type'], 'JPREFIX', $jprefix); + $this->contents->set("{$contents_key}JPREFIX", $jprefix); // Type <<>> - $this->content->set_('customfield_' . $data['type'], 'Type', + $this->contents->set("{$contents_key}Type", StringHelper::safe( $data['custom']['type'], 'F' ) ); // type <<>> - $this->content->set_('customfield_' . $data['type'], 'type', StringHelper::safe($data['custom']['type'])); + $this->contents->set("{$contents_key}type", StringHelper::safe($data['custom']['type'])); // is this a own custom field if (isset($data['custom']['own_custom'])) { @@ -269,24 +278,23 @@ ); // JFORM_TYPE_HEADER <<>> $add_default_header = true; - $this->content->set_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', + $this->contents->set("{$contents_key}JFORM_TYPE_HEADER", "//" . Line::_( __LINE__,__CLASS__ ) . " Import the " . $JFORM_extends . " field type classes needed" ); // JFORM_extens <<>> - $this->content->set_('customfield_' . $data['type'], - 'JFORM_extends', $JFORM_extends + $this->contents->set("{$contents_key}JFORM_extends", $JFORM_extends ); // JFORM_EXTENDS <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_EXTENDS', + $this->contents->set("{$contents_key}JFORM_EXTENDS", StringHelper::safe( $data['custom']['extends'], 'F' ) ); // JFORM_TYPE_PHP <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_TYPE_PHP', + $this->contents->set("{$contents_key}JFORM_TYPE_PHP", PHP_EOL . PHP_EOL . Indent::_(1) . "//" . Line::_( __LINE__,__CLASS__ ) . " A " . $data['custom']['own_custom'] . " Field" @@ -314,10 +322,10 @@ // check if this is header text if ('HEADER' === $x) { - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', + $this->contents->add("{$contents_key}JFORM_TYPE_HEADER", PHP_EOL . $this->placeholder->update( $phpBucket, $replace - ) + ), false ); // stop default headers from loading $add_default_header = false; @@ -325,10 +333,10 @@ else { // JFORM_TYPE_PHP <<>> - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_PHP', + $this->contents->add("{$contents_key}JFORM_TYPE_PHP", PHP_EOL . $this->placeholder->update( $phpBucket, $replace - ) + ), false ); } } @@ -336,20 +344,22 @@ // check if we should add default header if ($add_default_header) { - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', - PHP_EOL . "jimport('joomla.form.helper');" + $this->contents->add("{$contents_key}JFORM_TYPE_HEADER", + PHP_EOL . "jimport('joomla.form.helper');", + false ); - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', - PHP_EOL . "JFormHelper::loadFieldClass('" . $JFORM_extends . "');" + $this->contents->add("{$contents_key}JFORM_TYPE_HEADER", + PHP_EOL . "JFormHelper::loadFieldClass('" . $JFORM_extends . "');", + false ); } // check the the JFormHelper::loadFieldClass(..) was set - elseif (strpos((string) $this->content->get_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER'), + elseif (strpos((string) $this->contents->get("{$contents_key}JFORM_TYPE_HEADER"), 'JFormHelper::loadFieldClass(') === false) { - $this->content->add_('customfield_' . $data['type'], 'JFORM_TYPE_HEADER', + $this->contents->add("{$contents_key}JFORM_TYPE_HEADER", PHP_EOL . "JFormHelper::loadFieldClass('" - . $JFORM_extends . "');" + . $JFORM_extends . "');", false ); } } @@ -446,29 +456,29 @@ // build the Group Control $this->fieldgroupcontrol->set($data['type'], $groupLangName); // JFORM_GETGROUPS_PHP <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_GETGROUPS_PHP', + $this->contents->set("{$contents_key}JFORM_GETGROUPS_PHP", $phpCode ); // JFORM_GETEXCLUDED_PHP <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_GETEXCLUDED_PHP', + $this->contents->set("{$contents_key}JFORM_GETEXCLUDED_PHP", $phpxCode ); } else { // JFORM_GETOPTIONS_PHP <<>> - $this->content->set_('customfield_' . $data['type'], 'JFORM_GETOPTIONS_PHP', + $this->contents->set("{$contents_key}JFORM_GETOPTIONS_PHP", $phpCode ); } // type <<>> - $this->content->set_('customfield_' . $data['type'], 'ADD_BUTTON', + $this->contents->set("{$contents_key}ADD_BUTTON", $this->inputbutton->get($data['custom']) ); } } // if this field gets used in plug-in or module we should track it so if needed we can copy it over - if ((strpos($nameSingleCode, 'P|uG!n') !== false || strpos($nameSingleCode, 'M0dU|3') !== false) + if ((strpos($nameSingleCode, 'pLuG!n') !== false || strpos($nameSingleCode, 'M0dUl3') !== false) && isset($data['custom']) && isset($data['custom']['type'])) { diff --git a/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/settings.json b/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/settings.json index f379586..b910ad0 100644 --- a/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/settings.json +++ b/src/6dced3d9-7d10-4ea1-bcf6-a5e6af4b9c96/settings.json @@ -16,61 +16,65 @@ }, "use_selection1": { "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", - "as": "default" + "as": "Content" }, "use_selection2": { + "use": "5f57ff1a-c196-45b1-a2ac-33766b44fb95", + "as": "Contents" + }, + "use_selection3": { "use": "33f5131e-4a5b-414b-95dd-d22227c2666d", "as": "SiteField" }, - "use_selection3": { + "use_selection4": { "use": "06453ada-e370-49f0-b262-e3f5a8ed0c2c", "as": "default" }, - "use_selection4": { + "use_selection5": { "use": "8eee7df5-2775-41a9-9372-c46c5939a252", "as": "default" }, - "use_selection5": { + "use_selection6": { "use": "aecc17ba-0b0f-4e5c-ae43-71be063a3dcb", "as": "ComponentPlaceholder" }, - "use_selection6": { + "use_selection7": { "use": "1efdded5-d6c8-452c-8f37-0374483a7b3f", "as": "default" }, - "use_selection7": { + "use_selection8": { "use": "c600f58c-3fe2-4d2d-b711-2660eab6effe", "as": "default" }, - "use_selection8": { + "use_selection9": { "use": "d5530adf-c809-45a9-87fc-7cecd3d972d8", "as": "default" }, - "use_selection9": { + "use_selection10": { "use": "e9b6b06b-f600-4f9d-984d-79c70ae7ae92", "as": "default" }, - "use_selection10": { + "use_selection11": { "use": "0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a", "as": "default" }, - "use_selection11": { + "use_selection12": { "use": "1f28cb53-60d9-4db1-b517-3c7dc6b429ef", "as": "default" }, - "use_selection12": { + "use_selection13": { "use": "a68c010b-e92e-47d5-8a44-d23cfddeb6c6", "as": "default" }, - "use_selection13": { + "use_selection14": { "use": "500f3a7f-c16d-4dd4-81b2-2df6776b5388", "as": "default" }, - "use_selection14": { + "use_selection15": { "use": "4e6ff11d-bebf-42f5-8fd7-b2f882857222", "as": "default" }, - "use_selection15": { + "use_selection16": { "use": "9ef0eb24-aae4-4f5a-99af-d724db44808f", "as": "default" } diff --git a/src/6e64917c-d687-4ef3-a655-811319f5a81e/README.md b/src/6e64917c-d687-4ef3-a655-811319f5a81e/README.md index c652b6b..b992d73 100644 --- a/src/6e64917c-d687-4ef3-a655-811319f5a81e/README.md +++ b/src/6e64917c-d687-4ef3-a655-811319f5a81e/README.md @@ -15,7 +15,7 @@ class Autoloader #Gold { # Config $config # Content $content # string $helper - + __construct(?Power $power = null, ?Config $config = null, ...) + + __construct(Power $power, Config $config, ...) + set() : void - loadPluginAutoloader() : bool - loadHelperAutoloader() : bool @@ -33,9 +33,9 @@ note right of Autoloader::__construct since: 3.2.0 arguments: - ?Power $power = null - ?Config $config = null - ?Content $content = null + Power $power + Config $config + Content $content end note note left of Autoloader::set diff --git a/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.php b/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.php index b27af38..2a0dec8 100644 --- a/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.php +++ b/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.php @@ -12,10 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Power; -use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler; use VDM\Joomla\Componentbuilder\Compiler\Power; use VDM\Joomla\Componentbuilder\Compiler\Config; -use VDM\Joomla\Componentbuilder\Compiler\Content; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentOne as Content; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Line; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Indent; use VDM\Joomla\Utilities\ArrayHelper; @@ -29,27 +28,27 @@ use VDM\Joomla\Utilities\ArrayHelper; class Autoloader { /** - * Power Objects + * The Power Class. * - * @var Power + * @var Power * @since 3.2.0 - **/ + */ protected Power $power; /** - * Compiler Config + * The Config Class. * - * @var Config + * @var Config * @since 3.2.0 - **/ + */ protected Config $config; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** @@ -63,17 +62,17 @@ class Autoloader /** * Constructor. * - * @param Power|null $power The power object. - * @param Config|null $config The compiler config object. - * @param Content|null $content The compiler content object. + * @param Power $power The Power Class. + * @param Config $config The Config Class. + * @param Content $content The ContentOne Class. * * @since 3.2.0 */ - public function __construct(?Power $power = null, ?Config $config = null, ?Content $content = null) + public function __construct(Power $power, Config $config, Content $content) { - $this->power = $power ?: Compiler::_('Power'); - $this->config = $config ?: Compiler::_('Config'); - $this->content = $content ?: Compiler::_('Content'); + $this->power = $power; + $this->config = $config; + $this->content = $content; // reset all autoloaders power placeholders $this->content->set('ADMIN_POWER_HELPER', ''); @@ -137,7 +136,7 @@ class Autoloader */ private function loadPluginAutoloader(): bool { - return $this->content->exist('PLUGIN_POWER_AUTOLOADER'); + return $this->content->exists('PLUGIN_POWER_AUTOLOADER'); } /** @@ -408,7 +407,6 @@ class Autoloader } return null; - } - + } } diff --git a/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.power b/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.power index f071271..aba5765 100644 --- a/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.power +++ b/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.power @@ -1,25 +1,25 @@ /** - * Power Objects + * The Power Class. * - * @var Power + * @var Power * @since 3.2.0 - **/ + */ protected Power $power; /** - * Compiler Config + * The Config Class. * - * @var Config + * @var Config * @since 3.2.0 - **/ + */ protected Config $config; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** @@ -33,17 +33,17 @@ /** * Constructor. * - * @param Power|null $power The power object. - * @param Config|null $config The compiler config object. - * @param Content|null $content The compiler content object. + * @param Power $power The Power Class. + * @param Config $config The Config Class. + * @param Content $content The ContentOne Class. * * @since 3.2.0 */ - public function __construct(?Power $power = null, ?Config $config = null, ?Content $content = null) + public function __construct(Power $power, Config $config, Content $content) { - $this->power = $power ?: Compiler::_('Power'); - $this->config = $config ?: Compiler::_('Config'); - $this->content = $content ?: Compiler::_('Content'); + $this->power = $power; + $this->config = $config; + $this->content = $content; // reset all autoloaders power placeholders $this->content->set('ADMIN_POWER_HELPER', ''); @@ -107,7 +107,7 @@ */ private function loadPluginAutoloader(): bool { - return $this->content->exist('PLUGIN_POWER_AUTOLOADER'); + return $this->content->exists('PLUGIN_POWER_AUTOLOADER'); } /** @@ -378,4 +378,4 @@ } return null; - } + } \ No newline at end of file diff --git a/src/6e64917c-d687-4ef3-a655-811319f5a81e/settings.json b/src/6e64917c-d687-4ef3-a655-811319f5a81e/settings.json index b9828a5..f6121ef 100644 --- a/src/6e64917c-d687-4ef3-a655-811319f5a81e/settings.json +++ b/src/6e64917c-d687-4ef3-a655-811319f5a81e/settings.json @@ -10,10 +10,6 @@ "system_name": "JCB.Compiler.Power.Autoloader", "type": "class", "use_selection": { - "use_selection0": { - "use": "d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac", - "as": "Compiler" - }, "use_selection1": { "use": "b836c1b1-b6b1-44f7-b8a2-9a763a4185b1", "as": "default" @@ -24,7 +20,7 @@ }, "use_selection3": { "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", - "as": "default" + "as": "Content" }, "use_selection4": { "use": "4e6ff11d-bebf-42f5-8fd7-b2f882857222", diff --git a/src/6f20369a-8536-4870-a1a3-cda254c939c8/README.md b/src/6f20369a-8536-4870-a1a3-cda254c939c8/README.md index 2da08aa..d2c1fbd 100644 --- a/src/6f20369a-8536-4870-a1a3-cda254c939c8/README.md +++ b/src/6f20369a-8536-4870-a1a3-cda254c939c8/README.md @@ -8,15 +8,14 @@ ``` # class Paths (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Utilities** -> extends: **MapperSingle** +> extends: **Registry** ```uml @startuml class Paths #Gold { # Config $config # Component $component - + __construct(?Config $config = null, ?Component $component = null) + + __construct(Config $config = null, Component $component = null) + __get(string $key) : string - # key(string $key) : string - setTemplatePath() : void - setComponentSalesName() : void - setComponentBackupName() : void @@ -38,49 +37,42 @@ note left of Paths::__get return: string end note -note right of Paths::key - Model the key - - since: 3.2.0 - return: string -end note - -note left of Paths::setTemplatePath +note right of Paths::setTemplatePath Set the template path since: 3.2.0 return: void end note -note right of Paths::setComponentSalesName +note left of Paths::setComponentSalesName Set component sales name since: 3.2.0 return: void end note -note left of Paths::setComponentBackupName +note right of Paths::setComponentBackupName Set component backup name since: 3.2.0 return: void end note -note right of Paths::setComponentFolderName +note left of Paths::setComponentFolderName Set component folder name since: 3.2.0 return: void end note -note left of Paths::setComponentPath +note right of Paths::setComponentPath Set component path since: 3.2.0 return: void end note -note right of Paths::setTemplatePathCustom +note left of Paths::setTemplatePathCustom set the template path for custom TODO: just use custom_folder_path in config since: 3.2.0 diff --git a/src/6f20369a-8536-4870-a1a3-cda254c939c8/code.php b/src/6f20369a-8536-4870-a1a3-cda254c939c8/code.php index 9104dda..f4a7104 100644 --- a/src/6f20369a-8536-4870-a1a3-cda254c939c8/code.php +++ b/src/6f20369a-8536-4870-a1a3-cda254c939c8/code.php @@ -12,11 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Utilities; -use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler; use VDM\Joomla\Componentbuilder\Compiler\Config; use VDM\Joomla\Componentbuilder\Compiler\Component; -use VDM\Joomla\Componentbuilder\Interfaces\Mappersingleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\MapperSingle; +use VDM\Joomla\Abstraction\Registry; /** @@ -24,7 +22,7 @@ use VDM\Joomla\Componentbuilder\Abstraction\MapperSingle; * * @since 3.2.0 */ -class Paths extends MapperSingle implements Mappersingleinterface +class Paths extends Registry { /** * Compiler Config @@ -45,15 +43,15 @@ class Paths extends MapperSingle implements Mappersingleinterface /** * Constructor * - * @param Config|null $config The compiler config object. - * @param Component|null $component The component class. + * @param Config $config The compiler config object. + * @param Component $component The component class. * * @since 3.2.0 */ - public function __construct(?Config $config = null, ?Component $component = null) + public function __construct(Config $config = null, Component $component = null) { - $this->config = $config ?: Compiler::_('Config'); - $this->component = $component ?: Compiler::_('Component'); + $this->config = $config; + $this->component = $component; // set the template path $this->setTemplatePath(); @@ -86,7 +84,7 @@ class Paths extends MapperSingle implements Mappersingleinterface public function __get(string $key): string { // check if it has been set - if ($this->exist($key)) + if ($this->exists($key)) { return $this->get($key); } @@ -94,19 +92,6 @@ class Paths extends MapperSingle implements Mappersingleinterface throw new \InvalidArgumentException(sprintf('Path %s could not be found in the Paths Class.', $key)); } - /** - * Model the key - * - * @param string $key The key to model - * - * @return string - * @since 3.2.0 - */ - protected function key(string $key): string - { - return $key; - } - /** * Set the template path * @@ -198,7 +183,6 @@ class Paths extends MapperSingle implements Mappersingleinterface 'custom_folder_path', JPATH_COMPONENT_ADMINISTRATOR . '/custom' ) ); - } - + } } diff --git a/src/6f20369a-8536-4870-a1a3-cda254c939c8/code.power b/src/6f20369a-8536-4870-a1a3-cda254c939c8/code.power index b3fae3c..eecb12f 100644 --- a/src/6f20369a-8536-4870-a1a3-cda254c939c8/code.power +++ b/src/6f20369a-8536-4870-a1a3-cda254c939c8/code.power @@ -17,15 +17,15 @@ /** * Constructor * - * @param Config|null $config The compiler config object. - * @param Component|null $component The component class. + * @param Config $config The compiler config object. + * @param Component $component The component class. * * @since 3.2.0 */ - public function __construct(?Config $config = null, ?Component $component = null) + public function __construct(Config $config = null, Component $component = null) { - $this->config = $config ?: Compiler::_('Config'); - $this->component = $component ?: Compiler::_('Component'); + $this->config = $config; + $this->component = $component; // set the template path $this->setTemplatePath(); @@ -58,7 +58,7 @@ public function __get(string $key): string { // check if it has been set - if ($this->exist($key)) + if ($this->exists($key)) { return $this->get($key); } @@ -66,19 +66,6 @@ throw new \InvalidArgumentException(sprintf('Path %s could not be found in the Paths Class.', $key)); } - /** - * Model the key - * - * @param string $key The key to model - * - * @return string - * @since 3.2.0 - */ - protected function key(string $key): string - { - return $key; - } - /** * Set the template path * @@ -170,4 +157,4 @@ 'custom_folder_path', JPATH_COMPONENT_ADMINISTRATOR . '/custom' ) ); - } + } \ No newline at end of file diff --git a/src/6f20369a-8536-4870-a1a3-cda254c939c8/settings.json b/src/6f20369a-8536-4870-a1a3-cda254c939c8/settings.json index bfe582b..f38814b 100644 --- a/src/6f20369a-8536-4870-a1a3-cda254c939c8/settings.json +++ b/src/6f20369a-8536-4870-a1a3-cda254c939c8/settings.json @@ -1,11 +1,9 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "c6bbc3ee-58e7-4463-adba-5c5ae839ee36", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "6f20369a-8536-4870-a1a3-cda254c939c8", - "implements": [ - "78527c29-24ad-4735-ad4c-ec33a4952d9b" - ], + "implements": null, "load_selection": null, "name": "Paths", "power_version": "1.0.0", @@ -13,14 +11,10 @@ "type": "class", "use_selection": { "use_selection0": { - "use": "d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac", - "as": "Compiler" - }, - "use_selection1": { "use": "fa4bf18e-301e-42e3-91fb-6e0096c07adc", "as": "default" }, - "use_selection2": { + "use_selection1": { "use": "e2472b22-a329-44d8-b4a2-ae3ba99e17a0", "as": "default" } diff --git a/src/7415fdb4-5719-40b7-b01f-05588e968b47/README.md b/src/7415fdb4-5719-40b7-b01f-05588e968b47/README.md index 7a80d8f..bfb152d 100644 --- a/src/7415fdb4-5719-40b7-b01f-05588e968b47/README.md +++ b/src/7415fdb4-5719-40b7-b01f-05588e968b47/README.md @@ -8,7 +8,7 @@ ``` # final class LayoutData (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class LayoutData << (F,LightGreen) >> #RoyalBlue { diff --git a/src/7415fdb4-5719-40b7-b01f-05588e968b47/code.php b/src/7415fdb4-5719-40b7-b01f-05588e968b47/code.php index 046368d..b6bf198 100644 --- a/src/7415fdb4-5719-40b7-b01f-05588e968b47/code.php +++ b/src/7415fdb4-5719-40b7-b01f-05588e968b47/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class LayoutData extends StorageRegistry implements Storageregistryinterface +final class LayoutData extends Registry implements Registryinterface { } diff --git a/src/74595661-236d-4aa1-99f3-358d093000be/README.md b/src/74595661-236d-4aa1-99f3-358d093000be/README.md index c2eb981..2d1b2b0 100644 --- a/src/74595661-236d-4aa1-99f3-358d093000be/README.md +++ b/src/74595661-236d-4aa1-99f3-358d093000be/README.md @@ -8,7 +8,7 @@ ``` # final class OtherQuery (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class OtherQuery << (F,LightGreen) >> #RoyalBlue { diff --git a/src/74595661-236d-4aa1-99f3-358d093000be/code.php b/src/74595661-236d-4aa1-99f3-358d093000be/code.php index 0892287..0eda016 100644 --- a/src/74595661-236d-4aa1-99f3-358d093000be/code.php +++ b/src/74595661-236d-4aa1-99f3-358d093000be/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class OtherQuery extends StorageRegistry implements Storageregistryinterface +final class OtherQuery extends Registry implements Registryinterface { } diff --git a/src/7506a35c-fa32-44ab-bd41-363439b20b82/README.md b/src/7506a35c-fa32-44ab-bd41-363439b20b82/README.md index 6cbd803..4922d50 100644 --- a/src/7506a35c-fa32-44ab-bd41-363439b20b82/README.md +++ b/src/7506a35c-fa32-44ab-bd41-363439b20b82/README.md @@ -8,7 +8,7 @@ ``` # final class ListHeadOverride (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ListHeadOverride << (F,LightGreen) >> #RoyalBlue { diff --git a/src/7506a35c-fa32-44ab-bd41-363439b20b82/code.php b/src/7506a35c-fa32-44ab-bd41-363439b20b82/code.php index f59d911..bbe5cf9 100644 --- a/src/7506a35c-fa32-44ab-bd41-363439b20b82/code.php +++ b/src/7506a35c-fa32-44ab-bd41-363439b20b82/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ListHeadOverride extends StorageRegistry implements Storageregistryinterface +final class ListHeadOverride extends Registry implements Registryinterface { } diff --git a/src/766a9524-37df-4604-91a7-b98a6150ee26/code.php b/src/766a9524-37df-4604-91a7-b98a6150ee26/code.php index 29b92a5..91e47db 100644 --- a/src/766a9524-37df-4604-91a7-b98a6150ee26/code.php +++ b/src/766a9524-37df-4604-91a7-b98a6150ee26/code.php @@ -285,7 +285,7 @@ class Data $_backup_langPrefix = $this->config->lang_prefix; // set some keys - $plugin->target_type = 'P|uG!n'; + $plugin->target_type = 'pLuG!n'; $plugin->key = $plugin->id . '_' . $plugin->target_type; // update to point to plugin diff --git a/src/766a9524-37df-4604-91a7-b98a6150ee26/code.power b/src/766a9524-37df-4604-91a7-b98a6150ee26/code.power index c0b064c..e230bc5 100644 --- a/src/766a9524-37df-4604-91a7-b98a6150ee26/code.power +++ b/src/766a9524-37df-4604-91a7-b98a6150ee26/code.power @@ -245,7 +245,7 @@ $_backup_langPrefix = $this->config->lang_prefix; // set some keys - $plugin->target_type = 'P|uG!n'; + $plugin->target_type = 'pLuG!n'; $plugin->key = $plugin->id . '_' . $plugin->target_type; // update to point to plugin diff --git a/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/README.md b/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/README.md deleted file mode 100644 index 4f2ea60..0000000 --- a/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/README.md +++ /dev/null @@ -1,82 +0,0 @@ -``` -██████╗ ██████╗ ██╗ ██╗███████╗██████╗ -██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ -██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ -██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ -██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ -╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ -``` -# interface Mappersingleinterface (Details) -> namespace: **VDM\Joomla\Componentbuilder\Interfaces** -```uml -@startuml -interface Mappersingleinterface #Lavender { - + isActive() : bool - + set(string $key, mixed $value) : void - + get(string $key) : mixed - + exist(string $key) : bool - + add(string $key, mixed $value, ...) : void - + remove(string $key) : void -} - -note right of Mappersingleinterface::isActive - Check if any values are set in the active array - - since: 3.2.0 - return: bool -end note - -note right of Mappersingleinterface::set - Set content - - since: 3.2.0 - return: void -end note - -note right of Mappersingleinterface::get - Get content - - since: 3.2.0 - return: mixed -end note - -note right of Mappersingleinterface::exist - Does key exist - - since: 3.2.0 - return: bool -end note - -note right of Mappersingleinterface::add - Add content - - since: 3.2.0 - return: void - - arguments: - string $key - mixed $value - bool $array = false -end note - -note right of Mappersingleinterface::remove - Remove content - - since: 3.2.0 - return: void -end note - -@enduml -``` - ---- -``` - ██╗ ██████╗██████╗ - ██║██╔════╝██╔══██╗ - ██║██║ ██████╔╝ -██ ██║██║ ██╔══██╗ -╚█████╔╝╚██████╗██████╔╝ - ╚════╝ ╚═════╝╚═════╝ -``` -> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) - diff --git a/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.php b/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.php deleted file mode 100644 index d8e4a7a..0000000 --- a/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.php +++ /dev/null @@ -1,82 +0,0 @@ - - * @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\Interfaces; - - -/** - * The Single Mapper Interface - */ -interface Mappersingleinterface -{ - /** - * Check if any values are set in the active array - * - * @return bool Returns true if the active array is not empty, false otherwise - * @since 3.2.0 - */ - public function isActive(): bool; - - /** - * Set content - * - * @param string $key The main string key - * @param mixed $value The values to set - * - * @return void - * @since 3.2.0 - */ - public function set(string $key, $value): void; - - /** - * Get content - * - * @param string $key The main string key - * @param mixed $value The values to set - * - * @return mixed - * @since 3.2.0 - */ - public function get(string $key); - - /** - * Does key exist - * - * @param string $key The main string key - * - * @return bool - * @since 3.2.0 - */ - public function exist(string $key): bool; - - /** - * Add content - * - * @param string $key The main string key - * @param mixed $value The values to set - * @param bool $array The is array switch - * - * @return void - * @since 3.2.0 - */ - public function add(string $key, $value, bool $array = false): void; - - /** - * Remove content - * - * @param string $key The main string key - * - * @return void - * @since 3.2.0 - */ - public function remove(string $key): void; -} - diff --git a/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.power b/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.power deleted file mode 100644 index f6df07c..0000000 --- a/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/code.power +++ /dev/null @@ -1,61 +0,0 @@ - /** - * Check if any values are set in the active array - * - * @return bool Returns true if the active array is not empty, false otherwise - * @since 3.2.0 - */ - public function isActive(): bool; - - /** - * Set content - * - * @param string $key The main string key - * @param mixed $value The values to set - * - * @return void - * @since 3.2.0 - */ - public function set(string $key, $value): void; - - /** - * Get content - * - * @param string $key The main string key - * @param mixed $value The values to set - * - * @return mixed - * @since 3.2.0 - */ - public function get(string $key); - - /** - * Does key exist - * - * @param string $key The main string key - * - * @return bool - * @since 3.2.0 - */ - public function exist(string $key): bool; - - /** - * Add content - * - * @param string $key The main string key - * @param mixed $value The values to set - * @param bool $array The is array switch - * - * @return void - * @since 3.2.0 - */ - public function add(string $key, $value, bool $array = false): void; - - /** - * Remove content - * - * @param string $key The main string key - * - * @return void - * @since 3.2.0 - */ - public function remove(string $key): void; \ No newline at end of file diff --git a/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/settings.json b/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/settings.json deleted file mode 100644 index 3d1e560..0000000 --- a/src/78527c29-24ad-4735-ad4c-ec33a4952d9b/settings.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "add_head": "0", - "add_licensing_template": "2", - "extends": "0", - "guid": "78527c29-24ad-4735-ad4c-ec33a4952d9b", - "implements": null, - "load_selection": null, - "name": "Mappersingleinterface", - "power_version": "1.0.0", - "system_name": "JCB.Interfaces.Mappersingleinterface", - "type": "interface", - "use_selection": null, - "namespace": "VDM\\Joomla\\Componentbuilder.Interfaces.Mappersingleinterface", - "description": "The Single Mapper 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": "", - "composer": "" -} \ No newline at end of file diff --git a/src/7f01622a-74c9-4e67-b111-3eb488035206/code.php b/src/7f01622a-74c9-4e67-b111-3eb488035206/code.php index 1dddb22..1b00a6c 100644 --- a/src/7f01622a-74c9-4e67-b111-3eb488035206/code.php +++ b/src/7f01622a-74c9-4e67-b111-3eb488035206/code.php @@ -178,7 +178,7 @@ final class Permission public function getAction(string $nameView, string $action): ?string { if (($set_action = $this->getCore($nameView, $action)) !== null && - $this->permissionaction->exist($set_action, $nameView)) + $this->permissionaction->exists("{$set_action}|{$nameView}")) { return $set_action; } @@ -198,7 +198,7 @@ final class Permission public function getGlobal(string $nameView, string $action): string { if (($set_action = $this->getCore($nameView, $action)) !== null && - $this->permissionglobalaction->exist($set_action, $nameView)) + $this->permissionglobalaction->exists("{$set_action}|{$nameView}")) { return $set_action; } @@ -218,7 +218,7 @@ final class Permission public function actionExist(string $nameView, string $action): bool { if (($set_action = $this->getCore($nameView, $action)) !== null && - $this->permissionaction->exist($set_action, $nameView)) + $this->permissionaction->exists("{$set_action}|{$nameView}")) { return true; } @@ -238,7 +238,7 @@ final class Permission public function globalExist(string $nameView, string $action): bool { if (($set_action = $this->getCore($nameView, $action)) !== null && - $this->permissionglobalaction->exist($set_action, $nameView)) + $this->permissionglobalaction->exists("{$set_action}|{$nameView}")) { return true; } @@ -336,7 +336,7 @@ final class Permission $core_check[0] = 'core'; $core_target = implode('.', $core_check); - $this->permissioncore->set($nameView, $core_target, $action); + $this->permissioncore->set("{$nameView}|{$core_target}", $action); // set array sort name $sort_key = StringHelper::safe($permission['title']); @@ -348,14 +348,14 @@ final class Permission if ($permission['implementation'] == 1) { // only related to view - $this->permissionviews->set($nameView, $action, [ + $this->permissionviews->set("{$nameView}|{$action}", [ 'name' => $action, 'title' => $title, 'description' => "{$title}_DESC" ]); // load permission to action - $this->permissionaction->set($action, $nameView, $nameView); + $this->permissionaction->set("{$action}|{$nameView}", $nameView); } elseif ($permission['implementation'] == 2) { @@ -370,7 +370,7 @@ final class Permission $this->counter->accessSize++; // build permission switch - $this->permissionglobalaction->set($action, $nameView, $nameView); + $this->permissionglobalaction->set("{$action}|{$nameView}", $nameView); // add menu control view that has menus options $this->setDashboard($nameView, $nameViews, $menuControllers, $action, $core_target); @@ -378,14 +378,14 @@ final class Permission elseif ($permission['implementation'] == 3) { // only related to view - $this->permissionviews->set($nameView, $action, [ + $this->permissionviews->set("{$nameView}|{$action}", [ 'name' => $action, 'title' => $title, 'description' => "{$title}_DESC" ]); // load permission to action - $this->permissionaction->set($action, $nameView, $nameView); + $this->permissionaction->set("{$action}|{$nameView}", $nameView); // relation to whole component $this->permissioncomponent->set($sort_key, [ @@ -398,7 +398,7 @@ final class Permission $this->counter->accessSize++; // build permission switch - $this->permissionglobalaction->set($action, $nameView, $nameView); + $this->permissionglobalaction->set("{$action}|{$nameView}", $nameView); // add menu control view that has menus options $this->setDashboard($nameView, $nameViews, $menuControllers, $action, $core_target); @@ -437,20 +437,17 @@ final class Permission if ($coreTarget === 'core.access') { $this->permissiondashboard->set( - 'icon', "$nameViews.access", - "'$nameViews.access' => '$action'" + "{$nameViews}.access", $action ); $this->permissiondashboard->set( - 'icon', "$nameView.access", - "'$nameView.access' => '$action'" + "{$nameView}.access", $action ); } if ($coreTarget === 'core.create') { $this->permissiondashboard->set( - 'icon', "$nameView.create", - "'$nameView.create' => '$action'" + "{$nameView}.create", $action ); } @@ -462,15 +459,13 @@ final class Permission if ($menu_controller === 'dashboard_add') { $this->permissiondashboard->set( - 'icon', "$nameView.$menu_controller", - "'$nameView.$menu_controller' => '$action'" + "{$nameView}.{$menu_controller}", $action ); } else { $this->permissiondashboard->set( - 'icon', "$nameViews.$menu_controller", - "'$nameViews.$menu_controller' => '$action'" + "{$nameViews}.{$menu_controller}", $action ); } } @@ -690,7 +685,7 @@ final class Permission */ private function getCore(string $nameView, string $action): ?string { - return $this->permissioncore->get($nameView, $action); + return $this->permissioncore->get("{$nameView}|{$action}"); } } diff --git a/src/7f01622a-74c9-4e67-b111-3eb488035206/code.power b/src/7f01622a-74c9-4e67-b111-3eb488035206/code.power index 6259ff8..3b135f4 100644 --- a/src/7f01622a-74c9-4e67-b111-3eb488035206/code.power +++ b/src/7f01622a-74c9-4e67-b111-3eb488035206/code.power @@ -144,7 +144,7 @@ public function getAction(string $nameView, string $action): ?string { if (($set_action = $this->getCore($nameView, $action)) !== null && - $this->permissionaction->exist($set_action, $nameView)) + $this->permissionaction->exists("{$set_action}|{$nameView}")) { return $set_action; } @@ -164,7 +164,7 @@ public function getGlobal(string $nameView, string $action): string { if (($set_action = $this->getCore($nameView, $action)) !== null && - $this->permissionglobalaction->exist($set_action, $nameView)) + $this->permissionglobalaction->exists("{$set_action}|{$nameView}")) { return $set_action; } @@ -184,7 +184,7 @@ public function actionExist(string $nameView, string $action): bool { if (($set_action = $this->getCore($nameView, $action)) !== null && - $this->permissionaction->exist($set_action, $nameView)) + $this->permissionaction->exists("{$set_action}|{$nameView}")) { return true; } @@ -204,7 +204,7 @@ public function globalExist(string $nameView, string $action): bool { if (($set_action = $this->getCore($nameView, $action)) !== null && - $this->permissionglobalaction->exist($set_action, $nameView)) + $this->permissionglobalaction->exists("{$set_action}|{$nameView}")) { return true; } @@ -302,7 +302,7 @@ $core_check[0] = 'core'; $core_target = implode('.', $core_check); - $this->permissioncore->set($nameView, $core_target, $action); + $this->permissioncore->set("{$nameView}|{$core_target}", $action); // set array sort name $sort_key = StringHelper::safe($permission['title']); @@ -314,14 +314,14 @@ if ($permission['implementation'] == 1) { // only related to view - $this->permissionviews->set($nameView, $action, [ + $this->permissionviews->set("{$nameView}|{$action}", [ 'name' => $action, 'title' => $title, 'description' => "{$title}_DESC" ]); // load permission to action - $this->permissionaction->set($action, $nameView, $nameView); + $this->permissionaction->set("{$action}|{$nameView}", $nameView); } elseif ($permission['implementation'] == 2) { @@ -336,7 +336,7 @@ $this->counter->accessSize++; // build permission switch - $this->permissionglobalaction->set($action, $nameView, $nameView); + $this->permissionglobalaction->set("{$action}|{$nameView}", $nameView); // add menu control view that has menus options $this->setDashboard($nameView, $nameViews, $menuControllers, $action, $core_target); @@ -344,14 +344,14 @@ elseif ($permission['implementation'] == 3) { // only related to view - $this->permissionviews->set($nameView, $action, [ + $this->permissionviews->set("{$nameView}|{$action}", [ 'name' => $action, 'title' => $title, 'description' => "{$title}_DESC" ]); // load permission to action - $this->permissionaction->set($action, $nameView, $nameView); + $this->permissionaction->set("{$action}|{$nameView}", $nameView); // relation to whole component $this->permissioncomponent->set($sort_key, [ @@ -364,7 +364,7 @@ $this->counter->accessSize++; // build permission switch - $this->permissionglobalaction->set($action, $nameView, $nameView); + $this->permissionglobalaction->set("{$action}|{$nameView}", $nameView); // add menu control view that has menus options $this->setDashboard($nameView, $nameViews, $menuControllers, $action, $core_target); @@ -403,20 +403,17 @@ if ($coreTarget === 'core.access') { $this->permissiondashboard->set( - 'icon', "$nameViews.access", - "'$nameViews.access' => '$action'" + "{$nameViews}.access", $action ); $this->permissiondashboard->set( - 'icon', "$nameView.access", - "'$nameView.access' => '$action'" + "{$nameView}.access", $action ); } if ($coreTarget === 'core.create') { $this->permissiondashboard->set( - 'icon', "$nameView.create", - "'$nameView.create' => '$action'" + "{$nameView}.create", $action ); } @@ -428,15 +425,13 @@ if ($menu_controller === 'dashboard_add') { $this->permissiondashboard->set( - 'icon', "$nameView.$menu_controller", - "'$nameView.$menu_controller' => '$action'" + "{$nameView}.{$menu_controller}", $action ); } else { $this->permissiondashboard->set( - 'icon', "$nameViews.$menu_controller", - "'$nameViews.$menu_controller' => '$action'" + "{$nameViews}.{$menu_controller}", $action ); } } @@ -656,5 +651,5 @@ */ private function getCore(string $nameView, string $action): ?string { - return $this->permissioncore->get($nameView, $action); + return $this->permissioncore->get("{$nameView}|{$action}"); } \ No newline at end of file diff --git a/src/81212121-ad5c-43c5-b046-f2650864f690/README.md b/src/81212121-ad5c-43c5-b046-f2650864f690/README.md index e6852d2..2136055 100644 --- a/src/81212121-ad5c-43c5-b046-f2650864f690/README.md +++ b/src/81212121-ad5c-43c5-b046-f2650864f690/README.md @@ -8,7 +8,7 @@ ``` # final class AccessSwitchList (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class AccessSwitchList << (F,LightGreen) >> #RoyalBlue { diff --git a/src/81212121-ad5c-43c5-b046-f2650864f690/code.php b/src/81212121-ad5c-43c5-b046-f2650864f690/code.php index 1e6317d..deed56b 100644 --- a/src/81212121-ad5c-43c5-b046-f2650864f690/code.php +++ b/src/81212121-ad5c-43c5-b046-f2650864f690/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class AccessSwitchList extends StorageRegistry implements Storageregistryinterface +final class AccessSwitchList extends Registry implements Registryinterface { } diff --git a/src/8561f1f6-96c7-4e54-8869-0132116d57ce/README.md b/src/8561f1f6-96c7-4e54-8869-0132116d57ce/README.md index 6992355..00d5d77 100644 --- a/src/8561f1f6-96c7-4e54-8869-0132116d57ce/README.md +++ b/src/8561f1f6-96c7-4e54-8869-0132116d57ce/README.md @@ -8,7 +8,7 @@ ``` # final class CheckBox (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class CheckBox << (F,LightGreen) >> #RoyalBlue { diff --git a/src/8561f1f6-96c7-4e54-8869-0132116d57ce/code.php b/src/8561f1f6-96c7-4e54-8869-0132116d57ce/code.php index 8f8e060..c1dc199 100644 --- a/src/8561f1f6-96c7-4e54-8869-0132116d57ce/code.php +++ b/src/8561f1f6-96c7-4e54-8869-0132116d57ce/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class CheckBox extends StorageRegistry implements Storageregistryinterface +final class CheckBox extends Registry implements Registryinterface { } diff --git a/src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/README.md b/src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/README.md index 2a27609..05d4266 100644 --- a/src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/README.md +++ b/src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/README.md @@ -8,7 +8,7 @@ ``` # final class TemplateData (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class TemplateData << (F,LightGreen) >> #RoyalBlue { diff --git a/src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/code.php b/src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/code.php index 9f002b0..fbdcafe 100644 --- a/src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/code.php +++ b/src/8591f6db-dd3c-4a63-9b3f-574c0ec74ade/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class TemplateData extends StorageRegistry implements Storageregistryinterface +final class TemplateData extends Registry implements Registryinterface { } diff --git a/src/87d1da23-08d6-4fbf-bd0d-b746da240b8a/README.md b/src/87d1da23-08d6-4fbf-bd0d-b746da240b8a/README.md index fe1b95c..c1579ff 100644 --- a/src/87d1da23-08d6-4fbf-bd0d-b746da240b8a/README.md +++ b/src/87d1da23-08d6-4fbf-bd0d-b746da240b8a/README.md @@ -8,7 +8,7 @@ ``` # final class CustomField (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class CustomField << (F,LightGreen) >> #RoyalBlue { diff --git a/src/87d1da23-08d6-4fbf-bd0d-b746da240b8a/code.php b/src/87d1da23-08d6-4fbf-bd0d-b746da240b8a/code.php index 1eced25..533a057 100644 --- a/src/87d1da23-08d6-4fbf-bd0d-b746da240b8a/code.php +++ b/src/87d1da23-08d6-4fbf-bd0d-b746da240b8a/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class CustomField extends StorageRegistry implements Storageregistryinterface +final class CustomField extends Registry implements Registryinterface { } diff --git a/src/8a63e87b-b39b-4a15-8044-9b2a2f4fb61c/code.php b/src/8a63e87b-b39b-4a15-8044-9b2a2f4fb61c/code.php index 1cd89eb..b6e9b67 100644 --- a/src/8a63e87b-b39b-4a15-8044-9b2a2f4fb61c/code.php +++ b/src/8a63e87b-b39b-4a15-8044-9b2a2f4fb61c/code.php @@ -200,7 +200,7 @@ class Component implements ServiceProviderInterface $container->get('Registry'), $container->get('Component.Settings'), $container->get('Component'), - $container->get('Content'), + $container->get('Compiler.Builder.Content.One'), $container->get('Utilities.Counter'), $container->get('Utilities.Paths'), $container->get('Utilities.Files') diff --git a/src/8a63e87b-b39b-4a15-8044-9b2a2f4fb61c/code.power b/src/8a63e87b-b39b-4a15-8044-9b2a2f4fb61c/code.power index 095dc7d..22ef1cb 100644 --- a/src/8a63e87b-b39b-4a15-8044-9b2a2f4fb61c/code.power +++ b/src/8a63e87b-b39b-4a15-8044-9b2a2f4fb61c/code.power @@ -167,7 +167,7 @@ $container->get('Registry'), $container->get('Component.Settings'), $container->get('Component'), - $container->get('Content'), + $container->get('Compiler.Builder.Content.One'), $container->get('Utilities.Counter'), $container->get('Utilities.Paths'), $container->get('Utilities.Files') diff --git a/src/8ca30d59-e56a-4cdd-bd8c-d9aad28f5903/README.md b/src/8ca30d59-e56a-4cdd-bd8c-d9aad28f5903/README.md index b87fc0b..5068e2f 100644 --- a/src/8ca30d59-e56a-4cdd-bd8c-d9aad28f5903/README.md +++ b/src/8ca30d59-e56a-4cdd-bd8c-d9aad28f5903/README.md @@ -8,7 +8,7 @@ ``` # final class Tags (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Tags << (F,LightGreen) >> #RoyalBlue { diff --git a/src/8ca30d59-e56a-4cdd-bd8c-d9aad28f5903/code.php b/src/8ca30d59-e56a-4cdd-bd8c-d9aad28f5903/code.php index ab5d3a4..c18a00b 100644 --- a/src/8ca30d59-e56a-4cdd-bd8c-d9aad28f5903/code.php +++ b/src/8ca30d59-e56a-4cdd-bd8c-d9aad28f5903/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Tags extends StorageRegistry implements Storageregistryinterface +final class Tags extends Registry implements Registryinterface { } diff --git a/src/8f46f85d-7921-44e9-a40e-dc4f01c5d43a/README.md b/src/8f46f85d-7921-44e9-a40e-dc4f01c5d43a/README.md index 5358d7f..1735c04 100644 --- a/src/8f46f85d-7921-44e9-a40e-dc4f01c5d43a/README.md +++ b/src/8f46f85d-7921-44e9-a40e-dc4f01c5d43a/README.md @@ -8,7 +8,7 @@ ``` # final class GetAsLookup (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class GetAsLookup << (F,LightGreen) >> #RoyalBlue { diff --git a/src/8f46f85d-7921-44e9-a40e-dc4f01c5d43a/code.php b/src/8f46f85d-7921-44e9-a40e-dc4f01c5d43a/code.php index 7efc09c..e2bc985 100644 --- a/src/8f46f85d-7921-44e9-a40e-dc4f01c5d43a/code.php +++ b/src/8f46f85d-7921-44e9-a40e-dc4f01c5d43a/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class GetAsLookup extends StorageRegistry implements Storageregistryinterface +final class GetAsLookup extends Registry implements Registryinterface { } diff --git a/src/8fdd604f-53e7-4a91-9935-afcfd2f6ac1b/code.php b/src/8fdd604f-53e7-4a91-9935-afcfd2f6ac1b/code.php index 3881613..67b7437 100644 --- a/src/8fdd604f-53e7-4a91-9935-afcfd2f6ac1b/code.php +++ b/src/8fdd604f-53e7-4a91-9935-afcfd2f6ac1b/code.php @@ -162,7 +162,8 @@ class Creator implements ServiceProviderInterface { return new CustomFieldTypeFile( $container->get('Config'), - $container->get('Content'), + $container->get('Compiler.Builder.Content.One'), + $container->get('Compiler.Builder.Content.Multi'), $container->get('Compiler.Builder.Site.Field.Data'), $container->get('Placeholder'), $container->get('Language'), diff --git a/src/8fdd604f-53e7-4a91-9935-afcfd2f6ac1b/code.power b/src/8fdd604f-53e7-4a91-9935-afcfd2f6ac1b/code.power index 7926899..c5e80ae 100644 --- a/src/8fdd604f-53e7-4a91-9935-afcfd2f6ac1b/code.power +++ b/src/8fdd604f-53e7-4a91-9935-afcfd2f6ac1b/code.power @@ -123,7 +123,8 @@ { return new CustomFieldTypeFile( $container->get('Config'), - $container->get('Content'), + $container->get('Compiler.Builder.Content.One'), + $container->get('Compiler.Builder.Content.Multi'), $container->get('Compiler.Builder.Site.Field.Data'), $container->get('Placeholder'), $container->get('Language'), diff --git a/src/9042fac6-5ca5-4ebe-94fe-cf9b0718ed36/README.md b/src/9042fac6-5ca5-4ebe-94fe-cf9b0718ed36/README.md index dc714b6..60ef32f 100644 --- a/src/9042fac6-5ca5-4ebe-94fe-cf9b0718ed36/README.md +++ b/src/9042fac6-5ca5-4ebe-94fe-cf9b0718ed36/README.md @@ -8,7 +8,7 @@ ``` # final class ScriptUserSwitch (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ScriptUserSwitch << (F,LightGreen) >> #RoyalBlue { diff --git a/src/9042fac6-5ca5-4ebe-94fe-cf9b0718ed36/code.php b/src/9042fac6-5ca5-4ebe-94fe-cf9b0718ed36/code.php index 1c5370a..40de3c5 100644 --- a/src/9042fac6-5ca5-4ebe-94fe-cf9b0718ed36/code.php +++ b/src/9042fac6-5ca5-4ebe-94fe-cf9b0718ed36/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\InArray; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\InArray; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ScriptUserSwitch extends StorageRegistry implements Storageregistryinterface +final class ScriptUserSwitch extends Registry implements Registryinterface { /** * In Array diff --git a/src/9481caa2-6d04-4598-8320-543a93927243/README.md b/src/9481caa2-6d04-4598-8320-543a93927243/README.md index 37a2d55..41bb618 100644 --- a/src/9481caa2-6d04-4598-8320-543a93927243/README.md +++ b/src/9481caa2-6d04-4598-8320-543a93927243/README.md @@ -8,7 +8,7 @@ ``` # final class AdminFilterType (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class AdminFilterType << (F,LightGreen) >> #RoyalBlue { diff --git a/src/9481caa2-6d04-4598-8320-543a93927243/code.php b/src/9481caa2-6d04-4598-8320-543a93927243/code.php index 6c17a53..c8fb86b 100644 --- a/src/9481caa2-6d04-4598-8320-543a93927243/code.php +++ b/src/9481caa2-6d04-4598-8320-543a93927243/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class AdminFilterType extends StorageRegistry implements Storageregistryinterface +final class AdminFilterType extends Registry implements Registryinterface { } diff --git a/src/94e0beae-7daa-43b2-81b9-0bde390a76d8/README.md b/src/94e0beae-7daa-43b2-81b9-0bde390a76d8/README.md index f32f7f6..532e9b5 100644 --- a/src/94e0beae-7daa-43b2-81b9-0bde390a76d8/README.md +++ b/src/94e0beae-7daa-43b2-81b9-0bde390a76d8/README.md @@ -8,7 +8,7 @@ ``` # final class Sort (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Sort << (F,LightGreen) >> #RoyalBlue { diff --git a/src/94e0beae-7daa-43b2-81b9-0bde390a76d8/code.php b/src/94e0beae-7daa-43b2-81b9-0bde390a76d8/code.php index 28b8135..c13dbc1 100644 --- a/src/94e0beae-7daa-43b2-81b9-0bde390a76d8/code.php +++ b/src/94e0beae-7daa-43b2-81b9-0bde390a76d8/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Sort extends StorageRegistry implements Storageregistryinterface +final class Sort extends Registry implements Registryinterface { } diff --git a/src/94f4939f-82cc-4196-802b-1346ce5c7f99/README.md b/src/94f4939f-82cc-4196-802b-1346ce5c7f99/README.md index 9829dc2..008386a 100644 --- a/src/94f4939f-82cc-4196-802b-1346ce5c7f99/README.md +++ b/src/94f4939f-82cc-4196-802b-1346ce5c7f99/README.md @@ -8,27 +8,26 @@ ``` # final class PermissionComponent (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **MapperSingle** +> extends: **Registry** ```uml @startuml class PermissionComponent << (F,LightGreen) >> #RoyalBlue { + + __construct() + build() : string - # key(string $key) : string } +note right of PermissionComponent::__construct + Constructor. + + since: 3.2.0 +end note + note right of PermissionComponent::build Get the build component content since: 3.2.0 return: string end note - -note right of PermissionComponent::key - Model the key - - since: 3.2.0 - return: string -end note @enduml ``` diff --git a/src/94f4939f-82cc-4196-802b-1346ce5c7f99/code.php b/src/94f4939f-82cc-4196-802b-1346ce5c7f99/code.php index 8049793..af8c837 100644 --- a/src/94f4939f-82cc-4196-802b-1346ce5c7f99/code.php +++ b/src/94f4939f-82cc-4196-802b-1346ce5c7f99/code.php @@ -13,8 +13,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Indent; -use VDM\Joomla\Componentbuilder\Interfaces\Mappersingleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\MapperSingle; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,8 +22,18 @@ use VDM\Joomla\Componentbuilder\Abstraction\MapperSingle; * * @since 3.2.0 */ -final class PermissionComponent extends MapperSingle implements Mappersingleinterface +final class PermissionComponent extends Registry implements Registryinterface { + /** + * Constructor. + * + * @since 3.2.0 + */ + public function __construct() + { + $this->setSeparator('|'); + } + /** * Get the build component content * @@ -37,7 +47,7 @@ final class PermissionComponent extends MapperSingle implements Mappersingleinte $bucket = ['
']; // get the header - if ($this->exist('->HEAD<-')) + if ($this->exists('->HEAD<-')) { $headers = $this->get('->HEAD<-'); @@ -73,19 +83,6 @@ final class PermissionComponent extends MapperSingle implements Mappersingleinte } return ''; - } - - /** - * Model the key - * - * @param string $key The first key to model - * - * @return string - * @since 3.2.0 - */ - protected function key(string $key): string - { - return $key; } } diff --git a/src/94f4939f-82cc-4196-802b-1346ce5c7f99/code.power b/src/94f4939f-82cc-4196-802b-1346ce5c7f99/code.power index 2923e7e..7e92ac9 100644 --- a/src/94f4939f-82cc-4196-802b-1346ce5c7f99/code.power +++ b/src/94f4939f-82cc-4196-802b-1346ce5c7f99/code.power @@ -1,3 +1,13 @@ + /** + * Constructor. + * + * @since 3.2.0 + */ + public function __construct() + { + $this->setSeparator('|'); + } + /** * Get the build component content * @@ -11,7 +21,7 @@ $bucket = ['
']; // get the header - if ($this->exist('->HEAD<-')) + if ($this->exists('->HEAD<-')) { $headers = $this->get('->HEAD<-'); @@ -47,17 +57,4 @@ } return ''; - } - - /** - * Model the key - * - * @param string $key The first key to model - * - * @return string - * @since 3.2.0 - */ - protected function key(string $key): string - { - return $key; } \ No newline at end of file diff --git a/src/94f4939f-82cc-4196-802b-1346ce5c7f99/settings.json b/src/94f4939f-82cc-4196-802b-1346ce5c7f99/settings.json index ea48c04..040328f 100644 --- a/src/94f4939f-82cc-4196-802b-1346ce5c7f99/settings.json +++ b/src/94f4939f-82cc-4196-802b-1346ce5c7f99/settings.json @@ -1,10 +1,10 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "c6bbc3ee-58e7-4463-adba-5c5ae839ee36", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "94f4939f-82cc-4196-802b-1346ce5c7f99", "implements": [ - "78527c29-24ad-4735-ad4c-ec33a4952d9b" + "64e291c2-11f1-423d-a44d-837cc12cc017" ], "load_selection": null, "name": "PermissionComponent", diff --git a/src/952423ba-015a-4104-89a4-030695aa4d15/README.md b/src/952423ba-015a-4104-89a4-030695aa4d15/README.md index db121f3..3aa7e52 100644 --- a/src/952423ba-015a-4104-89a4-030695aa4d15/README.md +++ b/src/952423ba-015a-4104-89a4-030695aa4d15/README.md @@ -8,7 +8,7 @@ ``` # final class IntegerFields (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class IntegerFields << (F,LightGreen) >> #RoyalBlue { diff --git a/src/952423ba-015a-4104-89a4-030695aa4d15/code.php b/src/952423ba-015a-4104-89a4-030695aa4d15/code.php index 1f97dfd..37135ac 100644 --- a/src/952423ba-015a-4104-89a4-030695aa4d15/code.php +++ b/src/952423ba-015a-4104-89a4-030695aa4d15/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\ToString; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\ToString; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class IntegerFields extends StorageRegistry implements Storageregistryinterface +final class IntegerFields extends Registry implements Registryinterface { /** * To String Values diff --git a/src/9551b683-67b6-4367-bb14-4b016def37e3/README.md b/src/9551b683-67b6-4367-bb14-4b016def37e3/README.md index a2abd6a..b935c45 100644 --- a/src/9551b683-67b6-4367-bb14-4b016def37e3/README.md +++ b/src/9551b683-67b6-4367-bb14-4b016def37e3/README.md @@ -8,7 +8,7 @@ ``` # final class CustomTabs (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class CustomTabs << (F,LightGreen) >> #RoyalBlue { diff --git a/src/9551b683-67b6-4367-bb14-4b016def37e3/code.php b/src/9551b683-67b6-4367-bb14-4b016def37e3/code.php index 8857768..42f5c1d 100644 --- a/src/9551b683-67b6-4367-bb14-4b016def37e3/code.php +++ b/src/9551b683-67b6-4367-bb14-4b016def37e3/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class CustomTabs extends StorageRegistry implements Storageregistryinterface +final class CustomTabs extends Registry implements Registryinterface { } diff --git a/src/961a2a2e-9f95-4b5f-b1c0-62ee783f9c66/README.md b/src/961a2a2e-9f95-4b5f-b1c0-62ee783f9c66/README.md index fb4ec4e..8ec23fc 100644 --- a/src/961a2a2e-9f95-4b5f-b1c0-62ee783f9c66/README.md +++ b/src/961a2a2e-9f95-4b5f-b1c0-62ee783f9c66/README.md @@ -8,7 +8,7 @@ ``` # final class FieldNames (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class FieldNames << (F,LightGreen) >> #RoyalBlue { diff --git a/src/961a2a2e-9f95-4b5f-b1c0-62ee783f9c66/code.php b/src/961a2a2e-9f95-4b5f-b1c0-62ee783f9c66/code.php index f1202b8..e6032ef 100644 --- a/src/961a2a2e-9f95-4b5f-b1c0-62ee783f9c66/code.php +++ b/src/961a2a2e-9f95-4b5f-b1c0-62ee783f9c66/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\IsString; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\IsString; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class FieldNames extends StorageRegistry implements Storageregistryinterface +final class FieldNames extends Registry implements Registryinterface { /** * Is String Values diff --git a/src/972c4de9-6f6f-463b-8eea-cc7cbdb96aba/README.md b/src/972c4de9-6f6f-463b-8eea-cc7cbdb96aba/README.md index 6a9c1b3..0a80428 100644 --- a/src/972c4de9-6f6f-463b-8eea-cc7cbdb96aba/README.md +++ b/src/972c4de9-6f6f-463b-8eea-cc7cbdb96aba/README.md @@ -8,7 +8,7 @@ ``` # final class ItemsMethodListString (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ItemsMethodListString << (F,LightGreen) >> #RoyalBlue { diff --git a/src/972c4de9-6f6f-463b-8eea-cc7cbdb96aba/code.php b/src/972c4de9-6f6f-463b-8eea-cc7cbdb96aba/code.php index 02a5b72..b8a0ede 100644 --- a/src/972c4de9-6f6f-463b-8eea-cc7cbdb96aba/code.php +++ b/src/972c4de9-6f6f-463b-8eea-cc7cbdb96aba/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ItemsMethodListString extends StorageRegistry implements Storageregistryinterface +final class ItemsMethodListString extends Registry implements Registryinterface { } diff --git a/src/9cdff2af-bd1b-452f-810e-d034b9720d2a/README.md b/src/9cdff2af-bd1b-452f-810e-d034b9720d2a/README.md index cb7aee4..0d1c559 100644 --- a/src/9cdff2af-bd1b-452f-810e-d034b9720d2a/README.md +++ b/src/9cdff2af-bd1b-452f-810e-d034b9720d2a/README.md @@ -8,7 +8,7 @@ ``` # final class MovedPublishingFields (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class MovedPublishingFields << (F,LightGreen) >> #RoyalBlue { diff --git a/src/9cdff2af-bd1b-452f-810e-d034b9720d2a/code.php b/src/9cdff2af-bd1b-452f-810e-d034b9720d2a/code.php index cce3959..0476f83 100644 --- a/src/9cdff2af-bd1b-452f-810e-d034b9720d2a/code.php +++ b/src/9cdff2af-bd1b-452f-810e-d034b9720d2a/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class MovedPublishingFields extends StorageRegistry implements Storageregistryinterface +final class MovedPublishingFields extends Registry implements Registryinterface { } diff --git a/src/9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f/README.md b/src/9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f/README.md index 4c7c8af..1386e1a 100644 --- a/src/9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f/README.md +++ b/src/9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f/README.md @@ -8,7 +8,7 @@ ``` # final class OtherFilter (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class OtherFilter << (F,LightGreen) >> #RoyalBlue { diff --git a/src/9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f/code.php b/src/9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f/code.php index 324381a..103b5a1 100644 --- a/src/9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f/code.php +++ b/src/9d1eec29-f304-4b08-a3e7-8b2d6b1f4a1f/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class OtherFilter extends StorageRegistry implements Storageregistryinterface +final class OtherFilter extends Registry implements Registryinterface { } diff --git a/src/9d74d613-5ef7-4cf1-9f12-64f0a8e19806/README.md b/src/9d74d613-5ef7-4cf1-9f12-64f0a8e19806/README.md index dffe00a..0ede2ad 100644 --- a/src/9d74d613-5ef7-4cf1-9f12-64f0a8e19806/README.md +++ b/src/9d74d613-5ef7-4cf1-9f12-64f0a8e19806/README.md @@ -8,7 +8,7 @@ ``` # final class CustomAlias (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class CustomAlias << (F,LightGreen) >> #RoyalBlue { diff --git a/src/9d74d613-5ef7-4cf1-9f12-64f0a8e19806/code.php b/src/9d74d613-5ef7-4cf1-9f12-64f0a8e19806/code.php index 67f6671..f71dd6c 100644 --- a/src/9d74d613-5ef7-4cf1-9f12-64f0a8e19806/code.php +++ b/src/9d74d613-5ef7-4cf1-9f12-64f0a8e19806/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class CustomAlias extends StorageRegistry implements Storageregistryinterface +final class CustomAlias extends Registry implements Registryinterface { } diff --git a/src/9ff6d6cd-afea-4f15-a67b-fd132d386989/README.md b/src/9ff6d6cd-afea-4f15-a67b-fd132d386989/README.md index d04bcc5..311a204 100644 --- a/src/9ff6d6cd-afea-4f15-a67b-fd132d386989/README.md +++ b/src/9ff6d6cd-afea-4f15-a67b-fd132d386989/README.md @@ -8,7 +8,7 @@ ``` # final class MysqlTableSetting (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class MysqlTableSetting << (F,LightGreen) >> #RoyalBlue { diff --git a/src/9ff6d6cd-afea-4f15-a67b-fd132d386989/code.php b/src/9ff6d6cd-afea-4f15-a67b-fd132d386989/code.php index 1cb7eba..482c36c 100644 --- a/src/9ff6d6cd-afea-4f15-a67b-fd132d386989/code.php +++ b/src/9ff6d6cd-afea-4f15-a67b-fd132d386989/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class MysqlTableSetting extends StorageRegistry implements Storageregistryinterface +final class MysqlTableSetting extends Registry implements Registryinterface { } diff --git a/src/a090a472-eb3d-4086-a6d5-4215e1b1851f/README.md b/src/a090a472-eb3d-4086-a6d5-4215e1b1851f/README.md index abc06b6..d5faef9 100644 --- a/src/a090a472-eb3d-4086-a6d5-4215e1b1851f/README.md +++ b/src/a090a472-eb3d-4086-a6d5-4215e1b1851f/README.md @@ -8,7 +8,7 @@ ``` # final class FieldRelations (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class FieldRelations << (F,LightGreen) >> #RoyalBlue { diff --git a/src/a090a472-eb3d-4086-a6d5-4215e1b1851f/code.php b/src/a090a472-eb3d-4086-a6d5-4215e1b1851f/code.php index 685a7c3..89dd20a 100644 --- a/src/a090a472-eb3d-4086-a6d5-4215e1b1851f/code.php +++ b/src/a090a472-eb3d-4086-a6d5-4215e1b1851f/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class FieldRelations extends StorageRegistry implements Storageregistryinterface +final class FieldRelations extends Registry implements Registryinterface { } diff --git a/src/a1e551a9-8369-48c9-a076-4e5beb65e0df/README.md b/src/a1e551a9-8369-48c9-a076-4e5beb65e0df/README.md index 96a7529..b5a4ecf 100644 --- a/src/a1e551a9-8369-48c9-a076-4e5beb65e0df/README.md +++ b/src/a1e551a9-8369-48c9-a076-4e5beb65e0df/README.md @@ -8,7 +8,7 @@ ``` # final class CategoryOtherName (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class CategoryOtherName << (F,LightGreen) >> #RoyalBlue { diff --git a/src/a1e551a9-8369-48c9-a076-4e5beb65e0df/code.php b/src/a1e551a9-8369-48c9-a076-4e5beb65e0df/code.php index fa6e47f..833141e 100644 --- a/src/a1e551a9-8369-48c9-a076-4e5beb65e0df/code.php +++ b/src/a1e551a9-8369-48c9-a076-4e5beb65e0df/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class CategoryOtherName extends StorageRegistry implements Storageregistryinterface +final class CategoryOtherName extends Registry implements Registryinterface { } diff --git a/src/a4857c60-680c-4e0c-ae8f-9250a7b5e317/README.md b/src/a4857c60-680c-4e0c-ae8f-9250a7b5e317/README.md index 63cd548..95665ba 100644 --- a/src/a4857c60-680c-4e0c-ae8f-9250a7b5e317/README.md +++ b/src/a4857c60-680c-4e0c-ae8f-9250a7b5e317/README.md @@ -8,7 +8,7 @@ ``` # final class CustomFieldLinks (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class CustomFieldLinks << (F,LightGreen) >> #RoyalBlue { diff --git a/src/a4857c60-680c-4e0c-ae8f-9250a7b5e317/code.php b/src/a4857c60-680c-4e0c-ae8f-9250a7b5e317/code.php index acf0038..df81be4 100644 --- a/src/a4857c60-680c-4e0c-ae8f-9250a7b5e317/code.php +++ b/src/a4857c60-680c-4e0c-ae8f-9250a7b5e317/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\ToString; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\ToString; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class CustomFieldLinks extends StorageRegistry implements Storageregistryinterface +final class CustomFieldLinks extends Registry implements Registryinterface { /** * To String Values diff --git a/src/a5189bfe-6d15-4452-9fa5-e3e57f7fa791/README.md b/src/a5189bfe-6d15-4452-9fa5-e3e57f7fa791/README.md index 719d88c..f92bca9 100644 --- a/src/a5189bfe-6d15-4452-9fa5-e3e57f7fa791/README.md +++ b/src/a5189bfe-6d15-4452-9fa5-e3e57f7fa791/README.md @@ -8,7 +8,7 @@ ``` # final class ModelBasicField (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ModelBasicField << (F,LightGreen) >> #RoyalBlue { diff --git a/src/a5189bfe-6d15-4452-9fa5-e3e57f7fa791/code.php b/src/a5189bfe-6d15-4452-9fa5-e3e57f7fa791/code.php index 1319485..73598ef 100644 --- a/src/a5189bfe-6d15-4452-9fa5-e3e57f7fa791/code.php +++ b/src/a5189bfe-6d15-4452-9fa5-e3e57f7fa791/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ModelBasicField extends StorageRegistry implements Storageregistryinterface +final class ModelBasicField extends Registry implements Registryinterface { } diff --git a/src/a601888d-12b6-427f-94ae-95004206e24e/README.md b/src/a601888d-12b6-427f-94ae-95004206e24e/README.md index b36b3d8..7c65df4 100644 --- a/src/a601888d-12b6-427f-94ae-95004206e24e/README.md +++ b/src/a601888d-12b6-427f-94ae-95004206e24e/README.md @@ -8,26 +8,17 @@ ``` # final class PermissionGlobalAction (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **MapperDouble** +> extends: **Registry** ```uml @startuml class PermissionGlobalAction << (F,LightGreen) >> #RoyalBlue { - # firstKey(string $key) : string - # secondKey(string $key) : string + + __construct() } -note right of PermissionGlobalAction::firstKey - Model the first key +note right of PermissionGlobalAction::__construct + Constructor. since: 3.2.0 - return: string -end note - -note right of PermissionGlobalAction::secondKey - Model the second key - - since: 3.2.0 - return: string end note @enduml diff --git a/src/a601888d-12b6-427f-94ae-95004206e24e/code.php b/src/a601888d-12b6-427f-94ae-95004206e24e/code.php index dafd411..04d6db3 100644 --- a/src/a601888d-12b6-427f-94ae-95004206e24e/code.php +++ b/src/a601888d-12b6-427f-94ae-95004206e24e/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Componentbuilder\Interfaces\Mapperdoubleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,32 +21,16 @@ use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; * * @since 3.2.0 */ -final class PermissionGlobalAction extends MapperDouble implements Mapperdoubleinterface +final class PermissionGlobalAction extends Registry implements Registryinterface { /** - * Model the first key + * Constructor. * - * @param string $key The first key to model - * - * @return string * @since 3.2.0 */ - protected function firstKey(string $key): string + public function __construct() { - return $key; - } - - /** - * Model the second key - * - * @param string $key The second key to model - * - * @return string - * @since 3.2.0 - */ - protected function secondKey(string $key): string - { - return $key; + $this->setSeparator('|'); } } diff --git a/src/a601888d-12b6-427f-94ae-95004206e24e/code.power b/src/a601888d-12b6-427f-94ae-95004206e24e/code.power index 2fc53e5..b096981 100644 --- a/src/a601888d-12b6-427f-94ae-95004206e24e/code.power +++ b/src/a601888d-12b6-427f-94ae-95004206e24e/code.power @@ -1,25 +1,9 @@ /** - * Model the first key + * Constructor. * - * @param string $key The first key to model - * - * @return string * @since 3.2.0 */ - protected function firstKey(string $key): string + public function __construct() { - return $key; - } - - /** - * Model the second key - * - * @param string $key The second key to model - * - * @return string - * @since 3.2.0 - */ - protected function secondKey(string $key): string - { - return $key; + $this->setSeparator('|'); } \ No newline at end of file diff --git a/src/a601888d-12b6-427f-94ae-95004206e24e/settings.json b/src/a601888d-12b6-427f-94ae-95004206e24e/settings.json index 85a2eee..6660d75 100644 --- a/src/a601888d-12b6-427f-94ae-95004206e24e/settings.json +++ b/src/a601888d-12b6-427f-94ae-95004206e24e/settings.json @@ -1,10 +1,10 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "4d4e76e9-12d9-4d19-b58c-b88974b2586a", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "a601888d-12b6-427f-94ae-95004206e24e", "implements": [ - "fbc58009-fa16-4d49-a0dd-419c3b62d42f" + "64e291c2-11f1-423d-a44d-837cc12cc017" ], "load_selection": null, "name": "PermissionGlobalAction", diff --git a/src/a90a2495-9c26-446c-867e-9ee8f42fb6af/README.md b/src/a90a2495-9c26-446c-867e-9ee8f42fb6af/README.md index c641bc8..71e1417 100644 --- a/src/a90a2495-9c26-446c-867e-9ee8f42fb6af/README.md +++ b/src/a90a2495-9c26-446c-867e-9ee8f42fb6af/README.md @@ -8,7 +8,7 @@ ``` # final class Layout (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Layout << (F,LightGreen) >> #RoyalBlue { diff --git a/src/a90a2495-9c26-446c-867e-9ee8f42fb6af/code.php b/src/a90a2495-9c26-446c-867e-9ee8f42fb6af/code.php index 45597b3..cd5074b 100644 --- a/src/a90a2495-9c26-446c-867e-9ee8f42fb6af/code.php +++ b/src/a90a2495-9c26-446c-867e-9ee8f42fb6af/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\Count; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\Count; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Layout extends StorageRegistry implements Storageregistryinterface +final class Layout extends Registry implements Registryinterface { /** * Count Values diff --git a/src/abdb7d20-a15e-42d8-bd91-7b09514df7f2/README.md b/src/abdb7d20-a15e-42d8-bd91-7b09514df7f2/README.md index a21cf79..011b08d 100644 --- a/src/abdb7d20-a15e-42d8-bd91-7b09514df7f2/README.md +++ b/src/abdb7d20-a15e-42d8-bd91-7b09514df7f2/README.md @@ -8,7 +8,7 @@ ``` # final class SiteEditView (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class SiteEditView << (F,LightGreen) >> #RoyalBlue { diff --git a/src/abdb7d20-a15e-42d8-bd91-7b09514df7f2/code.php b/src/abdb7d20-a15e-42d8-bd91-7b09514df7f2/code.php index 11edfa4..84fbf97 100644 --- a/src/abdb7d20-a15e-42d8-bd91-7b09514df7f2/code.php +++ b/src/abdb7d20-a15e-42d8-bd91-7b09514df7f2/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class SiteEditView extends StorageRegistry implements Storageregistryinterface +final class SiteEditView extends Registry implements Registryinterface { } diff --git a/src/ac691a05-5630-4002-b166-dedec3fb0fcb/code.php b/src/ac691a05-5630-4002-b166-dedec3fb0fcb/code.php index f7eb511..0c7da88 100644 --- a/src/ac691a05-5630-4002-b166-dedec3fb0fcb/code.php +++ b/src/ac691a05-5630-4002-b166-dedec3fb0fcb/code.php @@ -1121,9 +1121,9 @@ final class FieldXML implements Fieldtypeinterface // incase the field is in the config and has not been set (or is part of a plugin or module) if (('config' === $nameSingleCode && 'configs' === $nameListCode) - || (strpos($nameSingleCode, 'P|uG!n') !== false + || (strpos($nameSingleCode, 'pLuG!n') !== false || strpos( - $nameSingleCode, 'M0dU|3' + $nameSingleCode, 'M0dUl3' ) !== false)) { // set lang (just incase) diff --git a/src/ac691a05-5630-4002-b166-dedec3fb0fcb/code.power b/src/ac691a05-5630-4002-b166-dedec3fb0fcb/code.power index 5f8ea5e..eed0f94 100644 --- a/src/ac691a05-5630-4002-b166-dedec3fb0fcb/code.power +++ b/src/ac691a05-5630-4002-b166-dedec3fb0fcb/code.power @@ -1082,9 +1082,9 @@ // incase the field is in the config and has not been set (or is part of a plugin or module) if (('config' === $nameSingleCode && 'configs' === $nameListCode) - || (strpos($nameSingleCode, 'P|uG!n') !== false + || (strpos($nameSingleCode, 'pLuG!n') !== false || strpos( - $nameSingleCode, 'M0dU|3' + $nameSingleCode, 'M0dUl3' ) !== false)) { // set lang (just incase) diff --git a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/README.md b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/README.md index 3808af3..acb1c32 100644 --- a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/README.md +++ b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/README.md @@ -6,36 +6,35 @@ ██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ ╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ ``` -# class Content (Details) -> namespace: **VDM\Joomla\Componentbuilder\Compiler** -> extends: **Mapper** +# class ContentOne (Details) +> namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** +> extends: **Registry** ```uml @startuml -class Content #Gold { - # key(string $key) : string - # firstKey(string $key) : string - # secondKey(string $key) : string +class ContentOne #Gold { + + __construct() + # getActiveKeys(string $path) : ?array + # modelActiveKeys(array $keys) : array } -note right of Content::key - Model the key +note right of ContentOne::__construct + Constructor. since: 3.2.0 - return: string end note -note right of Content::firstKey - Model the first key +note right of ContentOne::getActiveKeys + Get that the active keys from a path since: 3.2.0 - return: string + return: ?array end note -note right of Content::secondKey - Model the second key +note right of ContentOne::modelActiveKeys + Model that the active key since: 3.2.0 - return: string + return: array end note @enduml diff --git a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php index 3dcac15..5385427 100644 --- a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php +++ b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php @@ -9,59 +9,63 @@ * @license GNU General Public License version 2 or later; see LICENSE.txt */ -namespace VDM\Joomla\Componentbuilder\Compiler; +namespace VDM\Joomla\Componentbuilder\Compiler\Builder; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Placefix; -use VDM\Joomla\Componentbuilder\Interfaces\Mapperdoublejoininterface; -use VDM\Joomla\Componentbuilder\Interfaces\Mappersingleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\Mapper; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** - * Compiler Content + * Compiler Content One * * @since 3.2.0 */ -class Content extends Mapper implements Mapperdoublejoininterface, Mappersingleinterface +class ContentOne extends Registry implements Registryinterface { /** - * Model the key + * Constructor. * - * @param string $key The key to model - * - * @return string * @since 3.2.0 */ - protected function key(string $key): string + public function __construct() { - return Placefix::_h($key); + $this->setSeparator(null); } /** - * Model the first key + * Get that the active keys from a path * - * @param string $key The first key to model + * @param string $path The path to determine the location mapper. * - * @return string + * @return array|null The valid array of keys * @since 3.2.0 */ - protected function firstKey(string $key): string + protected function getActiveKeys(string $path): ?array { - return $key; + // Call the parent class's version of this method + $keys = parent::getActiveKeys($path); + + if ($keys === null) + { + return null; + } + + return $this->modelActiveKeys($keys); } /** - * Model the second key + * Model that the active key * - * @param string $key The second key to model + * @param array $keys The keys to the location mapper. * - * @return string + * @return array The valid array of key * @since 3.2.0 */ - protected function secondKey(string $key): string + protected function modelActiveKeys(array $keys): array { - return Placefix::_h($key); + return [Placefix::_h($keys[0])]; } } diff --git a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.power b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.power index 8702c06..ce75161 100644 --- a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.power +++ b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.power @@ -1,38 +1,43 @@ /** - * Model the key + * Constructor. * - * @param string $key The key to model - * - * @return string * @since 3.2.0 */ - protected function key(string $key): string + public function __construct() { - return Placefix::_h($key); + $this->setSeparator(null); } /** - * Model the first key + * Get that the active keys from a path * - * @param string $key The first key to model + * @param string $path The path to determine the location mapper. * - * @return string + * @return array|null The valid array of keys * @since 3.2.0 */ - protected function firstKey(string $key): string + protected function getActiveKeys(string $path): ?array { - return $key; + // Call the parent class's version of this method + $keys = parent::getActiveKeys($path); + + if ($keys === null) + { + return null; + } + + return $this->modelActiveKeys($keys); } /** - * Model the second key + * Model that the active key * - * @param string $key The second key to model + * @param array $keys The keys to the location mapper. * - * @return string + * @return array The valid array of key * @since 3.2.0 */ - protected function secondKey(string $key): string + protected function modelActiveKeys(array $keys): array { - return Placefix::_h($key); + return [Placefix::_h($keys[0])]; } \ No newline at end of file diff --git a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json index 86e658d..3a5f1e1 100644 --- a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json +++ b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json @@ -1,16 +1,15 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "44a3367c-f9e4-406b-b396-0f452bde0f03", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", "implements": [ - "7921a2b3-b58c-4184-af3f-f58094f695a8", - "78527c29-24ad-4735-ad4c-ec33a4952d9b" + "64e291c2-11f1-423d-a44d-837cc12cc017" ], "load_selection": null, - "name": "Content", + "name": "ContentOne", "power_version": "1.0.0", - "system_name": "JCB.Compiler.Content", + "system_name": "JCB.Compiler.Builder.ContentOne", "type": "class", "use_selection": { "use_selection0": { @@ -18,8 +17,8 @@ "as": "default" } }, - "namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Content", - "description": "Compiler Content\r\n\r\n@since 3.2.0", + "namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Builder.ContentOne", + "description": "Compiler Content One\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": "", "composer": "" diff --git a/src/b0b26749-5e2c-4b56-8982-48172f2531fa/README.md b/src/b0b26749-5e2c-4b56-8982-48172f2531fa/README.md index 07c3e6e..a6e2008 100644 --- a/src/b0b26749-5e2c-4b56-8982-48172f2531fa/README.md +++ b/src/b0b26749-5e2c-4b56-8982-48172f2531fa/README.md @@ -8,7 +8,7 @@ ``` # final class ModelMediumField (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ModelMediumField << (F,LightGreen) >> #RoyalBlue { diff --git a/src/b0b26749-5e2c-4b56-8982-48172f2531fa/code.php b/src/b0b26749-5e2c-4b56-8982-48172f2531fa/code.php index d45a3ac..fdb03f3 100644 --- a/src/b0b26749-5e2c-4b56-8982-48172f2531fa/code.php +++ b/src/b0b26749-5e2c-4b56-8982-48172f2531fa/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ModelMediumField extends StorageRegistry implements Storageregistryinterface +final class ModelMediumField extends Registry implements Registryinterface { } diff --git a/src/b24f5184-7e7c-448d-9475-ff3f998f70c3/README.md b/src/b24f5184-7e7c-448d-9475-ff3f998f70c3/README.md index 0bd087c..3f9df82 100644 --- a/src/b24f5184-7e7c-448d-9475-ff3f998f70c3/README.md +++ b/src/b24f5184-7e7c-448d-9475-ff3f998f70c3/README.md @@ -8,7 +8,7 @@ ``` # final class CategoryCode (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class CategoryCode << (F,LightGreen) >> #RoyalBlue { diff --git a/src/b24f5184-7e7c-448d-9475-ff3f998f70c3/code.php b/src/b24f5184-7e7c-448d-9475-ff3f998f70c3/code.php index 9c73ae0..8d3cb87 100644 --- a/src/b24f5184-7e7c-448d-9475-ff3f998f70c3/code.php +++ b/src/b24f5184-7e7c-448d-9475-ff3f998f70c3/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\GetString; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\GetString; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class CategoryCode extends StorageRegistry implements Storageregistryinterface +final class CategoryCode extends Registry implements Registryinterface { /** * Get String Values diff --git a/src/b3c36de1-9b18-4ea8-8383-6ab8f0e33996/README.md b/src/b3c36de1-9b18-4ea8-8383-6ab8f0e33996/README.md index 56fa151..0e7475c 100644 --- a/src/b3c36de1-9b18-4ea8-8383-6ab8f0e33996/README.md +++ b/src/b3c36de1-9b18-4ea8-8383-6ab8f0e33996/README.md @@ -8,7 +8,7 @@ ``` # final class DatabaseTables (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class DatabaseTables << (F,LightGreen) >> #RoyalBlue { diff --git a/src/b3c36de1-9b18-4ea8-8383-6ab8f0e33996/code.php b/src/b3c36de1-9b18-4ea8-8383-6ab8f0e33996/code.php index 425b137..20cdb52 100644 --- a/src/b3c36de1-9b18-4ea8-8383-6ab8f0e33996/code.php +++ b/src/b3c36de1-9b18-4ea8-8383-6ab8f0e33996/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class DatabaseTables extends StorageRegistry implements Storageregistryinterface +final class DatabaseTables extends Registry implements Registryinterface { } diff --git a/src/b8a92303-8543-4d88-a83c-ece300eaba6d/README.md b/src/b8a92303-8543-4d88-a83c-ece300eaba6d/README.md index 07027dc..70497b1 100644 --- a/src/b8a92303-8543-4d88-a83c-ece300eaba6d/README.md +++ b/src/b8a92303-8543-4d88-a83c-ece300eaba6d/README.md @@ -8,7 +8,7 @@ ``` # final class ModelExpertField (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ModelExpertField << (F,LightGreen) >> #RoyalBlue { diff --git a/src/b8a92303-8543-4d88-a83c-ece300eaba6d/code.php b/src/b8a92303-8543-4d88-a83c-ece300eaba6d/code.php index ea865ff..7f31e18 100644 --- a/src/b8a92303-8543-4d88-a83c-ece300eaba6d/code.php +++ b/src/b8a92303-8543-4d88-a83c-ece300eaba6d/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ModelExpertField extends StorageRegistry implements Storageregistryinterface +final class ModelExpertField extends Registry implements Registryinterface { } diff --git a/src/b8b474d4-30e3-4b5a-9988-3adb3450998c/README.md b/src/b8b474d4-30e3-4b5a-9988-3adb3450998c/README.md index ef62c90..a1a4370 100644 --- a/src/b8b474d4-30e3-4b5a-9988-3adb3450998c/README.md +++ b/src/b8b474d4-30e3-4b5a-9988-3adb3450998c/README.md @@ -8,7 +8,7 @@ ``` # final class BaseSixFour (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class BaseSixFour << (F,LightGreen) >> #RoyalBlue { diff --git a/src/b8b474d4-30e3-4b5a-9988-3adb3450998c/code.php b/src/b8b474d4-30e3-4b5a-9988-3adb3450998c/code.php index 3f1abae..5504dcc 100644 --- a/src/b8b474d4-30e3-4b5a-9988-3adb3450998c/code.php +++ b/src/b8b474d4-30e3-4b5a-9988-3adb3450998c/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class BaseSixFour extends StorageRegistry implements Storageregistryinterface +final class BaseSixFour extends Registry implements Registryinterface { } diff --git a/src/bb26cf63-69a5-4c43-b2df-43284c9d907d/README.md b/src/bb26cf63-69a5-4c43-b2df-43284c9d907d/README.md index 2df12fe..267ef4e 100644 --- a/src/bb26cf63-69a5-4c43-b2df-43284c9d907d/README.md +++ b/src/bb26cf63-69a5-4c43-b2df-43284c9d907d/README.md @@ -8,7 +8,7 @@ ``` # final class JsonString (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class JsonString << (F,LightGreen) >> #RoyalBlue { diff --git a/src/bb26cf63-69a5-4c43-b2df-43284c9d907d/code.php b/src/bb26cf63-69a5-4c43-b2df-43284c9d907d/code.php index 861b8c9..6cb68ea 100644 --- a/src/bb26cf63-69a5-4c43-b2df-43284c9d907d/code.php +++ b/src/bb26cf63-69a5-4c43-b2df-43284c9d907d/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class JsonString extends StorageRegistry implements Storageregistryinterface +final class JsonString extends Registry implements Registryinterface { } diff --git a/src/bf92e1c1-3d5e-4e9d-a585-c79e1468df33/README.md b/src/bf92e1c1-3d5e-4e9d-a585-c79e1468df33/README.md index ee9454b..2858396 100644 --- a/src/bf92e1c1-3d5e-4e9d-a585-c79e1468df33/README.md +++ b/src/bf92e1c1-3d5e-4e9d-a585-c79e1468df33/README.md @@ -8,7 +8,7 @@ ``` # final class OtherGroup (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class OtherGroup << (F,LightGreen) >> #RoyalBlue { diff --git a/src/bf92e1c1-3d5e-4e9d-a585-c79e1468df33/code.php b/src/bf92e1c1-3d5e-4e9d-a585-c79e1468df33/code.php index a363c7c..685320c 100644 --- a/src/bf92e1c1-3d5e-4e9d-a585-c79e1468df33/code.php +++ b/src/bf92e1c1-3d5e-4e9d-a585-c79e1468df33/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class OtherGroup extends StorageRegistry implements Storageregistryinterface +final class OtherGroup extends Registry implements Registryinterface { } diff --git a/src/c0e46033-5ade-4829-88b7-ca160d36a4d1/README.md b/src/c0e46033-5ade-4829-88b7-ca160d36a4d1/README.md index 44c9cb0..6c15426 100644 --- a/src/c0e46033-5ade-4829-88b7-ca160d36a4d1/README.md +++ b/src/c0e46033-5ade-4829-88b7-ca160d36a4d1/README.md @@ -8,7 +8,7 @@ ``` # final class SiteDecrypt (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class SiteDecrypt << (F,LightGreen) >> #RoyalBlue { diff --git a/src/c0e46033-5ade-4829-88b7-ca160d36a4d1/code.php b/src/c0e46033-5ade-4829-88b7-ca160d36a4d1/code.php index 91f0dfd..b9e25ea 100644 --- a/src/c0e46033-5ade-4829-88b7-ca160d36a4d1/code.php +++ b/src/c0e46033-5ade-4829-88b7-ca160d36a4d1/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class SiteDecrypt extends StorageRegistry implements Storageregistryinterface +final class SiteDecrypt extends Registry implements Registryinterface { } diff --git a/src/c6de9da0-1a73-4c73-b355-7fe02efe4c9d/README.md b/src/c6de9da0-1a73-4c73-b355-7fe02efe4c9d/README.md index 9961565..0b32573 100644 --- a/src/c6de9da0-1a73-4c73-b355-7fe02efe4c9d/README.md +++ b/src/c6de9da0-1a73-4c73-b355-7fe02efe4c9d/README.md @@ -8,7 +8,7 @@ ``` # final class MainTextField (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class MainTextField << (F,LightGreen) >> #RoyalBlue { diff --git a/src/c6de9da0-1a73-4c73-b355-7fe02efe4c9d/code.php b/src/c6de9da0-1a73-4c73-b355-7fe02efe4c9d/code.php index d67e9b8..24535ca 100644 --- a/src/c6de9da0-1a73-4c73-b355-7fe02efe4c9d/code.php +++ b/src/c6de9da0-1a73-4c73-b355-7fe02efe4c9d/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class MainTextField extends StorageRegistry implements Storageregistryinterface +final class MainTextField extends Registry implements Registryinterface { } diff --git a/src/c7b6f0d5-ec47-4166-915c-e78d49b4fb63/README.md b/src/c7b6f0d5-ec47-4166-915c-e78d49b4fb63/README.md index 22ac9b2..dc79d13 100644 --- a/src/c7b6f0d5-ec47-4166-915c-e78d49b4fb63/README.md +++ b/src/c7b6f0d5-ec47-4166-915c-e78d49b4fb63/README.md @@ -8,7 +8,7 @@ ``` # final class GetModule (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class GetModule << (F,LightGreen) >> #RoyalBlue { diff --git a/src/c7b6f0d5-ec47-4166-915c-e78d49b4fb63/code.php b/src/c7b6f0d5-ec47-4166-915c-e78d49b4fb63/code.php index 499b745..c8042b0 100644 --- a/src/c7b6f0d5-ec47-4166-915c-e78d49b4fb63/code.php +++ b/src/c7b6f0d5-ec47-4166-915c-e78d49b4fb63/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class GetModule extends StorageRegistry implements Storageregistryinterface +final class GetModule extends Registry implements Registryinterface { } diff --git a/src/c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6/README.md b/src/c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6/README.md index f8e8290..c16945f 100644 --- a/src/c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6/README.md +++ b/src/c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6/README.md @@ -8,7 +8,7 @@ ``` # final class ListFieldClass (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ListFieldClass << (F,LightGreen) >> #RoyalBlue { diff --git a/src/c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6/code.php b/src/c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6/code.php index 8584f37..4ec7b1f 100644 --- a/src/c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6/code.php +++ b/src/c8c5d364-d2bf-41c0-8c64-6b6fed1a28b6/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ListFieldClass extends StorageRegistry implements Storageregistryinterface +final class ListFieldClass extends Registry implements Registryinterface { } diff --git a/src/cb11e8d9-69c2-4095-831c-59908ea402e7/code.php b/src/cb11e8d9-69c2-4095-831c-59908ea402e7/code.php index 4fb42f2..8cc3fbe 100644 --- a/src/cb11e8d9-69c2-4095-831c-59908ea402e7/code.php +++ b/src/cb11e8d9-69c2-4095-831c-59908ea402e7/code.php @@ -285,7 +285,7 @@ class Data $_backup_langPrefix = $this->config->lang_prefix; // set some keys - $module->target_type = 'M0dU|3'; + $module->target_type = 'M0dUl3'; $module->key = $module->id . '_' . $module->target_type; // update to point to module diff --git a/src/cb11e8d9-69c2-4095-831c-59908ea402e7/code.power b/src/cb11e8d9-69c2-4095-831c-59908ea402e7/code.power index e5f2b0b..4a071f2 100644 --- a/src/cb11e8d9-69c2-4095-831c-59908ea402e7/code.power +++ b/src/cb11e8d9-69c2-4095-831c-59908ea402e7/code.power @@ -244,7 +244,7 @@ $_backup_langPrefix = $this->config->lang_prefix; // set some keys - $module->target_type = 'M0dU|3'; + $module->target_type = 'M0dUl3'; $module->key = $module->id . '_' . $module->target_type; // update to point to module diff --git a/src/ce0899a9-6271-4fc4-800a-697c122bb112/README.md b/src/ce0899a9-6271-4fc4-800a-697c122bb112/README.md index bcb1fab..890005b 100644 --- a/src/ce0899a9-6271-4fc4-800a-697c122bb112/README.md +++ b/src/ce0899a9-6271-4fc4-800a-697c122bb112/README.md @@ -8,7 +8,7 @@ ``` # final class DatabaseUniqueKeys (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class DatabaseUniqueKeys << (F,LightGreen) >> #RoyalBlue { diff --git a/src/ce0899a9-6271-4fc4-800a-697c122bb112/code.php b/src/ce0899a9-6271-4fc4-800a-697c122bb112/code.php index 2cbc426..4763c4d 100644 --- a/src/ce0899a9-6271-4fc4-800a-697c122bb112/code.php +++ b/src/ce0899a9-6271-4fc4-800a-697c122bb112/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class DatabaseUniqueKeys extends StorageRegistry implements Storageregistryinterface +final class DatabaseUniqueKeys extends Registry implements Registryinterface { } diff --git a/src/d393c946-4481-43fa-b737-449119dd0a63/README.md b/src/d393c946-4481-43fa-b737-449119dd0a63/README.md index d9177f7..c37cd0b 100644 --- a/src/d393c946-4481-43fa-b737-449119dd0a63/README.md +++ b/src/d393c946-4481-43fa-b737-449119dd0a63/README.md @@ -8,7 +8,7 @@ ``` # final class SiteFieldDecodeFilter (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class SiteFieldDecodeFilter << (F,LightGreen) >> #RoyalBlue { diff --git a/src/d393c946-4481-43fa-b737-449119dd0a63/code.php b/src/d393c946-4481-43fa-b737-449119dd0a63/code.php index f651e67..8ebd6c9 100644 --- a/src/d393c946-4481-43fa-b737-449119dd0a63/code.php +++ b/src/d393c946-4481-43fa-b737-449119dd0a63/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class SiteFieldDecodeFilter extends StorageRegistry implements Storageregistryinterface +final class SiteFieldDecodeFilter extends Registry implements Registryinterface { } diff --git a/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/README.md b/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/README.md index 1c38320..0280eea 100644 --- a/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/README.md +++ b/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/README.md @@ -13,32 +13,32 @@ class Structure #Gold { # Config $config # Registry $registry - # EventInterface $event + # Event $event # Component $component # Content $content # Counter $counter # Paths $paths # Folder $folder # File $file - + __construct(?Config $config = null, ?Registry $registry = null, ...) + + __construct(Config $config, Registry $registry, ...) + build() : void } note right of Structure::__construct - Constructor + Constructor. since: 3.2.0 arguments: - ?Config $config = null - ?Registry $registry = null - ?EventInterface $event = null - ?Component $component = null - ?Content $content = null - ?Counter $counter = null - ?Paths $paths = null - ?Folder $folder = null - ?File $file = null + Config $config + Registry $registry + Event $event + Component $component + Content $content + Counter $counter + Paths $paths + Folder $folder + File $file end note note right of Structure::build diff --git a/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/code.php b/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/code.php index fecf505..3a18703 100644 --- a/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/code.php +++ b/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/code.php @@ -13,12 +13,11 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Library; use Joomla\CMS\Filesystem\Folder as JoomlaFolder; -use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler; use VDM\Joomla\Componentbuilder\Compiler\Config; use VDM\Joomla\Componentbuilder\Compiler\Registry; -use VDM\Joomla\Componentbuilder\Compiler\Interfaces\EventInterface; +use VDM\Joomla\Componentbuilder\Compiler\Interfaces\EventInterface as Event; use VDM\Joomla\Componentbuilder\Compiler\Component; -use VDM\Joomla\Componentbuilder\Compiler\Content; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentOne as Content; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Counter; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Paths; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Folder; @@ -38,107 +37,105 @@ use VDM\Joomla\Utilities\FileHelper; class Structure { /** - * Compiler Config + * The Config Class. * - * @var Config + * @var Config * @since 3.2.0 */ protected Config $config; /** - * The compiler registry + * The Registry Class. * - * @var Registry + * @var Registry * @since 3.2.0 */ protected Registry $registry; /** - * Compiler Event + * The EventInterface Class. * - * @var EventInterface + * @var Event * @since 3.2.0 */ - protected EventInterface $event; + protected Event $event; /** - * Compiler Component + * The Component Class. * - * @var Component + * @var Component * @since 3.2.0 - **/ + */ protected Component $component; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** - * Compiler Counter + * The Counter Class. * - * @var Counter + * @var Counter * @since 3.2.0 */ protected Counter $counter; /** - * Compiler Utilities Paths + * The Paths Class. * - * @var Paths + * @var Paths * @since 3.2.0 */ protected Paths $paths; /** - * Compiler Utilities Folder + * The Folder Class. * - * @var Folder + * @var Folder * @since 3.2.0 */ protected Folder $folder; /** - * Compiler Utilities File + * The File Class. * - * @var File + * @var File * @since 3.2.0 */ protected File $file; /** - * Constructor + * Constructor. * - * @param Config|null $config The compiler config object. - * @param Registry|null $registry The compiler registry object. - * @param EventInterface|null $event The compiler event api object. - * @param Component|null $component The component class. - * @param Content|null $content The compiler content object. - * @param Counter|null $counter The compiler counter object. - * @param Paths|null $paths The compiler paths object. - * @param Folder|null $folder The compiler folder object. - * @param File|null $file The compiler file object. + * @param Config $config The Config Class. + * @param Registry $registry The Registry Class. + * @param Event $event The EventInterface Class. + * @param Component $component The Component Class. + * @param Content $content The ContentOne Class. + * @param Counter $counter The Counter Class. + * @param Paths $paths The Paths Class. + * @param Folder $folder The Folder Class. + * @param File $file The File Class. * * @since 3.2.0 */ - public function __construct(?Config $config = null, ?Registry $registry = null, - ?EventInterface $event = null, ?Component $component = null, - ?Content $content = null,?Counter $counter = null, - ?Paths $paths = null, ?Folder $folder = null, - ?File $file = null) + public function __construct(Config $config, Registry $registry, Event $event, + Component $component, Content $content, Counter $counter, + Paths $paths, Folder $folder, File $file) { - $this->config = $config ?: Compiler::_('Config'); - $this->registry = $registry ?: Compiler::_('Registry'); - $this->event = $event ?: Compiler::_('Event'); - $this->component = $component ?: Compiler::_('Component'); - $this->content = $content ?: Compiler::_('Content'); - $this->counter = $counter ?: Compiler::_('Utilities.Counter'); - $this->paths = $paths ?: Compiler::_('Utilities.Paths'); - $this->folder = $folder ?: Compiler::_('Utilities.Folder'); - $this->file = $file ?: Compiler::_('Utilities.File'); + $this->config = $config; + $this->registry = $registry; + $this->event = $event; + $this->component = $component; + $this->content = $content; + $this->counter = $counter; + $this->paths = $paths; + $this->folder = $folder; + $this->file = $file; } /** @@ -312,7 +309,6 @@ class Structure } } } - } - + } } diff --git a/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/code.power b/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/code.power index 792a29d..51e42db 100644 --- a/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/code.power +++ b/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/code.power @@ -1,105 +1,103 @@ /** - * Compiler Config + * The Config Class. * - * @var Config + * @var Config * @since 3.2.0 */ protected Config $config; /** - * The compiler registry + * The Registry Class. * - * @var Registry + * @var Registry * @since 3.2.0 */ protected Registry $registry; /** - * Compiler Event + * The EventInterface Class. * - * @var EventInterface + * @var Event * @since 3.2.0 */ - protected EventInterface $event; + protected Event $event; /** - * Compiler Component + * The Component Class. * - * @var Component + * @var Component * @since 3.2.0 - **/ + */ protected Component $component; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** - * Compiler Counter + * The Counter Class. * - * @var Counter + * @var Counter * @since 3.2.0 */ protected Counter $counter; /** - * Compiler Utilities Paths + * The Paths Class. * - * @var Paths + * @var Paths * @since 3.2.0 */ protected Paths $paths; /** - * Compiler Utilities Folder + * The Folder Class. * - * @var Folder + * @var Folder * @since 3.2.0 */ protected Folder $folder; /** - * Compiler Utilities File + * The File Class. * - * @var File + * @var File * @since 3.2.0 */ protected File $file; /** - * Constructor + * Constructor. * - * @param Config|null $config The compiler config object. - * @param Registry|null $registry The compiler registry object. - * @param EventInterface|null $event The compiler event api object. - * @param Component|null $component The component class. - * @param Content|null $content The compiler content object. - * @param Counter|null $counter The compiler counter object. - * @param Paths|null $paths The compiler paths object. - * @param Folder|null $folder The compiler folder object. - * @param File|null $file The compiler file object. + * @param Config $config The Config Class. + * @param Registry $registry The Registry Class. + * @param Event $event The EventInterface Class. + * @param Component $component The Component Class. + * @param Content $content The ContentOne Class. + * @param Counter $counter The Counter Class. + * @param Paths $paths The Paths Class. + * @param Folder $folder The Folder Class. + * @param File $file The File Class. * * @since 3.2.0 */ - public function __construct(?Config $config = null, ?Registry $registry = null, - ?EventInterface $event = null, ?Component $component = null, - ?Content $content = null,?Counter $counter = null, - ?Paths $paths = null, ?Folder $folder = null, - ?File $file = null) + public function __construct(Config $config, Registry $registry, Event $event, + Component $component, Content $content, Counter $counter, + Paths $paths, Folder $folder, File $file) { - $this->config = $config ?: Compiler::_('Config'); - $this->registry = $registry ?: Compiler::_('Registry'); - $this->event = $event ?: Compiler::_('Event'); - $this->component = $component ?: Compiler::_('Component'); - $this->content = $content ?: Compiler::_('Content'); - $this->counter = $counter ?: Compiler::_('Utilities.Counter'); - $this->paths = $paths ?: Compiler::_('Utilities.Paths'); - $this->folder = $folder ?: Compiler::_('Utilities.Folder'); - $this->file = $file ?: Compiler::_('Utilities.File'); + $this->config = $config; + $this->registry = $registry; + $this->event = $event; + $this->component = $component; + $this->content = $content; + $this->counter = $counter; + $this->paths = $paths; + $this->folder = $folder; + $this->file = $file; } /** @@ -273,4 +271,4 @@ } } } - } + } \ No newline at end of file diff --git a/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/settings.json b/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/settings.json index 33e5432..85385d2 100644 --- a/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/settings.json +++ b/src/d3ce5763-4d00-4245-a175-54fc2e80e9b7/settings.json @@ -11,62 +11,58 @@ "type": "class", "use_selection": { "use_selection0": { - "use": "d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac", - "as": "Compiler" - }, - "use_selection1": { "use": "fa4bf18e-301e-42e3-91fb-6e0096c07adc", "as": "default" }, - "use_selection2": { + "use_selection1": { "use": "e5d9804f-0eb0-4ee9-b406-ad4e8cdbc1f6", "as": "default" }, - "use_selection3": { + "use_selection2": { "use": "20ed72b0-fcac-4344-aee1-8a65e3bf221d", - "as": "default" + "as": "Event" }, - "use_selection4": { + "use_selection3": { "use": "e2472b22-a329-44d8-b4a2-ae3ba99e17a0", "as": "default" }, - "use_selection5": { + "use_selection4": { "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", - "as": "default" + "as": "Content" }, - "use_selection6": { + "use_selection5": { "use": "e6d871a6-bbe7-497d-af01-68f6bb9a87f4", "as": "default" }, - "use_selection7": { + "use_selection6": { "use": "6f20369a-8536-4870-a1a3-cda254c939c8", "as": "default" }, - "use_selection8": { + "use_selection7": { "use": "6bbb6ffe-3f09-4c21-aa9d-c93159afa1e1", "as": "default" }, - "use_selection9": { + "use_selection8": { "use": "5c75b455-3d4c-452a-867e-e90424a64c88", "as": "default" }, - "use_selection10": { + "use_selection9": { "use": "a68c010b-e92e-47d5-8a44-d23cfddeb6c6", "as": "default" }, - "use_selection11": { + "use_selection10": { "use": "91004529-94a9-4590-b842-e7c6b624ecf5", "as": "default" }, - "use_selection12": { + "use_selection11": { "use": "0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a", "as": "default" }, - "use_selection13": { + "use_selection12": { "use": "1f28cb53-60d9-4db1-b517-3c7dc6b429ef", "as": "default" }, - "use_selection14": { + "use_selection13": { "use": "a223b31e-ea1d-4cdf-92ae-5f9becffaff0", "as": "default" } diff --git a/src/d5530adf-c809-45a9-87fc-7cecd3d972d8/README.md b/src/d5530adf-c809-45a9-87fc-7cecd3d972d8/README.md index 1a37105..9fc7ca7 100644 --- a/src/d5530adf-c809-45a9-87fc-7cecd3d972d8/README.md +++ b/src/d5530adf-c809-45a9-87fc-7cecd3d972d8/README.md @@ -8,7 +8,7 @@ ``` # final class FieldGroupControl (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class FieldGroupControl << (F,LightGreen) >> #RoyalBlue { diff --git a/src/d5530adf-c809-45a9-87fc-7cecd3d972d8/code.php b/src/d5530adf-c809-45a9-87fc-7cecd3d972d8/code.php index 6dfec73..62b5ac5 100644 --- a/src/d5530adf-c809-45a9-87fc-7cecd3d972d8/code.php +++ b/src/d5530adf-c809-45a9-87fc-7cecd3d972d8/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class FieldGroupControl extends StorageRegistry implements Storageregistryinterface +final class FieldGroupControl extends Registry implements Registryinterface { } diff --git a/src/d645881c-ae8c-4828-a217-6bad98cd3b44/README.md b/src/d645881c-ae8c-4828-a217-6bad98cd3b44/README.md index fe8cc7a..14628d7 100644 --- a/src/d645881c-ae8c-4828-a217-6bad98cd3b44/README.md +++ b/src/d645881c-ae8c-4828-a217-6bad98cd3b44/README.md @@ -8,7 +8,7 @@ ``` # final class TabCounter (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class TabCounter << (F,LightGreen) >> #RoyalBlue { diff --git a/src/d645881c-ae8c-4828-a217-6bad98cd3b44/code.php b/src/d645881c-ae8c-4828-a217-6bad98cd3b44/code.php index adce577..00c6c9c 100644 --- a/src/d645881c-ae8c-4828-a217-6bad98cd3b44/code.php +++ b/src/d645881c-ae8c-4828-a217-6bad98cd3b44/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class TabCounter extends StorageRegistry implements Storageregistryinterface +final class TabCounter extends Registry implements Registryinterface { } diff --git a/src/d8e46d2c-d63e-4b92-80a2-d17638a7ae9e/README.md b/src/d8e46d2c-d63e-4b92-80a2-d17638a7ae9e/README.md index b3a86b1..45c7413 100644 --- a/src/d8e46d2c-d63e-4b92-80a2-d17638a7ae9e/README.md +++ b/src/d8e46d2c-d63e-4b92-80a2-d17638a7ae9e/README.md @@ -8,7 +8,7 @@ ``` # final class SelectionTranslation (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class SelectionTranslation << (F,LightGreen) >> #RoyalBlue { diff --git a/src/d8e46d2c-d63e-4b92-80a2-d17638a7ae9e/code.php b/src/d8e46d2c-d63e-4b92-80a2-d17638a7ae9e/code.php index 5defc8c..c1bf225 100644 --- a/src/d8e46d2c-d63e-4b92-80a2-d17638a7ae9e/code.php +++ b/src/d8e46d2c-d63e-4b92-80a2-d17638a7ae9e/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class SelectionTranslation extends StorageRegistry implements Storageregistryinterface +final class SelectionTranslation extends Registry implements Registryinterface { } diff --git a/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/README.md b/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/README.md index adab0ee..3e9ebdf 100644 --- a/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/README.md +++ b/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/README.md @@ -11,9 +11,8 @@ ```uml @startuml abstract Factory #Orange { - # static $container - # static $JoomlaVersion + {static} _(string $key) : mixed + + {static} getKeys() : array + {static} _J(string $key) : mixed + {static} getContainer() : Container # {static} createContainer() : Container @@ -26,6 +25,13 @@ note right of Factory::_ return: mixed end note +note right of Factory::getKeys + Get array of all keys in container + + since: 3.2.0 + return: array +end note + note right of Factory::_J Get version specific class from the compiler container diff --git a/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.php b/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.php index 4240db7..8126e09 100644 --- a/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.php +++ b/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.php @@ -17,7 +17,6 @@ use VDM\Joomla\Componentbuilder\Service\Crypt; use VDM\Joomla\Componentbuilder\Service\Server; use VDM\Joomla\Componentbuilder\Service\Database; use VDM\Joomla\Componentbuilder\Compiler\Service\Model; -use VDM\Joomla\Componentbuilder\Compiler\Service\Mapper; use VDM\Joomla\Componentbuilder\Compiler\Service\Compiler; use VDM\Joomla\Componentbuilder\Compiler\Service\Event; use VDM\Joomla\Componentbuilder\Compiler\Service\History; @@ -64,7 +63,7 @@ abstract class Factory implements FactoryInterface * @var Container * @since 3.2.0 **/ - protected static $container = null; + protected static ?Container $container = null; /** * Current Joomla Version Being Build @@ -72,7 +71,7 @@ abstract class Factory implements FactoryInterface * @var int * @since 3.2.0 **/ - protected static $JoomlaVersion; + protected static int $JoomlaVersion; /** * Get any class from the compiler container @@ -87,6 +86,17 @@ abstract class Factory implements FactoryInterface return self::getContainer()->get($key); } + /** + * Get array of all keys in container + * + * @return array + * @since 3.2.0 + */ + public static function getKeys(): array + { + return self::getContainer()->getKeys(); + } + /** * Get version specific class from the compiler container * @@ -134,7 +144,6 @@ abstract class Factory implements FactoryInterface ->registerServiceProvider(new Server()) ->registerServiceProvider(new Database()) ->registerServiceProvider(new Model()) - ->registerServiceProvider(new Mapper()) ->registerServiceProvider(new Compiler()) ->registerServiceProvider(new Event()) ->registerServiceProvider(new History()) diff --git a/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.power b/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.power index bb527cb..cc87704 100644 --- a/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.power +++ b/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/code.power @@ -4,7 +4,7 @@ * @var Container * @since 3.2.0 **/ - protected static $container = null; + protected static ?Container $container = null; /** * Current Joomla Version Being Build @@ -12,7 +12,7 @@ * @var int * @since 3.2.0 **/ - protected static $JoomlaVersion; + protected static int $JoomlaVersion; /** * Get any class from the compiler container @@ -27,6 +27,17 @@ return self::getContainer()->get($key); } + /** + * Get array of all keys in container + * + * @return array + * @since 3.2.0 + */ + public static function getKeys(): array + { + return self::getContainer()->getKeys(); + } + /** * Get version specific class from the compiler container * @@ -74,7 +85,6 @@ ->registerServiceProvider(new Server()) ->registerServiceProvider(new Database()) ->registerServiceProvider(new Model()) - ->registerServiceProvider(new Mapper()) ->registerServiceProvider(new Compiler()) ->registerServiceProvider(new Event()) ->registerServiceProvider(new History()) diff --git a/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/settings.json b/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/settings.json index fb80c27..2fd3e3e 100644 --- a/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/settings.json +++ b/src/d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac/settings.json @@ -28,10 +28,6 @@ "use": "0601fee8-d51e-4af0-9ad3-b5f8700c4a45", "as": "default" }, - "use_selection4": { - "use": "23f2ca33-440a-4941-8e9a-4bc67522c0cb", - "as": "default" - }, "use_selection5": { "use": "ea5ed06e-72ae-4906-9167-1cc0fa32fe69", "as": "default" @@ -104,51 +100,51 @@ "use": "2c76c06e-a371-4b73-9fbe-b4d9b4df55d7", "as": "default" }, - "use_selection34": { + "use_selection23": { "use": "8fdd604f-53e7-4a91-9935-afcfd2f6ac1b", "as": "default" }, - "use_selection23": { + "use_selection24": { "use": "71acf8d6-32b8-4173-8277-eb9cda29fd64", "as": "default" }, - "use_selection24": { + "use_selection25": { "use": "6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c", "as": "GiteaUtilities" }, - "use_selection25": { + "use_selection26": { "use": "f4d00907-c94a-49b7-8727-d64c1fa74cf5", "as": "GiteaSettings" }, - "use_selection26": { + "use_selection27": { "use": "3d25ea99-4f33-489a-934c-0e42027e6114", "as": "GiteaOrg" }, - "use_selection27": { + "use_selection28": { "use": "0a69cfc5-3223-4afb-8c9a-75f4bacf3c0e", "as": "GiteaUser" }, - "use_selection28": { + "use_selection29": { "use": "0bb2b72f-ebcd-46fe-844b-ac5fe715c230", "as": "GiteaRepo" }, - "use_selection29": { + "use_selection30": { "use": "808da4eb-b467-46cf-a767-e7e714f46b5a", "as": "GiteaPackage" }, - "use_selection30": { + "use_selection31": { "use": "44396eb8-e14c-47d9-9bdc-8205c0fd2bba", "as": "GiteaIssue" }, - "use_selection31": { + "use_selection32": { "use": "be57f70f-1214-4d69-8d33-7cd4e312ff70", "as": "GiteNotifi" }, - "use_selection32": { + "use_selection33": { "use": "012af7d0-3436-4cae-b856-be49bdc39a3e", "as": "GiteaMisc" }, - "use_selection33": { + "use_selection34": { "use": "ddced4c5-667d-4559-873d-d716c17fd85b", "as": "GiteaAdmin" } diff --git a/src/dba0776e-e582-4f73-af3e-e7ed17bc34b3/README.md b/src/dba0776e-e582-4f73-af3e-e7ed17bc34b3/README.md index 152f12c..52231af 100644 --- a/src/dba0776e-e582-4f73-af3e-e7ed17bc34b3/README.md +++ b/src/dba0776e-e582-4f73-af3e-e7ed17bc34b3/README.md @@ -8,7 +8,7 @@ ``` # final class FootableScripts (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class FootableScripts << (F,LightGreen) >> #RoyalBlue { diff --git a/src/dba0776e-e582-4f73-af3e-e7ed17bc34b3/code.php b/src/dba0776e-e582-4f73-af3e-e7ed17bc34b3/code.php index 7255ba2..30413a3 100644 --- a/src/dba0776e-e582-4f73-af3e-e7ed17bc34b3/code.php +++ b/src/dba0776e-e582-4f73-af3e-e7ed17bc34b3/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class FootableScripts extends StorageRegistry implements Storageregistryinterface +final class FootableScripts extends Registry implements Registryinterface { } diff --git a/src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.php b/src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.php index 630ab6b..b03acb7 100644 --- a/src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.php +++ b/src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.php @@ -159,7 +159,7 @@ class Power implements ServiceProviderInterface return new Autoloader( $container->get('Power'), $container->get('Config'), - $container->get('Content') + $container->get('Compiler.Builder.Content.One') ); } @@ -176,7 +176,8 @@ class Power implements ServiceProviderInterface return new Infusion( $container->get('Config'), $container->get('Power'), - $container->get('Content'), + $container->get('Compiler.Builder.Content.One'), + $container->get('Compiler.Builder.Content.Multi'), $container->get('Power.Autoloader'), $container->get('Power.Parser'), $container->get('Power.Repo.Readme'), diff --git a/src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.power b/src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.power index 1cb9234..0f8c4a4 100644 --- a/src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.power +++ b/src/de01527a-6586-46ea-92e7-11ea3de1cedb/code.power @@ -119,7 +119,7 @@ return new Autoloader( $container->get('Power'), $container->get('Config'), - $container->get('Content') + $container->get('Compiler.Builder.Content.One') ); } @@ -136,7 +136,8 @@ return new Infusion( $container->get('Config'), $container->get('Power'), - $container->get('Content'), + $container->get('Compiler.Builder.Content.One'), + $container->get('Compiler.Builder.Content.Multi'), $container->get('Power.Autoloader'), $container->get('Power.Parser'), $container->get('Power.Repo.Readme'), diff --git a/src/e046b530-47fe-406f-b45a-b5eec8cbb238/README.md b/src/e046b530-47fe-406f-b45a-b5eec8cbb238/README.md index c5048b8..8723939 100644 --- a/src/e046b530-47fe-406f-b45a-b5eec8cbb238/README.md +++ b/src/e046b530-47fe-406f-b45a-b5eec8cbb238/README.md @@ -8,23 +8,22 @@ ``` # final class PermissionDashboard (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **MapperDouble** +> extends: **Registry** ```uml @startuml class PermissionDashboard << (F,LightGreen) >> #RoyalBlue { - # firstKey(string $key) : string - # secondKey(string $key) : string + + __construct() + + build() : string } -note right of PermissionDashboard::firstKey - Model the first key +note right of PermissionDashboard::__construct + Constructor. since: 3.2.0 - return: string end note -note right of PermissionDashboard::secondKey - Model the second key +note right of PermissionDashboard::build + Get the build permission dashboard code since: 3.2.0 return: string diff --git a/src/e046b530-47fe-406f-b45a-b5eec8cbb238/code.php b/src/e046b530-47fe-406f-b45a-b5eec8cbb238/code.php index 19ab356..ac3c8c4 100644 --- a/src/e046b530-47fe-406f-b45a-b5eec8cbb238/code.php +++ b/src/e046b530-47fe-406f-b45a-b5eec8cbb238/code.php @@ -12,8 +12,11 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Componentbuilder\Interfaces\Mapperdoubleinterface; -use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; +use VDM\Joomla\Abstraction\Registry\Traits\VarExport; +use VDM\Joomla\Componentbuilder\Compiler\Utilities\Indent; +use VDM\Joomla\Componentbuilder\Compiler\Utilities\Line; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,32 +24,41 @@ use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble; * * @since 3.2.0 */ -final class PermissionDashboard extends MapperDouble implements Mapperdoubleinterface +final class PermissionDashboard extends Registry implements Registryinterface { /** - * Model the first key + * Constructor. * - * @param string $key The first key to model - * - * @return string * @since 3.2.0 */ - protected function firstKey(string $key): string + public function __construct() { - return $key; + $this->setSeparator('|'); } /** - * Model the second key + * Var Export Values * - * @param string $key The second key to model + * @since 3.2.0 + */ + use VarExport; + + /** + * Get the build permission dashboard code * * @return string * @since 3.2.0 */ - protected function secondKey(string $key): string + public function build(): string { - return $key; + if ($this->isActive()) + { + return PHP_EOL . Indent::_(2) . "//" . Line::_(__Line__, __Class__) + . " view access array" . PHP_EOL . Indent::_(2) + . "\$viewAccess = " . $this->varExport() . ';'; + } + + return ''; } } diff --git a/src/e046b530-47fe-406f-b45a-b5eec8cbb238/code.power b/src/e046b530-47fe-406f-b45a-b5eec8cbb238/code.power index 2fc53e5..793095f 100644 --- a/src/e046b530-47fe-406f-b45a-b5eec8cbb238/code.power +++ b/src/e046b530-47fe-406f-b45a-b5eec8cbb238/code.power @@ -1,25 +1,34 @@ /** - * Model the first key + * Constructor. * - * @param string $key The first key to model - * - * @return string * @since 3.2.0 */ - protected function firstKey(string $key): string + public function __construct() { - return $key; + $this->setSeparator('|'); } /** - * Model the second key + * Var Export Values * - * @param string $key The second key to model + * @since 3.2.0 + */ + use VarExport; + + /** + * Get the build permission dashboard code * * @return string * @since 3.2.0 */ - protected function secondKey(string $key): string + public function build(): string { - return $key; + if ($this->isActive()) + { + return PHP_EOL . Indent::_(2) . "//" . Line::_(__Line__, __Class__) + . " view access array" . PHP_EOL . Indent::_(2) + . "\$viewAccess = " . $this->varExport() . ';'; + } + + return ''; } \ No newline at end of file diff --git a/src/e046b530-47fe-406f-b45a-b5eec8cbb238/settings.json b/src/e046b530-47fe-406f-b45a-b5eec8cbb238/settings.json index 99925a2..7506ec9 100644 --- a/src/e046b530-47fe-406f-b45a-b5eec8cbb238/settings.json +++ b/src/e046b530-47fe-406f-b45a-b5eec8cbb238/settings.json @@ -1,17 +1,30 @@ { "add_head": "0", "add_licensing_template": "2", - "extends": "4d4e76e9-12d9-4d19-b58c-b88974b2586a", + "extends": "7e822c03-1b20-41d1-9427-f5b8d5836af7", "guid": "e046b530-47fe-406f-b45a-b5eec8cbb238", "implements": [ - "fbc58009-fa16-4d49-a0dd-419c3b62d42f" + "64e291c2-11f1-423d-a44d-837cc12cc017" ], "load_selection": null, "name": "PermissionDashboard", "power_version": "1.0.0", "system_name": "JCB.Compiler.Builder.PermissionDashboard", "type": "final class", - "use_selection": null, + "use_selection": { + "use_selection0": { + "use": "52a1d14f-304a-431c-8fa4-411179942db5", + "as": "default" + }, + "use_selection1": { + "use": "a68c010b-e92e-47d5-8a44-d23cfddeb6c6", + "as": "default" + }, + "use_selection2": { + "use": "4e6ff11d-bebf-42f5-8fd7-b2f882857222", + "as": "default" + } + }, "namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Builder.PermissionDashboard", "description": "Permission Dashboard Builder 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", diff --git a/src/e38a5276-6664-4bc6-8002-0562fcc248f8/README.md b/src/e38a5276-6664-4bc6-8002-0562fcc248f8/README.md index d659377..b841e1d 100644 --- a/src/e38a5276-6664-4bc6-8002-0562fcc248f8/README.md +++ b/src/e38a5276-6664-4bc6-8002-0562fcc248f8/README.md @@ -8,7 +8,7 @@ ``` # final class AccessSwitch (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class AccessSwitch << (F,LightGreen) >> #RoyalBlue { diff --git a/src/e38a5276-6664-4bc6-8002-0562fcc248f8/code.php b/src/e38a5276-6664-4bc6-8002-0562fcc248f8/code.php index 0d59cd2..00dbac5 100644 --- a/src/e38a5276-6664-4bc6-8002-0562fcc248f8/code.php +++ b/src/e38a5276-6664-4bc6-8002-0562fcc248f8/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class AccessSwitch extends StorageRegistry implements Storageregistryinterface +final class AccessSwitch extends Registry implements Registryinterface { } diff --git a/src/e4e65c5b-00ec-439c-96bf-3153c3a73398/README.md b/src/e4e65c5b-00ec-439c-96bf-3153c3a73398/README.md index 9495066..e2a6f23 100644 --- a/src/e4e65c5b-00ec-439c-96bf-3153c3a73398/README.md +++ b/src/e4e65c5b-00ec-439c-96bf-3153c3a73398/README.md @@ -8,7 +8,7 @@ ``` # final class Filter (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Filter << (F,LightGreen) >> #RoyalBlue { diff --git a/src/e4e65c5b-00ec-439c-96bf-3153c3a73398/code.php b/src/e4e65c5b-00ec-439c-96bf-3153c3a73398/code.php index ecdf35d..17eac8a 100644 --- a/src/e4e65c5b-00ec-439c-96bf-3153c3a73398/code.php +++ b/src/e4e65c5b-00ec-439c-96bf-3153c3a73398/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Filter extends StorageRegistry implements Storageregistryinterface +final class Filter extends Registry implements Registryinterface { } diff --git a/src/e54965e7-34fd-481e-b40c-4da089afec5a/README.md b/src/e54965e7-34fd-481e-b40c-4da089afec5a/README.md index bc15f63..990b488 100644 --- a/src/e54965e7-34fd-481e-b40c-4da089afec5a/README.md +++ b/src/e54965e7-34fd-481e-b40c-4da089afec5a/README.md @@ -8,7 +8,7 @@ ``` # final class HasPermissions (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class HasPermissions << (F,LightGreen) >> #RoyalBlue { diff --git a/src/e54965e7-34fd-481e-b40c-4da089afec5a/code.php b/src/e54965e7-34fd-481e-b40c-4da089afec5a/code.php index 726b1df..ce321c6 100644 --- a/src/e54965e7-34fd-481e-b40c-4da089afec5a/code.php +++ b/src/e54965e7-34fd-481e-b40c-4da089afec5a/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class HasPermissions extends StorageRegistry implements Storageregistryinterface +final class HasPermissions extends Registry implements Registryinterface { } diff --git a/src/e696927b-e8f4-4cfc-9d25-215db4e3c7a8/README.md b/src/e696927b-e8f4-4cfc-9d25-215db4e3c7a8/README.md index 80a416c..a55171b 100644 --- a/src/e696927b-e8f4-4cfc-9d25-215db4e3c7a8/README.md +++ b/src/e696927b-e8f4-4cfc-9d25-215db4e3c7a8/README.md @@ -8,7 +8,7 @@ ``` # final class LibraryManager (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class LibraryManager << (F,LightGreen) >> #RoyalBlue { diff --git a/src/e696927b-e8f4-4cfc-9d25-215db4e3c7a8/code.php b/src/e696927b-e8f4-4cfc-9d25-215db4e3c7a8/code.php index 6cbd66f..8675c29 100644 --- a/src/e696927b-e8f4-4cfc-9d25-215db4e3c7a8/code.php +++ b/src/e696927b-e8f4-4cfc-9d25-215db4e3c7a8/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class LibraryManager extends StorageRegistry implements Storageregistryinterface +final class LibraryManager extends Registry implements Registryinterface { } diff --git a/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/README.md b/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/README.md index 1d05488..7e975d4 100644 --- a/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/README.md +++ b/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/README.md @@ -42,7 +42,7 @@ class Counter #Gold { # float $end # float $timer # Content $content - + __construct(?Content $content = null) + + __construct(Content $content) + start() : void + end() : void + set() : void @@ -50,7 +50,7 @@ class Counter #Gold { } note right of Counter::__construct - Constructor + Constructor. since: 3.2.0 end note diff --git a/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/code.php b/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/code.php index a72af3f..a16dd63 100644 --- a/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/code.php +++ b/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/code.php @@ -12,8 +12,7 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Utilities; -use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler; -use VDM\Joomla\Componentbuilder\Compiler\Content; +use VDM\Joomla\Componentbuilder\Compiler\Builder\ContentOne as Content; /** @@ -264,23 +263,23 @@ class Counter protected float $timer = 0; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** - * Constructor + * Constructor. * - * @param Content|null $content The compiler content object. + * @param Content $content The ContentOne Class. * * @since 3.2.0 */ - public function __construct(?Content $content = null) + public function __construct(Content $content) { - $this->content = $content ?: Compiler::_('Content'); + $this->content = $content; } /** diff --git a/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/code.power b/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/code.power index c2d5dc3..1dd1ee4 100644 --- a/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/code.power +++ b/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/code.power @@ -239,23 +239,23 @@ protected float $timer = 0; /** - * Compiler Content + * The ContentOne Class. * - * @var Content + * @var Content * @since 3.2.0 - **/ + */ protected Content $content; /** - * Constructor + * Constructor. * - * @param Content|null $content The compiler content object. + * @param Content $content The ContentOne Class. * * @since 3.2.0 */ - public function __construct(?Content $content = null) + public function __construct(Content $content) { - $this->content = $content ?: Compiler::_('Content'); + $this->content = $content; } /** diff --git a/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/settings.json b/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/settings.json index 1d266d4..456274c 100644 --- a/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/settings.json +++ b/src/e6d871a6-bbe7-497d-af01-68f6bb9a87f4/settings.json @@ -11,12 +11,8 @@ "type": "class", "use_selection": { "use_selection0": { - "use": "d910d8b8-4c23-4f3e-8cda-438f2d2bd7ac", - "as": "Compiler" - }, - "use_selection1": { "use": "adfbe68a-6d22-43e5-aee8-2787e8c47e75", - "as": "default" + "as": "Content" } }, "namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.Counter", diff --git a/src/e9b6b06b-f600-4f9d-984d-79c70ae7ae92/README.md b/src/e9b6b06b-f600-4f9d-984d-79c70ae7ae92/README.md index 3c5af14..d617693 100644 --- a/src/e9b6b06b-f600-4f9d-984d-79c70ae7ae92/README.md +++ b/src/e9b6b06b-f600-4f9d-984d-79c70ae7ae92/README.md @@ -8,7 +8,7 @@ ``` # final class ExtensionCustomFields (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class ExtensionCustomFields << (F,LightGreen) >> #RoyalBlue { diff --git a/src/e9b6b06b-f600-4f9d-984d-79c70ae7ae92/code.php b/src/e9b6b06b-f600-4f9d-984d-79c70ae7ae92/code.php index 1509300..1b6fd59 100644 --- a/src/e9b6b06b-f600-4f9d-984d-79c70ae7ae92/code.php +++ b/src/e9b6b06b-f600-4f9d-984d-79c70ae7ae92/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class ExtensionCustomFields extends StorageRegistry implements Storageregistryinterface +final class ExtensionCustomFields extends Registry implements Registryinterface { } diff --git a/src/ec0682ee-9166-48f8-951b-9b763792c1d1/README.md b/src/ec0682ee-9166-48f8-951b-9b763792c1d1/README.md index 916c21d..59374d8 100644 --- a/src/ec0682ee-9166-48f8-951b-9b763792c1d1/README.md +++ b/src/ec0682ee-9166-48f8-951b-9b763792c1d1/README.md @@ -8,7 +8,7 @@ ``` # final class SiteDynamicGet (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class SiteDynamicGet << (F,LightGreen) >> #RoyalBlue { diff --git a/src/ec0682ee-9166-48f8-951b-9b763792c1d1/code.php b/src/ec0682ee-9166-48f8-951b-9b763792c1d1/code.php index 0711baa..c954062 100644 --- a/src/ec0682ee-9166-48f8-951b-9b763792c1d1/code.php +++ b/src/ec0682ee-9166-48f8-951b-9b763792c1d1/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class SiteDynamicGet extends StorageRegistry implements Storageregistryinterface +final class SiteDynamicGet extends Registry implements Registryinterface { } diff --git a/src/efb1d0f8-2d14-4d2c-8b5f-4fcdd9df45a5/code.php b/src/efb1d0f8-2d14-4d2c-8b5f-4fcdd9df45a5/code.php index dd6e8be..2da808e 100644 --- a/src/efb1d0f8-2d14-4d2c-8b5f-4fcdd9df45a5/code.php +++ b/src/efb1d0f8-2d14-4d2c-8b5f-4fcdd9df45a5/code.php @@ -73,31 +73,22 @@ class Readme ╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ ```"]; // add the class diagram + $parsed_class_code = []; if (isset($power->parsed_class_code) && is_array($power->parsed_class_code)) { - $readme[] = "# " . $power->type . " " . $power->code_name . " (Details)"; - $readme[] = "> namespace: **" . $power->_namespace . "**"; - if ($power->extends != 0) - { - $readme[] = "> extends: **" . $power->extends_name . "**"; - } - $readme[] = "```uml\n@startuml" . $this->plantuml->classDetailedDiagram( - ['name' => $power->code_name, 'type' => $power->type], - $power->parsed_class_code - ) . " \n@enduml\n```"; + $parsed_class_code = $power->parsed_class_code; } - else + + $readme[] = "# " . $power->type . " " . $power->code_name . " (Details)"; + $readme[] = "> namespace: **" . $power->_namespace . "**"; + if ($power->extends != 0) { - $readme[] = "# " . $power->type . " " . $power->code_name . " (Details)"; - $readme[] = "> namespace: **" . $power->_namespace . "**"; - if ($power->extends != 0) - { - $readme[] = "> extends: **" . $power->extends_name . "**"; - } - $readme[] = "```uml\n@startuml" . $this->plantuml->classDetailedDiagram( - ['name' => $power->code_name, 'type' => $power->type], [] - ) . " \n@enduml\n```"; + $readme[] = "> extends: **" . $power->extends_name . "**"; } + $readme[] = "```uml\n@startuml" . $this->plantuml->classDetailedDiagram( + ['name' => $power->code_name, 'type' => $power->type], + $parsed_class_code + ) . " \n@enduml\n```"; // yes you can remove this, but why? $readme[] = "\n---\n``` diff --git a/src/efb1d0f8-2d14-4d2c-8b5f-4fcdd9df45a5/code.power b/src/efb1d0f8-2d14-4d2c-8b5f-4fcdd9df45a5/code.power index 09e33e2..f906065 100644 --- a/src/efb1d0f8-2d14-4d2c-8b5f-4fcdd9df45a5/code.power +++ b/src/efb1d0f8-2d14-4d2c-8b5f-4fcdd9df45a5/code.power @@ -48,31 +48,22 @@ ╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ ```"]; // add the class diagram + $parsed_class_code = []; if (isset($power->parsed_class_code) && is_array($power->parsed_class_code)) { - $readme[] = "# " . $power->type . " " . $power->code_name . " (Details)"; - $readme[] = "> namespace: **" . $power->_namespace . "**"; - if ($power->extends != 0) - { - $readme[] = "> extends: **" . $power->extends_name . "**"; - } - $readme[] = "```uml\n@startuml" . $this->plantuml->classDetailedDiagram( - ['name' => $power->code_name, 'type' => $power->type], - $power->parsed_class_code - ) . " \n@enduml\n```"; + $parsed_class_code = $power->parsed_class_code; } - else + + $readme[] = "# " . $power->type . " " . $power->code_name . " (Details)"; + $readme[] = "> namespace: **" . $power->_namespace . "**"; + if ($power->extends != 0) { - $readme[] = "# " . $power->type . " " . $power->code_name . " (Details)"; - $readme[] = "> namespace: **" . $power->_namespace . "**"; - if ($power->extends != 0) - { - $readme[] = "> extends: **" . $power->extends_name . "**"; - } - $readme[] = "```uml\n@startuml" . $this->plantuml->classDetailedDiagram( - ['name' => $power->code_name, 'type' => $power->type], [] - ) . " \n@enduml\n```"; + $readme[] = "> extends: **" . $power->extends_name . "**"; } + $readme[] = "```uml\n@startuml" . $this->plantuml->classDetailedDiagram( + ['name' => $power->code_name, 'type' => $power->type], + $parsed_class_code + ) . " \n@enduml\n```"; // yes you can remove this, but why? $readme[] = "\n---\n``` diff --git a/src/f052eeef-5112-4efe-98c8-8c7db69dc2d1/README.md b/src/f052eeef-5112-4efe-98c8-8c7db69dc2d1/README.md index 637f53f..47d995c 100644 --- a/src/f052eeef-5112-4efe-98c8-8c7db69dc2d1/README.md +++ b/src/f052eeef-5112-4efe-98c8-8c7db69dc2d1/README.md @@ -8,7 +8,7 @@ ``` # final class MetaData (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class MetaData << (F,LightGreen) >> #RoyalBlue { diff --git a/src/f052eeef-5112-4efe-98c8-8c7db69dc2d1/code.php b/src/f052eeef-5112-4efe-98c8-8c7db69dc2d1/code.php index 83d176e..ea297d4 100644 --- a/src/f052eeef-5112-4efe-98c8-8c7db69dc2d1/code.php +++ b/src/f052eeef-5112-4efe-98c8-8c7db69dc2d1/code.php @@ -12,9 +12,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Abstraction\StorageRegistry\Traits\IsString; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Abstraction\Registry\Traits\IsString; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -22,7 +22,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class MetaData extends StorageRegistry implements Storageregistryinterface +final class MetaData extends Registry implements Registryinterface { /** * Is String Values diff --git a/src/f6ba34a2-0cd7-4dc1-ab67-75e962a5045b/code.php b/src/f6ba34a2-0cd7-4dc1-ab67-75e962a5045b/code.php index 7dfedbd..feb07b3 100644 --- a/src/f6ba34a2-0cd7-4dc1-ab67-75e962a5045b/code.php +++ b/src/f6ba34a2-0cd7-4dc1-ab67-75e962a5045b/code.php @@ -17,7 +17,7 @@ use Joomla\CMS\Application\CMSApplication; use Joomla\CMS\Language\Text; use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler; use VDM\Joomla\Componentbuilder\Compiler\Config; -use VDM\Joomla\Componentbuilder\Utilities\FormHelper; +use VDM\Joomla\Utilities\FormHelper; /** diff --git a/src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.php b/src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.php index f707577..e08f68c 100644 --- a/src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.php +++ b/src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.php @@ -629,29 +629,40 @@ class Config extends BaseConfig */ protected function getApprovedpaths(): array { - $default = (object) ['owner' => 'joomla', 'repo' => 'super-powers', 'branch' => 'master']; + // some defaults repos we need by JCB + $approved = []; + $approved['joomla.super-powers'] = (object) ['owner' => 'joomla', 'repo' => 'super-powers', 'branch' => 'master']; + $approved['joomla.jcb-compiler'] = (object) ['owner' => 'joomla', 'repo' => 'jcb-compiler', 'branch' => 'master']; + $approved['joomla.phpseclib'] = (object) ['owner' => 'joomla', 'repo' => 'phpseclib', 'branch' => 'master']; + $approved['joomla.search'] = (object) ['owner' => 'joomla', 'repo' => 'search', 'branch' => 'master']; + $approved['joomla.gitea'] = (object) ['owner' => 'joomla', 'repo' => 'gitea', 'branch' => 'master']; + $approved['joomla.openai'] = (object) ['owner' => 'joomla', 'repo' => 'openai', 'branch' => 'master']; + $approved['joomla.minify'] = (object) ['owner' => 'joomla', 'repo' => 'minify', 'branch' => 'master']; + $approved['joomla.psr'] = (object) ['owner' => 'joomla', 'repo' => 'psr', 'branch' => 'master']; + $approved['joomla.fof'] = (object) ['owner' => 'joomla', 'repo' => 'fof', 'branch' => 'master']; if (!$this->add_own_powers) { - return [$default]; + return $approved; } $paths = $this->params->get('approved_paths'); - $approved = []; if (!empty($paths)) { foreach ($paths as $path) { - // we make sure to get only the objects - $approved[] = $path; + $owner = $path->owner ?? null; + $repo = $path->repo ?? null; + if ($owner !== null && $repo !== null) + { + // we make sure to get only the objects + $approved = ["{$owner}.{$repo}" => $path] + $approved; + } } } - // finally we add the default - $approved[] = $default; - - return $approved; + return array_values($approved); } /** diff --git a/src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.power b/src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.power index c112c14..e2d622e 100644 --- a/src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.power +++ b/src/fa4bf18e-301e-42e3-91fb-6e0096c07adc/code.power @@ -595,29 +595,40 @@ */ protected function getApprovedpaths(): array { - $default = (object) ['owner' => 'joomla', 'repo' => 'super-powers', 'branch' => 'master']; + // some defaults repos we need by JCB + $approved = []; + $approved['joomla.super-powers'] = (object) ['owner' => 'joomla', 'repo' => 'super-powers', 'branch' => 'master']; + $approved['joomla.jcb-compiler'] = (object) ['owner' => 'joomla', 'repo' => 'jcb-compiler', 'branch' => 'master']; + $approved['joomla.phpseclib'] = (object) ['owner' => 'joomla', 'repo' => 'phpseclib', 'branch' => 'master']; + $approved['joomla.search'] = (object) ['owner' => 'joomla', 'repo' => 'search', 'branch' => 'master']; + $approved['joomla.gitea'] = (object) ['owner' => 'joomla', 'repo' => 'gitea', 'branch' => 'master']; + $approved['joomla.openai'] = (object) ['owner' => 'joomla', 'repo' => 'openai', 'branch' => 'master']; + $approved['joomla.minify'] = (object) ['owner' => 'joomla', 'repo' => 'minify', 'branch' => 'master']; + $approved['joomla.psr'] = (object) ['owner' => 'joomla', 'repo' => 'psr', 'branch' => 'master']; + $approved['joomla.fof'] = (object) ['owner' => 'joomla', 'repo' => 'fof', 'branch' => 'master']; if (!$this->add_own_powers) { - return [$default]; + return $approved; } $paths = $this->params->get('approved_paths'); - $approved = []; if (!empty($paths)) { foreach ($paths as $path) { - // we make sure to get only the objects - $approved[] = $path; + $owner = $path->owner ?? null; + $repo = $path->repo ?? null; + if ($owner !== null && $repo !== null) + { + // we make sure to get only the objects + $approved = ["{$owner}.{$repo}" => $path] + $approved; + } } } - // finally we add the default - $approved[] = $default; - - return $approved; + return array_values($approved); } /** diff --git a/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/README.md b/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/README.md deleted file mode 100644 index 13bb56e..0000000 --- a/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/README.md +++ /dev/null @@ -1,88 +0,0 @@ -``` -██████╗ ██████╗ ██╗ ██╗███████╗██████╗ -██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ -██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ -██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ -██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ -╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ -``` -# interface Mapperdoubleinterface (Details) -> namespace: **VDM\Joomla\Componentbuilder\Interfaces** -```uml -@startuml -interface Mapperdoubleinterface #Lavender { - + isActive(string $firstKey = null) : bool - + set(string $firstKey, string $secondKey, ...) : void - + get(string $firstKey, ?string $secondKey = null) : mixed - + exist(string $firstKey, ?string $secondKey = null) : bool - + add(string $firstKey, string $secondKey, ...) : void - + remove(string $firstKey, ?string $secondKey = null) : void -} - -note right of Mapperdoubleinterface::isActive - Check if any values are set in the active array. - - since: 3.2.0 - return: bool -end note - -note right of Mapperdoubleinterface::set - Set dynamic content - - since: 3.2.0 - return: void - - arguments: - string $firstKey - string $secondKey - mixed $value -end note - -note right of Mapperdoubleinterface::get - Get dynamic content - - since: 3.2.0 - return: mixed -end note - -note right of Mapperdoubleinterface::exist - Does keys exist - - since: 3.2.0 - return: bool -end note - -note right of Mapperdoubleinterface::add - Add dynamic content - - since: 3.2.0 - return: void - - arguments: - string $firstKey - string $secondKey - mixed $value - bool $array = false -end note - -note right of Mapperdoubleinterface::remove - Remove dynamic content - - since: 3.2.0 - return: void -end note - -@enduml -``` - ---- -``` - ██╗ ██████╗██████╗ - ██║██╔════╝██╔══██╗ - ██║██║ ██████╔╝ -██ ██║██║ ██╔══██╗ -╚█████╔╝╚██████╗██████╔╝ - ╚════╝ ╚═════╝╚═════╝ -``` -> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) - diff --git a/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.php b/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.php deleted file mode 100644 index 1a4cd72..0000000 --- a/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.php +++ /dev/null @@ -1,89 +0,0 @@ - - * @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\Interfaces; - - -/** - * The Double Mapper Interface - */ -interface Mapperdoubleinterface -{ - - /** - * Check if any values are set in the active array. - * - * @param string|null $firstKey Optional. The first key to check for values. - * - * @return bool True if the active array or the specified subarray is not empty, false otherwise. - * @since 3.2.0 - */ - public function isActive(string $firstKey = null): bool; - - /** - * Set dynamic content - * - * @param string $firstKey The first key - * @param string $secondKey The second key - * @param mixed $value The values to set - * - * @return void - * @since 3.2.0 - */ - public function set(string $firstKey, string $secondKey, $value): void; - - /** - * Get dynamic content - * - * @param string $firstKey The first key - * @param string|null $secondKey The second key - * - * @return mixed - * @since 3.2.0 - */ - public function get(string $firstKey, ?string $secondKey = null); - - /** - * Does keys exist - * - * @param string $firstKey The first key - * @param string|null $secondKey The second key - * - * @return bool - * @since 3.2.0 - */ - public function exist(string $firstKey, ?string $secondKey = null): bool; - - /** - * Add dynamic content - * - * @param string $firstKey The first key - * @param string $secondKey The second key - * @param mixed $value The values to set - * @param bool $array The is array switch - * - * @return void - * @since 3.2.0 - */ - public function add(string $firstKey, string $secondKey, $value, bool $array = false): void; - - /** - * Remove dynamic content - * - * @param string $firstKey The first key - * @param string|null $secondKey The second key - * - * @return void - * @since 3.2.0 - */ - public function remove(string $firstKey, ?string $secondKey = null): void; -} - diff --git a/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.power b/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.power deleted file mode 100644 index c244feb..0000000 --- a/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/code.power +++ /dev/null @@ -1 +0,0 @@ -[CUSTOMCODE=interfacesMapperDouble+,] \ No newline at end of file diff --git a/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/settings.json b/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/settings.json deleted file mode 100644 index 2a562f0..0000000 --- a/src/fbc58009-fa16-4d49-a0dd-419c3b62d42f/settings.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "add_head": "0", - "add_licensing_template": "2", - "extends": "0", - "guid": "fbc58009-fa16-4d49-a0dd-419c3b62d42f", - "implements": null, - "load_selection": null, - "name": "Mapperdoubleinterface", - "power_version": "1.0.0", - "system_name": "JCB.Interfaces.Mapperdoubleinterface", - "type": "interface", - "use_selection": null, - "namespace": "VDM\\Joomla\\Componentbuilder.Interfaces.Mapperdoubleinterface", - "description": "The Double Mapper 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": "", - "composer": "" -} \ No newline at end of file diff --git a/src/fd885c23-88dd-440a-9b05-d02a2b2962f9/README.md b/src/fd885c23-88dd-440a-9b05-d02a2b2962f9/README.md index b1f9360..bc5689c 100644 --- a/src/fd885c23-88dd-440a-9b05-d02a2b2962f9/README.md +++ b/src/fd885c23-88dd-440a-9b05-d02a2b2962f9/README.md @@ -8,7 +8,7 @@ ``` # final class OtherWhere (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class OtherWhere << (F,LightGreen) >> #RoyalBlue { diff --git a/src/fd885c23-88dd-440a-9b05-d02a2b2962f9/code.php b/src/fd885c23-88dd-440a-9b05-d02a2b2962f9/code.php index 1e3534d..85050ed 100644 --- a/src/fd885c23-88dd-440a-9b05-d02a2b2962f9/code.php +++ b/src/fd885c23-88dd-440a-9b05-d02a2b2962f9/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class OtherWhere extends StorageRegistry implements Storageregistryinterface +final class OtherWhere extends Registry implements Registryinterface { } diff --git a/src/fe87df7f-b65f-4778-8875-6122ab6b025f/README.md b/src/fe87df7f-b65f-4778-8875-6122ab6b025f/README.md index d208435..f5be7f8 100644 --- a/src/fe87df7f-b65f-4778-8875-6122ab6b025f/README.md +++ b/src/fe87df7f-b65f-4778-8875-6122ab6b025f/README.md @@ -8,7 +8,7 @@ ``` # final class Alias (Details) > namespace: **VDM\Joomla\Componentbuilder\Compiler\Builder** -> extends: **StorageRegistry** +> extends: **Registry** ```uml @startuml class Alias << (F,LightGreen) >> #RoyalBlue { diff --git a/src/fe87df7f-b65f-4778-8875-6122ab6b025f/code.php b/src/fe87df7f-b65f-4778-8875-6122ab6b025f/code.php index 7f4efc3..5fe1a59 100644 --- a/src/fe87df7f-b65f-4778-8875-6122ab6b025f/code.php +++ b/src/fe87df7f-b65f-4778-8875-6122ab6b025f/code.php @@ -12,8 +12,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; -use VDM\Joomla\Interfaces\Storageregistryinterface; -use VDM\Joomla\Abstraction\StorageRegistry; +use VDM\Joomla\Interfaces\Registryinterface; +use VDM\Joomla\Abstraction\Registry; /** @@ -21,7 +21,7 @@ use VDM\Joomla\Abstraction\StorageRegistry; * * @since 3.2.0 */ -final class Alias extends StorageRegistry implements Storageregistryinterface +final class Alias extends Registry implements Registryinterface { } diff --git a/src/ff5e9e63-86d0-4691-ab59-d4b9d9154096/code.php b/src/ff5e9e63-86d0-4691-ab59-d4b9d9154096/code.php index a3f606f..dc4c2ab 100644 --- a/src/ff5e9e63-86d0-4691-ab59-d4b9d9154096/code.php +++ b/src/ff5e9e63-86d0-4691-ab59-d4b9d9154096/code.php @@ -74,13 +74,13 @@ class Plantuml $plant_uml = "\n $type_label $class_name $type_tag #$class_color {\n"; // Add properties - if ($code['properties']) + if (isset($code['properties']) && is_array($code['properties'])) { $plant_uml .= $this->generatePropertiesPlantUML($code['properties'], ' '); } // Add methods - if ($code['methods']) + if (isset($code['methods']) && is_array($code['methods'])) { $plant_uml .= $this->generateBasicMethodsPlantUML($code['methods']); } @@ -118,13 +118,13 @@ class Plantuml $plant_uml = "\n$type_label $class_name $type_tag #$class_color {\n"; // Add properties - if ($code['properties']) + if (isset($code['properties']) && is_array($code['properties'])) { $plant_uml .= $this->generatePropertiesPlantUML($code['properties'], ' '); } // Add methods - if ($code['methods']) + if (isset($code['methods']) && is_array($code['methods'])) { list($methods_plant_uml, $notes) = $this->generateDetailedMethodsPlantUML($code['methods'], $class_name); $plant_uml .= $methods_plant_uml; diff --git a/src/ff5e9e63-86d0-4691-ab59-d4b9d9154096/code.power b/src/ff5e9e63-86d0-4691-ab59-d4b9d9154096/code.power index e3ee15a..ee3bd2a 100644 --- a/src/ff5e9e63-86d0-4691-ab59-d4b9d9154096/code.power +++ b/src/ff5e9e63-86d0-4691-ab59-d4b9d9154096/code.power @@ -54,13 +54,13 @@ $plant_uml = "\n $type_label $class_name $type_tag #$class_color {\n"; // Add properties - if ($code['properties']) + if (isset($code['properties']) && is_array($code['properties'])) { $plant_uml .= $this->generatePropertiesPlantUML($code['properties'], ' '); } // Add methods - if ($code['methods']) + if (isset($code['methods']) && is_array($code['methods'])) { $plant_uml .= $this->generateBasicMethodsPlantUML($code['methods']); } @@ -98,13 +98,13 @@ $plant_uml = "\n$type_label $class_name $type_tag #$class_color {\n"; // Add properties - if ($code['properties']) + if (isset($code['properties']) && is_array($code['properties'])) { $plant_uml .= $this->generatePropertiesPlantUML($code['properties'], ' '); } // Add methods - if ($code['methods']) + if (isset($code['methods']) && is_array($code['methods'])) { list($methods_plant_uml, $notes) = $this->generateDetailedMethodsPlantUML($code['methods'], $class_name); $plant_uml .= $methods_plant_uml; diff --git a/super-powers.json b/super-powers.json index ee0d69a..dd7f034 100644 --- a/super-powers.json +++ b/super-powers.json @@ -417,17 +417,6 @@ "spk": "Super__20ed72b0_fcac_4344_aee1_8a65e3bf221d__Power", "guid": "20ed72b0-fcac-4344-aee1-8a65e3bf221d" }, - "23f2ca33-440a-4941-8e9a-4bc67522c0cb": { - "name": "Mapper", - "type": "class", - "namespace": "VDM\\Joomla\\Componentbuilder\\Compiler\\Service", - "code": "src\/23f2ca33-440a-4941-8e9a-4bc67522c0cb\/code.php", - "power": "src\/23f2ca33-440a-4941-8e9a-4bc67522c0cb\/code.power", - "settings": "src\/23f2ca33-440a-4941-8e9a-4bc67522c0cb\/settings.json", - "path": "src\/23f2ca33-440a-4941-8e9a-4bc67522c0cb", - "spk": "Super__23f2ca33_440a_4941_8e9a_4bc67522c0cb__Power", - "guid": "23f2ca33-440a-4941-8e9a-4bc67522c0cb" - }, "24da9672-e47f-4bb1-b6c0-0ebfc17f0957": { "name": "CoreValidation", "type": "class", @@ -1099,6 +1088,17 @@ "spk": "Super__5e3d856d_8174_4131_b4e9_9328066438e1__Power", "guid": "5e3d856d-8174-4131-b4e9-9328066438e1" }, + "5f57ff1a-c196-45b1-a2ac-33766b44fb95": { + "name": "ContentMulti", + "type": "class", + "namespace": "VDM\\Joomla\\Componentbuilder\\Compiler\\Builder", + "code": "src\/5f57ff1a-c196-45b1-a2ac-33766b44fb95\/code.php", + "power": "src\/5f57ff1a-c196-45b1-a2ac-33766b44fb95\/code.power", + "settings": "src\/5f57ff1a-c196-45b1-a2ac-33766b44fb95\/settings.json", + "path": "src\/5f57ff1a-c196-45b1-a2ac-33766b44fb95", + "spk": "Super__5f57ff1a_c196_45b1_a2ac_33766b44fb95__Power", + "guid": "5f57ff1a-c196-45b1-a2ac-33766b44fb95" + }, "5f8e8fa6-3793-44af-882d-9cfb209434e9": { "name": "Customalias", "type": "class", @@ -1341,17 +1341,6 @@ "spk": "Super__766a9524_37df_4604_91a7_b98a6150ee26__Power", "guid": "766a9524-37df-4604-91a7-b98a6150ee26" }, - "78527c29-24ad-4735-ad4c-ec33a4952d9b": { - "name": "Mappersingleinterface", - "type": "interface", - "namespace": "VDM\\Joomla\\Componentbuilder\\Interfaces", - "code": "src\/78527c29-24ad-4735-ad4c-ec33a4952d9b\/code.php", - "power": "src\/78527c29-24ad-4735-ad4c-ec33a4952d9b\/code.power", - "settings": "src\/78527c29-24ad-4735-ad4c-ec33a4952d9b\/settings.json", - "path": "src\/78527c29-24ad-4735-ad4c-ec33a4952d9b", - "spk": "Super__78527c29_24ad_4735_ad4c_ec33a4952d9b__Power", - "guid": "78527c29-24ad-4735-ad4c-ec33a4952d9b" - }, "79739667-72c6-4576-9830-7b1eb92e4791": { "name": "FieldsetXML", "type": "final class", @@ -2057,9 +2046,9 @@ "guid": "ac691a05-5630-4002-b166-dedec3fb0fcb" }, "adfbe68a-6d22-43e5-aee8-2787e8c47e75": { - "name": "Content", + "name": "ContentOne", "type": "class", - "namespace": "VDM\\Joomla\\Componentbuilder\\Compiler", + "namespace": "VDM\\Joomla\\Componentbuilder\\Compiler\\Builder", "code": "src\/adfbe68a-6d22-43e5-aee8-2787e8c47e75\/code.php", "power": "src\/adfbe68a-6d22-43e5-aee8-2787e8c47e75\/code.power", "settings": "src\/adfbe68a-6d22-43e5-aee8-2787e8c47e75\/settings.json", @@ -3013,17 +3002,6 @@ "spk": "Super__fa8c1125_d370_4cb6_a7ff_eb32193c198c__Power", "guid": "fa8c1125-d370-4cb6-a7ff-eb32193c198c" }, - "fbc58009-fa16-4d49-a0dd-419c3b62d42f": { - "name": "Mapperdoubleinterface", - "type": "interface", - "namespace": "VDM\\Joomla\\Componentbuilder\\Interfaces", - "code": "src\/fbc58009-fa16-4d49-a0dd-419c3b62d42f\/code.php", - "power": "src\/fbc58009-fa16-4d49-a0dd-419c3b62d42f\/code.power", - "settings": "src\/fbc58009-fa16-4d49-a0dd-419c3b62d42f\/settings.json", - "path": "src\/fbc58009-fa16-4d49-a0dd-419c3b62d42f", - "spk": "Super__fbc58009_fa16_4d49_a0dd_419c3b62d42f__Power", - "guid": "fbc58009-fa16-4d49-a0dd-419c3b62d42f" - }, "fd885c23-88dd-440a-9b05-d02a2b2962f9": { "name": "OtherWhere", "type": "final class",