From e9484fedf5256ef7d7a157ca63e9743b3a8e2ae7 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:15 +0000 Subject: [PATCH 01/11] Create Joomla.File.Type settings --- .../settings.json | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/settings.json diff --git a/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/settings.json b/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/settings.json new file mode 100644 index 0000000..268e722 --- /dev/null +++ b/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/settings.json @@ -0,0 +1,24 @@ +{ + "add_head": "0", + "description": "File Type Class\r\n\r\n@since 5.0.2", + "extends": "", + "extendsinterfaces": null, + "extendsinterfaces_custom": "", + "guid": "12a2a8de-a893-4dbb-a53d-b52de4f6cb0e", + "head": "", + "use_selection": { + "use_selection0": { + "use": "05744dd3-4030-4cf8-8dda-a93ab809b473", + "as": "Item" + } + }, + "load_selection": null, + "name": "Type", + "power_version": "1.0.0", + "system_name": "Joomla.File.Type", + "type": "final class", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].File.Type", + "composer": "", + "add_licensing_template": "2", + "licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 3rd September, 2020\r\n * @author Llewellyn van der Merwe \r\n * @git Joomla Component Builder \r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n" +} \ No newline at end of file -- 2.45.2 From 4ed8782189493d5694a98d46b5f393f52dbd2e60 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:16 +0000 Subject: [PATCH 02/11] Create Joomla.File.Type code --- .../code.power | 147 ++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/code.power diff --git a/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/code.power b/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/code.power new file mode 100644 index 0000000..747601c --- /dev/null +++ b/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/code.power @@ -0,0 +1,147 @@ + /** + * The Item Class. + * + * @var Item + * @since 5.0.2 + */ + protected Item $item; + + /** + * The File Types + * + * @var string + * @since 5.0.2 + */ + protected string $fileTypes = [1 => 'image' , 2 => 'document' , 3 => 'media', 4 => 'file']; + + /** + * Constructor. + * + * @param Item $item The Item Class. + * + * @since 5.0.2 + */ + public function __construct(Item $item) + { + $this->item = $item; + } + + /** + * Retrieves the file type details (ajax) + * + * @param string $guid The GUID (Globally Unique Identifier) used as the key to retrieve the file type. + * + * @return array|null The item object if found, or null if the item does not exist. + * @since 5.0.2 + */ + public function get(string $guid): ?array + { + if (($fileType = $this->details($guid)) !== null) + { + return [ + 'name' => $this->getFieldName($fileType), + 'allow' => $this->getAllow($fileType), + 'allow_span' => $this->getAllowSpan($fileType), + 'file_type_span' => $fileType->name ?? 'file', + 'display_fields' => $fileType->display_fields ?? null, + 'param_fields' => $fileType->param_fields ?? null, + ]; + } + + return null; + } + + /** + * Retrieves the file type details + * + * @param string $guid The GUID (Globally Unique Identifier) used as the key to retrieve the file type. + * + * @return object|null The item object if found, or null if the item does not exist. + * @since 5.0.2 + */ + public function details(string $guid): ?object + { + return $this->item->table('file_type')->get($guid); + } + + /** + * Retrieves the field name + * + * @param array $data The type data array + * + * @return string The field name + * @since 5.0.2 + */ + protected function getFieldName(array $data): string + { + $type = data->type ?? 4; + if (isset($this->fileTypes[$type])) + { + return $this->fileTypes[$type]; + } + return 'file'; + } + + /** + * Retrieves the allow formats (for script) + * + * @param array $data The type data array + * + * @return string The allow values + * @since 5.0.2 + */ + protected function getAllow(array $data): string + { + $formats = $this->getAllowFormats($data); + if (!empty($formats)) + { + return '*.(' . implode('|', $formats) . ')'; + } + return ''; + } + + /** + * Retrieves the allow formats (for span) + * + * @param array $data The type data array + * + * @return string The allow values + * @since 5.0.2 + */ + protected function getAllowSpan(array $data): string + { + $formats = $this->getAllowFormats($data); + if (!empty($formats)) + { + return '(formats allowed: ' . implode(', ', $formats) . ')'; + } + return ''; + } + + /** + * Retrieves the allow formats + * + * @param array|null $data The type data array + * + * @return array|null The allow values + * @since 5.0.2 + */ + protected function getAllowFormats(array $data): ?array + { + $type = data->type ?? 4; + switch ($type) + { + case 1: + return $data->image_formats ?? null; + break; + case 2: + return $data->document_formats ?? null; + break; + case 3: + return $data->media_formats ?? null; + break; + default: + return $data->file_formats ?? null; + break; + } + } \ No newline at end of file -- 2.45.2 From fe9eb529125e2d436f43914505252f40e1de0655 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:17 +0000 Subject: [PATCH 03/11] Create Joomla.File.Type readme file --- .../README.md | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/README.md diff --git a/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/README.md b/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/README.md new file mode 100644 index 0000000..01e8ba4 --- /dev/null +++ b/src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/README.md @@ -0,0 +1,101 @@ +``` +██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ +██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ +██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ +██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ +╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ +``` +# final class Type (Details) +> namespace: **VDM\Joomla\Componentbuilder\File** + +```uml +@startuml +class Type << (F,LightGreen) >> #RoyalBlue { + # Item $item + # string $fileTypes + + __construct(Item $item) + + get(string $guid) : ?array + + details(string $guid) : ?object + # getFieldName(array $data) : string + # getAllow(array $data) : string + # getAllowSpan(array $data) : string + # getAllowFormats(array $data) : ?array +} + +note right of Type::__construct + Constructor. + + since: 5.0.2 +end note + +note right of Type::get + Retrieves the file type details (ajax) + + since: 5.0.2 + return: ?array +end note + +note right of Type::details + Retrieves the file type details + + since: 5.0.2 + return: ?object +end note + +note right of Type::getFieldName + Retrieves the field name + + since: 5.0.2 + return: string +end note + +note right of Type::getAllow + Retrieves the allow formats (for script) + + since: 5.0.2 + return: string +end note + +note right of Type::getAllowSpan + Retrieves the allow formats (for span) + + since: 5.0.2 + return: string +end note + +note right of Type::getAllowFormats + Retrieves the allow formats + + since: 5.0.2 + return: ?array +end note + +@enduml +``` + +The Power feature in JCB allows you to write PHP classes and their implementations, making it easy to include them in your Joomla project. JCB handles linking, autoloading, namespacing, and folder structure creation for you. + +By using the SPK (Super Power Key) in your custom code (replacing the class name in your code with the SPK), JCB will automatically pull the power from the repository into your project. This makes it available in your JCB instance, allowing you to edit it and include the class in your generated Joomla component. + +JCB uses placeholders like [[[`NamespacePrefix`]]] and [[[`ComponentNamespace`]]] in namespacing to prevent collisions and improve reusability across different JCB systems. You can also set the **JCB powers path** globally or per component under the **Dynamic Integration** tab, providing flexibility and easy maintainability. + +To add this specific Power to your project in JCB: + +> simply use this SPK +``` +Super---12a2a8de_a893_4dbb_a53d_b52de4f6cb0e---Power +``` +> remember to replace the `---` with `___` to activate this Power in your code + +--- +``` + ██╗ ██████╗██████╗ + ██║██╔════╝██╔══██╗ + ██║██║ ██████╔╝ +██ ██║██║ ██╔══██╗ +╚█████╔╝╚██████╗██████╔╝ + ╚════╝ ╚═════╝╚═════╝ +``` +> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) + -- 2.45.2 From 2def5c21bff408c46eb00efad9d80bd8469f457b Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:19 +0000 Subject: [PATCH 04/11] Create JCB.File.Service.File settings --- .../settings.json | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/settings.json diff --git a/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/settings.json b/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/settings.json new file mode 100644 index 0000000..160313b --- /dev/null +++ b/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/settings.json @@ -0,0 +1,27 @@ +{ + "add_head": "1", + "description": "File Service Provider\r\n\r\n@since 5.0.3", + "extends": "", + "extendsinterfaces": null, + "extendsinterfaces_custom": "", + "guid": "202ccd9e-dfcf-4cde-a0ce-bde1fd27f088", + "head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;", + "use_selection": { + "use_selection0": { + "use": "12a2a8de-a893-4dbb-a53d-b52de4f6cb0e", + "as": "default" + } + }, + "implements": [ + "-1" + ], + "load_selection": null, + "name": "File", + "power_version": "1.0.0", + "system_name": "JCB.File.Service.File", + "type": "class", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].File.Service.File", + "composer": "", + "add_licensing_template": "2", + "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" +} \ No newline at end of file -- 2.45.2 From 5aedc965ce19a64195debe27214c0fb686eaa790 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:20 +0000 Subject: [PATCH 05/11] Create JCB.File.Service.File code --- .../code.power | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/code.power diff --git a/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/code.power b/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/code.power new file mode 100644 index 0000000..0b1aed5 --- /dev/null +++ b/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/code.power @@ -0,0 +1,28 @@ + /** + * Registers the service provider with a DI container. + * + * @param Container $container The DI container. + * + * @return void + * @since 5.0.3 + */ + public function register(Container $container) + { + $container->alias(FileType::class, 'File.Type') + ->share('File.Type', [$this, 'getFileType'], true); + } + + /** + * Get The File Type Class. + * + * @param Container $container The DI container. + * + * @return FileType + * @since 5.0.3 + */ + public function getFileType(Container $container): FileType + { + return new FileType( + $container->get('Data.Item') + ); + } \ No newline at end of file -- 2.45.2 From c1a0933151e575b9d9fca23e1fb78cfd662976b2 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:21 +0000 Subject: [PATCH 06/11] Create JCB.File.Service.File readme file --- .../README.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/README.md diff --git a/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/README.md b/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/README.md new file mode 100644 index 0000000..88cb2ea --- /dev/null +++ b/src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/README.md @@ -0,0 +1,60 @@ +``` +██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ +██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ +██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ +██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ +╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ +``` +# class File (Details) +> namespace: **VDM\Joomla\Componentbuilder\File\Service** + +```uml +@startuml +class File #Gold { + + register(Container $container) : void + + getFileType(Container $container) : FileType +} + +note right of File::register + Registers the service provider with a DI container. + + since: 5.0.3 + return: void +end note + +note right of File::getFileType + Get The File Type Class. + + since: 5.0.3 + return: FileType +end note + +@enduml +``` + +The Power feature in JCB allows you to write PHP classes and their implementations, making it easy to include them in your Joomla project. JCB handles linking, autoloading, namespacing, and folder structure creation for you. + +By using the SPK (Super Power Key) in your custom code (replacing the class name in your code with the SPK), JCB will automatically pull the power from the repository into your project. This makes it available in your JCB instance, allowing you to edit it and include the class in your generated Joomla component. + +JCB uses placeholders like [[[`NamespacePrefix`]]] and [[[`ComponentNamespace`]]] in namespacing to prevent collisions and improve reusability across different JCB systems. You can also set the **JCB powers path** globally or per component under the **Dynamic Integration** tab, providing flexibility and easy maintainability. + +To add this specific Power to your project in JCB: + +> simply use this SPK +``` +Super---202ccd9e_dfcf_4cde_a0ce_bde1fd27f088---Power +``` +> remember to replace the `---` with `___` to activate this Power in your code + +--- +``` + ██╗ ██████╗██████╗ + ██║██╔════╝██╔══██╗ + ██║██║ ██████╔╝ +██ ██║██║ ██╔══██╗ +╚█████╔╝╚██████╗██████╔╝ + ╚════╝ ╚═════╝╚═════╝ +``` +> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) + -- 2.45.2 From f88517016c88c570d695f6887819e85a83a41f65 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:23 +0000 Subject: [PATCH 07/11] Create JCB.File.Factory settings --- .../settings.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/884eca78-281f-4eab-b962-d97e355af16d/settings.json diff --git a/src/884eca78-281f-4eab-b962-d97e355af16d/settings.json b/src/884eca78-281f-4eab-b962-d97e355af16d/settings.json new file mode 100644 index 0000000..cb2db2a --- /dev/null +++ b/src/884eca78-281f-4eab-b962-d97e355af16d/settings.json @@ -0,0 +1,42 @@ +{ + "add_head": "1", + "description": "File Factory\r\n\r\n@since 5.0.2", + "extendsinterfaces": null, + "extendsinterfaces_custom": "", + "guid": "884eca78-281f-4eab-b962-d97e355af16d", + "head": "use Joomla\\DI\\Container;", + "use_selection": { + "use_selection0": { + "use": "19b2ba92-1655-4384-acfb-979c80de8b6d", + "as": "default" + }, + "use_selection1": { + "use": "4815e1c7-a433-443d-a112-d1e03d7df84b", + "as": "default" + }, + "use_selection2": { + "use": "2dcedd6c-c95b-4a37-9cac-95d28faedca3", + "as": "default" + }, + "use_selection3": { + "use": "a5daf189-3345-4b13-8716-c51f686f545b", + "as": "default" + }, + "use_selection4": { + "use": "202ccd9e-dfcf-4cde-a0ce-bde1fd27f088", + "as": "default" + } + }, + "implements": [ + "caf33c5d-858c-4f9a-894f-ab302ec5445a" + ], + "load_selection": null, + "name": "Factory", + "power_version": "1.0.0", + "system_name": "JCB.File.Factory", + "type": "abstract class", + "namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].File.Factory", + "composer": "", + "add_licensing_template": "2", + "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" +} \ No newline at end of file -- 2.45.2 From 362d5822a9b66bdd92a8bdff4fc9654d478be0c5 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:25 +0000 Subject: [PATCH 08/11] Create JCB.File.Factory code --- .../code.power | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/884eca78-281f-4eab-b962-d97e355af16d/code.power diff --git a/src/884eca78-281f-4eab-b962-d97e355af16d/code.power b/src/884eca78-281f-4eab-b962-d97e355af16d/code.power new file mode 100644 index 0000000..7f08cac --- /dev/null +++ b/src/884eca78-281f-4eab-b962-d97e355af16d/code.power @@ -0,0 +1,15 @@ + /** + * Create a container object + * + * @return Container + * @since 3.2.2 + */ + protected static function createContainer(): Container + { + return (new Container()) + ->registerServiceProvider(new Table()) + ->registerServiceProvider(new Database()) + ->registerServiceProvider(new Model()) + ->registerServiceProvider(new Data()) + ->registerServiceProvider(new File()); + } \ No newline at end of file -- 2.45.2 From a0f2068649787d975027d150f448e790461846ff Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:26 +0000 Subject: [PATCH 09/11] Create JCB.File.Factory readme file --- .../README.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/884eca78-281f-4eab-b962-d97e355af16d/README.md diff --git a/src/884eca78-281f-4eab-b962-d97e355af16d/README.md b/src/884eca78-281f-4eab-b962-d97e355af16d/README.md new file mode 100644 index 0000000..f96b134 --- /dev/null +++ b/src/884eca78-281f-4eab-b962-d97e355af16d/README.md @@ -0,0 +1,53 @@ +``` +██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗ +██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝ +██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗ +██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║ +╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ +``` +# abstract class Factory (Details) +> namespace: **VDM\Joomla\Componentbuilder\File** +> extends: **Factory** + +```uml +@startuml +abstract Factory #Orange { + # {static} createContainer() : Container +} + +note right of Factory::createContainer + Create a container object + + since: 3.2.2 + return: Container +end note + +@enduml +``` + +The Power feature in JCB allows you to write PHP classes and their implementations, making it easy to include them in your Joomla project. JCB handles linking, autoloading, namespacing, and folder structure creation for you. + +By using the SPK (Super Power Key) in your custom code (replacing the class name in your code with the SPK), JCB will automatically pull the power from the repository into your project. This makes it available in your JCB instance, allowing you to edit it and include the class in your generated Joomla component. + +JCB uses placeholders like [[[`NamespacePrefix`]]] and [[[`ComponentNamespace`]]] in namespacing to prevent collisions and improve reusability across different JCB systems. You can also set the **JCB powers path** globally or per component under the **Dynamic Integration** tab, providing flexibility and easy maintainability. + +To add this specific Power to your project in JCB: + +> simply use this SPK +``` +Super---884eca78_281f_4eab_b962_d97e355af16d---Power +``` +> remember to replace the `---` with `___` to activate this Power in your code + +--- +``` + ██╗ ██████╗██████╗ + ██║██╔════╝██╔══██╗ + ██║██║ ██████╔╝ +██ ██║██║ ██╔══██╗ +╚█████╔╝╚██████╗██████╔╝ + ╚════╝ ╚═════╝╚═════╝ +``` +> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder) + -- 2.45.2 From 27c545c491dc7b4de4f8182dcaa983f5d9155348 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:29 +0000 Subject: [PATCH 10/11] Update main index file --- super-powers.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/super-powers.json b/super-powers.json index d36b97e..d6fd5a6 100644 --- a/super-powers.json +++ b/super-powers.json @@ -1043,5 +1043,38 @@ "path": "src\/ffbd4e1f-a342-4080-ab7d-1de3741bf319", "spk": "Super---ffbd4e1f_a342_4080_ab7d_1de3741bf319---Power", "guid": "ffbd4e1f-a342-4080-ab7d-1de3741bf319" + }, + "12a2a8de-a893-4dbb-a53d-b52de4f6cb0e": { + "name": "Type", + "type": "final class", + "namespace": "VDM\\Joomla\\Componentbuilder\\File", + "code": "src\/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e\/code.php", + "power": "src\/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e\/code.power", + "settings": "src\/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e\/settings.json", + "path": "src\/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e", + "spk": "Super---12a2a8de_a893_4dbb_a53d_b52de4f6cb0e---Power", + "guid": "12a2a8de-a893-4dbb-a53d-b52de4f6cb0e" + }, + "202ccd9e-dfcf-4cde-a0ce-bde1fd27f088": { + "name": "File", + "type": "class", + "namespace": "VDM\\Joomla\\Componentbuilder\\File\\Service", + "code": "src\/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088\/code.php", + "power": "src\/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088\/code.power", + "settings": "src\/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088\/settings.json", + "path": "src\/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088", + "spk": "Super---202ccd9e_dfcf_4cde_a0ce_bde1fd27f088---Power", + "guid": "202ccd9e-dfcf-4cde-a0ce-bde1fd27f088" + }, + "884eca78-281f-4eab-b962-d97e355af16d": { + "name": "Factory", + "type": "abstract class", + "namespace": "VDM\\Joomla\\Componentbuilder\\File", + "code": "src\/884eca78-281f-4eab-b962-d97e355af16d\/code.php", + "power": "src\/884eca78-281f-4eab-b962-d97e355af16d\/code.power", + "settings": "src\/884eca78-281f-4eab-b962-d97e355af16d\/settings.json", + "path": "src\/884eca78-281f-4eab-b962-d97e355af16d", + "spk": "Super---884eca78_281f_4eab_b962_d97e355af16d---Power", + "guid": "884eca78-281f-4eab-b962-d97e355af16d" } } \ No newline at end of file -- 2.45.2 From c1a5b59714de94db7a35f0e1370b32dea7fdbdf2 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:32 +0000 Subject: [PATCH 11/11] Update main readme file --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 7fabb2d..c4e10cb 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,10 @@ This repository contains an index (see below) of all the approved powers within - **Namespace**: [VDM\Joomla\Componentbuilder\Abstraction](#vdm-joomla-componentbuilder-abstraction) - **abstract class BaseRegistry** | [Details](src/b84e947d-2a13-44f7-ac0f-3902ae55ae0c) | [Code](src/b84e947d-2a13-44f7-ac0f-3902ae55ae0c/code.php) | [Settings](src/b84e947d-2a13-44f7-ac0f-3902ae55ae0c/settings.json) | SPK: `Super---b84e947d_2a13_44f7_ac0f_3902ae55ae0c---Power` +- **Namespace**: [VDM\Joomla\Componentbuilder\File](#vdm-joomla-componentbuilder-file) + + - **abstract class Factory** | [Details](src/884eca78-281f-4eab-b962-d97e355af16d) | [Code](src/884eca78-281f-4eab-b962-d97e355af16d/code.php) | [Settings](src/884eca78-281f-4eab-b962-d97e355af16d/settings.json) | SPK: `Super---884eca78_281f_4eab_b962_d97e355af16d---Power` + - **final class Type** | [Details](src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e) | [Code](src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/code.php) | [Settings](src/12a2a8de-a893-4dbb-a53d-b52de4f6cb0e/settings.json) | SPK: `Super---12a2a8de_a893_4dbb_a53d_b52de4f6cb0e---Power` - **Namespace**: [VDM\Joomla\Componentbuilder\Table](#vdm-joomla-componentbuilder-table) - **final class Schema** | [Details](src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce) | [Code](src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/code.php) | [Settings](src/b3d2ec33-76d4-4c3b-bb2c-86ac14a221ce/settings.json) | SPK: `Super---b3d2ec33_76d4_4c3b_bb2c_86ac14a221ce---Power` @@ -156,6 +160,9 @@ This repository contains an index (see below) of all the approved powers within - **trait IsString** | [Details](src/ff7d0111-8f79-42aa-ac14-b53ba2c49369) | [Code](src/ff7d0111-8f79-42aa-ac14-b53ba2c49369/code.php) | [Settings](src/ff7d0111-8f79-42aa-ac14-b53ba2c49369/settings.json) | SPK: `Super---ff7d0111_8f79_42aa_ac14_b53ba2c49369---Power` - **trait ToString** | [Details](src/7d494d91-ab60-43cd-aecf-d50e07f7f30e) | [Code](src/7d494d91-ab60-43cd-aecf-d50e07f7f30e/code.php) | [Settings](src/7d494d91-ab60-43cd-aecf-d50e07f7f30e/settings.json) | SPK: `Super---7d494d91_ab60_43cd_aecf_d50e07f7f30e---Power` - **trait VarExport** | [Details](src/52a1d14f-304a-431c-8fa4-411179942db5) | [Code](src/52a1d14f-304a-431c-8fa4-411179942db5/code.php) | [Settings](src/52a1d14f-304a-431c-8fa4-411179942db5/settings.json) | SPK: `Super---52a1d14f_304a_431c_8fa4_411179942db5---Power` +- **Namespace**: [VDM\Joomla\Componentbuilder\File\Service](#vdm-joomla-componentbuilder-file-service) + + - **class File** | [Details](src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088) | [Code](src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/code.php) | [Settings](src/202ccd9e-dfcf-4cde-a0ce-bde1fd27f088/settings.json) | SPK: `Super---202ccd9e_dfcf_4cde_a0ce_bde1fd27f088---Power` - **Namespace**: [VDM\Joomla\Componentbuilder\Utilities\Exception](#vdm-joomla-componentbuilder-utilities-exception) - **class NoUserIdFoundException** | [Details](src/1c10a5f1-204d-4f17-ad9f-0e0684f2030d) | [Code](src/1c10a5f1-204d-4f17-ad9f-0e0684f2030d/code.php) | [Settings](src/1c10a5f1-204d-4f17-ad9f-0e0684f2030d/settings.json) | SPK: `Super---1c10a5f1_204d_4f17_ad9f_0e0684f2030d---Power` -- 2.45.2