Update 2024-07-11 23:11:11

This commit is contained in:
Robot 2024-07-08 23:11:55 +02:00
parent c501d2e180
commit 570cb9b94c
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
18 changed files with 31 additions and 109 deletions

View File

@ -8,6 +8,7 @@
``` ```
# class Load (Details) # class Load (Details)
> namespace: **VDM\Joomla\Componentbuilder\Package\Database** > namespace: **VDM\Joomla\Componentbuilder\Package\Database**
> extends: ****
```uml ```uml
@startuml @startuml
class Load #Gold { class Load #Gold {

View File

@ -13,8 +13,8 @@ namespace VDM\Joomla\Componentbuilder\Package\Database;
use VDM\Joomla\Componentbuilder\Package\Factory; use VDM\Joomla\Componentbuilder\Package\Factory;
use VastDevelopmentMethod\Joomla\Componentbuilder\Table; use VDM\Joomla\Componentbuilder\Table;
use VastDevelopmentMethod\Joomla\Database\Load as Database; use VDM\Joomla\Database\Load as Database;
/** /**

View File

@ -1,7 +1,7 @@
{ {
"add_head": "0", "add_head": "0",
"add_licensing_template": "2", "add_licensing_template": "2",
"extends": "0", "extends": "",
"guid": "12234620-f54f-4914-a51a-24f5707cb8a6", "guid": "12234620-f54f-4914-a51a-24f5707cb8a6",
"implements": null, "implements": null,
"load_selection": null, "load_selection": null,
@ -23,6 +23,7 @@
"as": "Database" "as": "Database"
} }
}, },
"extendsinterfaces": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Database.Load", "namespace": "VDM\\Joomla\\Componentbuilder.Package.Database.Load",
"description": "Package Database Load\r\n\r\n@since 3.2.0", "description": "Package Database Load\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/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", "licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/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",

View File

@ -8,6 +8,7 @@
``` ```
# class Details (Details) # class Details (Details)
> namespace: **VDM\Joomla\Componentbuilder\Package\Display** > namespace: **VDM\Joomla\Componentbuilder\Package\Display**
> extends: ****
```uml ```uml
@startuml @startuml
class Details #Gold { class Details #Gold {

View File

@ -11,8 +11,8 @@ namespace VDM\Joomla\Componentbuilder\Package\Display;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use VastDevelopmentMethod\Joomla\Utilities\StringHelper; use VDM\Joomla\Utilities\StringHelper;
use VastDevelopmentMethod\Joomla\Utilities\ArrayHelper; use VDM\Joomla\Utilities\ArrayHelper;
/** /**

View File

@ -1,7 +1,7 @@
{ {
"add_head": "1", "add_head": "1",
"add_licensing_template": "2", "add_licensing_template": "2",
"extends": "0", "extends": "",
"guid": "2e64007d-acac-438c-b719-3e1875784f47", "guid": "2e64007d-acac-438c-b719-3e1875784f47",
"implements": null, "implements": null,
"load_selection": null, "load_selection": null,
@ -19,6 +19,7 @@
"as": "default" "as": "default"
} }
}, },
"extendsinterfaces": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Display.Details", "namespace": "VDM\\Joomla\\Componentbuilder.Package.Display.Details",
"description": "Package Display Details Class\r\n\r\n@since 3.2.0", "description": "Package Display Details Class\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package FrameworkOnFramework\r\n * @subpackage encrypt\r\n * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos \/ Akeeba Ltd. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n * @note\tThis file has been modified by the Joomla! Project and no longer reflects the original work of its author.\r\n *\/\r\n", "licensing_template": "\/**\r\n * @package FrameworkOnFramework\r\n * @subpackage encrypt\r\n * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos \/ Akeeba Ltd. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n * @note\tThis file has been modified by the Joomla! Project and no longer reflects the original work of its author.\r\n *\/\r\n",

View File

@ -8,6 +8,7 @@
``` ```
# class Display (Details) # class Display (Details)
> namespace: **VDM\Joomla\Componentbuilder\Package\Service** > namespace: **VDM\Joomla\Componentbuilder\Package\Service**
> extends: ****
```uml ```uml
@startuml @startuml
class Display #Gold { class Display #Gold {

View File

@ -1,7 +1,7 @@
{ {
"add_head": "1", "add_head": "1",
"add_licensing_template": "2", "add_licensing_template": "2",
"extends": "0", "extends": "",
"guid": "7d1aeda3-2598-46a6-bec2-7d4c5a65d99c", "guid": "7d1aeda3-2598-46a6-bec2-7d4c5a65d99c",
"implements": [ "implements": [
"-1" "-1"
@ -17,6 +17,7 @@
"as": "default" "as": "default"
} }
}, },
"extendsinterfaces": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Service.Display", "namespace": "VDM\\Joomla\\Componentbuilder.Package.Service.Display",
"description": "Display Service Provider\r\n\r\n@since 3.2.0", "description": "Display Service Provider\r\n\r\n@since 3.2.0",
"implements_custom": "ServiceProviderInterface", "implements_custom": "ServiceProviderInterface",

View File

@ -8,6 +8,7 @@
``` ```
# class Database (Details) # class Database (Details)
> namespace: **VDM\Joomla\Componentbuilder\Package\Service** > namespace: **VDM\Joomla\Componentbuilder\Package\Service**
> extends: ****
```uml ```uml
@startuml @startuml
class Database #Gold { class Database #Gold {

View File

@ -14,8 +14,8 @@ namespace VDM\Joomla\Componentbuilder\Package\Service;
use Joomla\DI\Container; use Joomla\DI\Container;
use Joomla\DI\ServiceProviderInterface; use Joomla\DI\ServiceProviderInterface;
use VastDevelopmentMethod\Joomla\Database\Load; use VDM\Joomla\Database\Load;
use VastDevelopmentMethod\Joomla\Database\Insert; use VDM\Joomla\Database\Insert;
use VDM\Joomla\Componentbuilder\Package\Database\Load as LoadDatabase; use VDM\Joomla\Componentbuilder\Package\Database\Load as LoadDatabase;
use VDM\Joomla\Componentbuilder\Package\Database\Insert as InsertDatabase; use VDM\Joomla\Componentbuilder\Package\Database\Insert as InsertDatabase;

View File

@ -1,7 +1,7 @@
{ {
"add_head": "1", "add_head": "1",
"add_licensing_template": "2", "add_licensing_template": "2",
"extends": "0", "extends": "",
"guid": "97c8b20c-a35d-47e7-b801-b9c54443e876", "guid": "97c8b20c-a35d-47e7-b801-b9c54443e876",
"implements": [ "implements": [
"-1" "-1"
@ -29,6 +29,7 @@
"as": "InsertDatabase" "as": "InsertDatabase"
} }
}, },
"extendsinterfaces": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Service.Database", "namespace": "VDM\\Joomla\\Componentbuilder.Package.Service.Database",
"description": "Database Service Provider\r\n\r\n@since 3.2.0", "description": "Database Service Provider\r\n\r\n@since 3.2.0",
"implements_custom": "ServiceProviderInterface", "implements_custom": "ServiceProviderInterface",

View File

@ -8,29 +8,13 @@
``` ```
# abstract class Factory (Details) # abstract class Factory (Details)
> namespace: **VDM\Joomla\Componentbuilder\Package** > namespace: **VDM\Joomla\Componentbuilder\Package**
> extends: **ExtendingFactory**
```uml ```uml
@startuml @startuml
abstract Factory #Orange { abstract Factory #Orange {
# static $container
+ {static} _(string $key) : Mixed
+ {static} getContainer() : Container
# {static} createContainer() : Container # {static} createContainer() : Container
} }
note right of Factory::_
Get any class from the package container
since: 3.2.0
return: Mixed
end note
note right of Factory::getContainer
Get the global package container
since: 3.2.0
return: Container
end note
note right of Factory::createContainer note right of Factory::createContainer
Create a container object Create a container object

View File

@ -13,11 +13,12 @@ namespace VDM\Joomla\Componentbuilder\Package;
use Joomla\DI\Container; use Joomla\DI\Container;
use VastDevelopmentMethod\Joomla\Componentbuilder\Service\Crypt; use VDM\Joomla\Componentbuilder\Service\Crypt;
use VDM\Joomla\Componentbuilder\Package\Service\Database; use VDM\Joomla\Componentbuilder\Package\Service\Database;
use VastDevelopmentMethod\Joomla\Componentbuilder\Service\Server; use VDM\Joomla\Componentbuilder\Service\Server;
use VDM\Joomla\Componentbuilder\Package\Service\Display; use VDM\Joomla\Componentbuilder\Package\Service\Display;
use VastDevelopmentMethod\Joomla\Interfaces\FactoryInterface; use VDM\Joomla\Interfaces\FactoryInterface;
use VDM\Joomla\Abstraction\Factory as ExtendingFactory;
/** /**
@ -25,45 +26,8 @@ use VastDevelopmentMethod\Joomla\Interfaces\FactoryInterface;
* *
* @since 3.2.0 * @since 3.2.0
*/ */
abstract class Factory implements FactoryInterface abstract class Factory extends ExtendingFactory implements FactoryInterface
{ {
/**
* Global Package Container
*
* @var Container
* @since 3.2.0
**/
protected static $container = null;
/**
* Get any class from the package container
*
* @param string $key The container class key
*
* @return Mixed
* @since 3.2.0
*/
public static function _($key)
{
return self::getContainer()->get($key);
}
/**
* Get the global package container
*
* @return Container
* @since 3.2.0
*/
public static function getContainer(): Container
{
if (!self::$container)
{
self::$container = self::createContainer();
}
return self::$container;
}
/** /**
* Create a container object * Create a container object
* *

View File

@ -1,40 +1,3 @@
/**
* Global Package Container
*
* @var Container
* @since 3.2.0
**/
protected static $container = null;
/**
* Get any class from the package container
*
* @param string $key The container class key
*
* @return Mixed
* @since 3.2.0
*/
public static function _($key)
{
return self::getContainer()->get($key);
}
/**
* Get the global package container
*
* @return Container
* @since 3.2.0
*/
public static function getContainer(): Container
{
if (!self::$container)
{
self::$container = self::createContainer();
}
return self::$container;
}
/** /**
* Create a container object * Create a container object
* *

View File

@ -1,7 +1,7 @@
{ {
"add_head": "1", "add_head": "1",
"add_licensing_template": "2", "add_licensing_template": "2",
"extends": "0", "extends": "2e5bf608-de5c-4b00-a20d-47c26aa350d9",
"guid": "ec804df5-a384-48d7-b709-ae091ddc328a", "guid": "ec804df5-a384-48d7-b709-ae091ddc328a",
"implements": [ "implements": [
"caf33c5d-858c-4f9a-894f-ab302ec5445a" "caf33c5d-858c-4f9a-894f-ab302ec5445a"
@ -29,6 +29,7 @@
"as": "default" "as": "default"
} }
}, },
"extendsinterfaces": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Factory", "namespace": "VDM\\Joomla\\Componentbuilder.Package.Factory",
"description": "Package Factory\r\n\r\n@since 3.2.0", "description": "Package Factory\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 <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/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", "licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/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",

View File

@ -8,6 +8,7 @@
``` ```
# class Insert (Details) # class Insert (Details)
> namespace: **VDM\Joomla\Componentbuilder\Package\Database** > namespace: **VDM\Joomla\Componentbuilder\Package\Database**
> extends: ****
```uml ```uml
@startuml @startuml
class Insert #Gold { class Insert #Gold {

View File

@ -15,9 +15,9 @@ namespace VDM\Joomla\Componentbuilder\Package\Database;
use Joomla\CMS\Factory as JoomlaFactory; use Joomla\CMS\Factory as JoomlaFactory;
use VDM\Joomla\Componentbuilder\Search\Factory; use VDM\Joomla\Componentbuilder\Search\Factory;
use VDM\Joomla\Componentbuilder\Search\Config; use VDM\Joomla\Componentbuilder\Search\Config;
use VastDevelopmentMethod\Joomla\Componentbuilder\Table; use VDM\Joomla\Componentbuilder\Table;
use VDM\Joomla\Componentbuilder\Search\Model\Insert as Model; use VDM\Joomla\Componentbuilder\Search\Model\Insert as Model;
use VastDevelopmentMethod\Joomla\Utilities\ArrayHelper; use VDM\Joomla\Utilities\ArrayHelper;
/** /**

View File

@ -1,7 +1,7 @@
{ {
"add_head": "1", "add_head": "1",
"add_licensing_template": "2", "add_licensing_template": "2",
"extends": "0", "extends": "",
"guid": "f68aafc4-beec-4bf0-b528-4e2c525f5b7b", "guid": "f68aafc4-beec-4bf0-b528-4e2c525f5b7b",
"implements": null, "implements": null,
"load_selection": null, "load_selection": null,
@ -31,6 +31,7 @@
"as": "default" "as": "default"
} }
}, },
"extendsinterfaces": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Database.Insert", "namespace": "VDM\\Joomla\\Componentbuilder.Package.Database.Insert",
"description": "Package Database Insert\r\n\r\n@since 3.2.0", "description": "Package Database Insert\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 <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/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", "licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/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",