diff --git a/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.php b/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.php index 6486921..bf6f0d8 100644 --- a/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.php +++ b/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.php @@ -88,7 +88,8 @@ class Autoloader */ public function set() { - if (ArrayHelper::check($this->power->namespace)) + // make sure we only load this once + if (ArrayHelper::check($this->power->namespace) && !$this->content->isString('CUSTOM_POWER_AUTOLOADER')) { /************************* IMPORTANT SORT NOTICE *********************************************** * make sure the name space values are sorted from the longest string to the shortest diff --git a/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.power b/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.power index 3d14913..0c64ea2 100644 --- a/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.power +++ b/src/6e64917c-d687-4ef3-a655-811319f5a81e/code.power @@ -59,7 +59,8 @@ */ public function set() { - if (ArrayHelper::check($this->power->namespace)) + // make sure we only load this once + if (ArrayHelper::check($this->power->namespace) && !$this->content->isString('CUSTOM_POWER_AUTOLOADER')) { /************************* IMPORTANT SORT NOTICE *********************************************** * make sure the name space values are sorted from the longest string to the shortest diff --git a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php index 5385427..2fe18db 100644 --- a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php +++ b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.php @@ -13,6 +13,7 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Builder; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Placefix; +use VDM\Joomla\Abstraction\Registry\Traits\IsString; use VDM\Joomla\Interfaces\Registryinterface; use VDM\Joomla\Abstraction\Registry; @@ -24,6 +25,13 @@ use VDM\Joomla\Abstraction\Registry; */ class ContentOne extends Registry implements Registryinterface { + /** + * Is String Values + * + * @since 3.2.0 + */ + use IsString; + /** * Constructor. * diff --git a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.power b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.power index ce75161..bc72da2 100644 --- a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.power +++ b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/code.power @@ -1,3 +1,10 @@ + /** + * Is String Values + * + * @since 3.2.0 + */ + use IsString; + /** * Constructor. * diff --git a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json index 3a5f1e1..19f541c 100644 --- a/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json +++ b/src/adfbe68a-6d22-43e5-aee8-2787e8c47e75/settings.json @@ -15,6 +15,10 @@ "use_selection0": { "use": "500f3a7f-c16d-4dd4-81b2-2df6776b5388", "as": "default" + }, + "use_selection1": { + "use": "ff7d0111-8f79-42aa-ac14-b53ba2c49369", + "as": "default" } }, "namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Builder.ContentOne",