diff --git a/README.md b/README.md index 8055bcd..b21d7c8 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ This repository contains an index (see below) of all the approved powers within - **interface ItemInterface** | [Details](src/05744dd3-4030-4cf8-8dda-a93ab809b473) | [Code](src/05744dd3-4030-4cf8-8dda-a93ab809b473/code.php) | [Settings](src/05744dd3-4030-4cf8-8dda-a93ab809b473/settings.json) | Super__05744dd3_4030_4cf8_8dda_a93ab809b473__Power - **interface ItemsInterface** | [Details](src/7212e4db-371f-4cfd-8122-32e9bb100d83) | [Code](src/7212e4db-371f-4cfd-8122-32e9bb100d83/code.php) | [Settings](src/7212e4db-371f-4cfd-8122-32e9bb100d83/settings.json) | Super__7212e4db_371f_4cfd_8122_32e9bb100d83__Power - **interface LoadInterface** | [Details](src/c548640c-a461-4424-9ac5-8dfb5ed06d8d) | [Code](src/c548640c-a461-4424-9ac5-8dfb5ed06d8d/code.php) | [Settings](src/c548640c-a461-4424-9ac5-8dfb5ed06d8d/settings.json) | Super__c548640c_a461_4424_9ac5_8dfb5ed06d8d__Power + - **interface MultiSubformInterface** | [Details](src/bb30f709-53d2-446a-ab3d-300fe6de0bc8) | [Code](src/bb30f709-53d2-446a-ab3d-300fe6de0bc8/code.php) | [Settings](src/bb30f709-53d2-446a-ab3d-300fe6de0bc8/settings.json) | Super__bb30f709_53d2_446a_ab3d_300fe6de0bc8__Power - **interface RemoteInterface** | [Details](src/51de80f2-2868-4c2c-8198-ef79349e9bd7) | [Code](src/51de80f2-2868-4c2c-8198-ef79349e9bd7/code.php) | [Settings](src/51de80f2-2868-4c2c-8198-ef79349e9bd7/settings.json) | Super__51de80f2_2868_4c2c_8198_ef79349e9bd7__Power - **interface SubformInterface** | [Details](src/34959721-415b-4b5e-8002-3d1fc84b3b2b) | [Code](src/34959721-415b-4b5e-8002-3d1fc84b3b2b/code.php) | [Settings](src/34959721-415b-4b5e-8002-3d1fc84b3b2b/settings.json) | Super__34959721_415b_4b5e_8002_3d1fc84b3b2b__Power - **interface UpdateInterface** | [Details](src/68a41264-64c0-441a-a3d8-8a5e557b1883) | [Code](src/68a41264-64c0-441a-a3d8-8a5e557b1883/code.php) | [Settings](src/68a41264-64c0-441a-a3d8-8a5e557b1883/settings.json) | Super__68a41264_64c0_441a_a3d8_8a5e557b1883__Power diff --git a/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/README.md b/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/README.md index 453044c..e8464e9 100644 --- a/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/README.md +++ b/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/README.md @@ -13,7 +13,7 @@ @startuml class MultiSubform << (F,LightGreen) >> #RoyalBlue { # Subform $subform - + __construct(Items $subform) + + __construct(Subform $subform) + get(array $getMap) : ?array + set(array $items, array $setMap) : bool - getSubformData(array $map, ?array $coreData = null) : ?array diff --git a/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/code.php b/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/code.php index 9e70752..56b66a1 100644 --- a/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/code.php +++ b/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/code.php @@ -13,6 +13,7 @@ namespace VDM\Joomla\Data; use VDM\Joomla\Interfaces\Data\SubformInterface as Subform; +use VDM\Joomla\Interfaces\Data\MultiSubformInterface; /** @@ -20,7 +21,7 @@ use VDM\Joomla\Interfaces\Data\SubformInterface as Subform; * * @since 3.2.2 */ -final class MultiSubform +final class MultiSubform implements MultiSubformInterface { /** * The Subform Class. @@ -37,7 +38,7 @@ final class MultiSubform * * @since 3.2.2 */ - public function __construct(Items $subform) + public function __construct(Subform $subform) { $this->subform = $subform; } diff --git a/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/code.power b/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/code.power index de8a42b..7314d00 100644 --- a/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/code.power +++ b/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/code.power @@ -13,7 +13,7 @@ * * @since 3.2.2 */ - public function __construct(Items $subform) + public function __construct(Subform $subform) { $this->subform = $subform; } diff --git a/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/settings.json b/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/settings.json index 37b0877..338fd84 100644 --- a/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/settings.json +++ b/src/e0198c3f-777a-4a0b-87b7-e6a198afc8f9/settings.json @@ -3,7 +3,9 @@ "add_licensing_template": "2", "extends": "", "guid": "e0198c3f-777a-4a0b-87b7-e6a198afc8f9", - "implements": null, + "implements": [ + "bb30f709-53d2-446a-ab3d-300fe6de0bc8" + ], "load_selection": null, "name": "MultiSubform", "power_version": "1.0.0", diff --git a/super-powers.json b/super-powers.json index 5d3e211..e5d03ce 100644 --- a/super-powers.json +++ b/super-powers.json @@ -670,6 +670,17 @@ "spk": "Super__bb29a833_73f7_4283_9327_bc7e41f0723b__Power", "guid": "bb29a833-73f7-4283-9327-bc7e41f0723b" }, + "bb30f709-53d2-446a-ab3d-300fe6de0bc8": { + "name": "MultiSubformInterface", + "type": "interface", + "namespace": "VDM\\Joomla\\Interfaces\\Data", + "code": "src\/bb30f709-53d2-446a-ab3d-300fe6de0bc8\/code.php", + "power": "src\/bb30f709-53d2-446a-ab3d-300fe6de0bc8\/code.power", + "settings": "src\/bb30f709-53d2-446a-ab3d-300fe6de0bc8\/settings.json", + "path": "src\/bb30f709-53d2-446a-ab3d-300fe6de0bc8", + "spk": "Super__bb30f709_53d2_446a_ab3d_300fe6de0bc8__Power", + "guid": "bb30f709-53d2-446a-ab3d-300fe6de0bc8" + }, "bfd1d6d5-56c1-4fe9-9fee-1c5910e1f5d8": { "name": "Table", "type": "final class",