Update 2024-07-16 14:07:12
This commit is contained in:
parent
570cb9b94c
commit
a2302baa42
13
README.md
13
README.md
@ -25,18 +25,19 @@ This repository contains an index (see below) of all the approved powers within
|
|||||||
|
|
||||||
- **Namespace**: [VDM\Joomla\Componentbuilder\Package](#vdm-joomla-componentbuilder-package)
|
- **Namespace**: [VDM\Joomla\Componentbuilder\Package](#vdm-joomla-componentbuilder-package)
|
||||||
|
|
||||||
- **abstract class Factory** | [Details](src/ec804df5-a384-48d7-b709-ae091ddc328a) | [Code](src/ec804df5-a384-48d7-b709-ae091ddc328a/code.php) | [Settings](src/ec804df5-a384-48d7-b709-ae091ddc328a/settings.json) | Super__ec804df5_a384_48d7_b709_ae091ddc328a__Power
|
- **abstract class Factory** | [Details](src/ec804df5-a384-48d7-b709-ae091ddc328a) | [Code](src/ec804df5-a384-48d7-b709-ae091ddc328a/code.php) | [Settings](src/ec804df5-a384-48d7-b709-ae091ddc328a/settings.json) | SPK: `Super---ec804df5_a384_48d7_b709_ae091ddc328a---Power`
|
||||||
- **Namespace**: [VDM\Joomla\Componentbuilder\Package\Database](#vdm-joomla-componentbuilder-package-database)
|
- **Namespace**: [VDM\Joomla\Componentbuilder\Package\Database](#vdm-joomla-componentbuilder-package-database)
|
||||||
|
|
||||||
- **class Insert** | [Details](src/f68aafc4-beec-4bf0-b528-4e2c525f5b7b) | [Code](src/f68aafc4-beec-4bf0-b528-4e2c525f5b7b/code.php) | [Settings](src/f68aafc4-beec-4bf0-b528-4e2c525f5b7b/settings.json) | Super__f68aafc4_beec_4bf0_b528_4e2c525f5b7b__Power
|
- **class Insert** | [Details](src/f68aafc4-beec-4bf0-b528-4e2c525f5b7b) | [Code](src/f68aafc4-beec-4bf0-b528-4e2c525f5b7b/code.php) | [Settings](src/f68aafc4-beec-4bf0-b528-4e2c525f5b7b/settings.json) | SPK: `Super---f68aafc4_beec_4bf0_b528_4e2c525f5b7b---Power`
|
||||||
- **class Load** | [Details](src/12234620-f54f-4914-a51a-24f5707cb8a6) | [Code](src/12234620-f54f-4914-a51a-24f5707cb8a6/code.php) | [Settings](src/12234620-f54f-4914-a51a-24f5707cb8a6/settings.json) | Super__12234620_f54f_4914_a51a_24f5707cb8a6__Power
|
- **class Load** | [Details](src/12234620-f54f-4914-a51a-24f5707cb8a6) | [Code](src/12234620-f54f-4914-a51a-24f5707cb8a6/code.php) | [Settings](src/12234620-f54f-4914-a51a-24f5707cb8a6/settings.json) | SPK: `Super---12234620_f54f_4914_a51a_24f5707cb8a6---Power`
|
||||||
- **Namespace**: [VDM\Joomla\Componentbuilder\Package\Display](#vdm-joomla-componentbuilder-package-display)
|
- **Namespace**: [VDM\Joomla\Componentbuilder\Package\Display](#vdm-joomla-componentbuilder-package-display)
|
||||||
|
|
||||||
- **class Details** | [Details](src/2e64007d-acac-438c-b719-3e1875784f47) | [Code](src/2e64007d-acac-438c-b719-3e1875784f47/code.php) | [Settings](src/2e64007d-acac-438c-b719-3e1875784f47/settings.json) | Super__2e64007d_acac_438c_b719_3e1875784f47__Power
|
- **class Details** | [Details](src/2e64007d-acac-438c-b719-3e1875784f47) | [Code](src/2e64007d-acac-438c-b719-3e1875784f47/code.php) | [Settings](src/2e64007d-acac-438c-b719-3e1875784f47/settings.json) | SPK: `Super---2e64007d_acac_438c_b719_3e1875784f47---Power`
|
||||||
- **Namespace**: [VDM\Joomla\Componentbuilder\Package\Service](#vdm-joomla-componentbuilder-package-service)
|
- **Namespace**: [VDM\Joomla\Componentbuilder\Package\Service](#vdm-joomla-componentbuilder-package-service)
|
||||||
|
|
||||||
- **class Database** | [Details](src/97c8b20c-a35d-47e7-b801-b9c54443e876) | [Code](src/97c8b20c-a35d-47e7-b801-b9c54443e876/code.php) | [Settings](src/97c8b20c-a35d-47e7-b801-b9c54443e876/settings.json) | Super__97c8b20c_a35d_47e7_b801_b9c54443e876__Power
|
- **class Database** | [Details](src/97c8b20c-a35d-47e7-b801-b9c54443e876) | [Code](src/97c8b20c-a35d-47e7-b801-b9c54443e876/code.php) | [Settings](src/97c8b20c-a35d-47e7-b801-b9c54443e876/settings.json) | SPK: `Super---97c8b20c_a35d_47e7_b801_b9c54443e876---Power`
|
||||||
- **class Display** | [Details](src/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c) | [Code](src/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c/code.php) | [Settings](src/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c/settings.json) | Super__7d1aeda3_2598_46a6_bec2_7d4c5a65d99c__Power
|
- **class Display** | [Details](src/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c) | [Code](src/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c/code.php) | [Settings](src/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c/settings.json) | SPK: `Super---7d1aeda3_2598_46a6_bec2_7d4c5a65d99c---Power`
|
||||||
|
> remember to replace the `---` with `___` in the SPK to activate that Power in your code
|
||||||
|
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
@ -8,7 +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 {
|
||||||
@ -58,6 +58,20 @@ end note
|
|||||||
@enduml
|
@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---12234620_f54f_4914_a51a_24f5707cb8a6---Power
|
||||||
|
```
|
||||||
|
> remember to replace the `---` with `___` to activate this Power in your code
|
||||||
|
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
██╗ ██████╗██████╗
|
██╗ ██████╗██████╗
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extendsinterfaces": null,
|
"extendsinterfaces": null,
|
||||||
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Database.Load",
|
"namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].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",
|
||||||
"head": "",
|
"head": "",
|
||||||
|
@ -8,7 +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 {
|
||||||
@ -58,6 +58,20 @@ end note
|
|||||||
@enduml
|
@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---2e64007d_acac_438c_b719_3e1875784f47---Power
|
||||||
|
```
|
||||||
|
> remember to replace the `---` with `___` to activate this Power in your code
|
||||||
|
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
██╗ ██████╗██████╗
|
██╗ ██████╗██████╗
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extendsinterfaces": null,
|
"extendsinterfaces": null,
|
||||||
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Display.Details",
|
"namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].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",
|
||||||
"head": "use Joomla\\CMS\\Language\\Text;",
|
"head": "use Joomla\\CMS\\Language\\Text;",
|
||||||
|
@ -8,7 +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 {
|
||||||
@ -33,6 +33,20 @@ end note
|
|||||||
@enduml
|
@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---7d1aeda3_2598_46a6_bec2_7d4c5a65d99c---Power
|
||||||
|
```
|
||||||
|
> remember to replace the `---` with `___` to activate this Power in your code
|
||||||
|
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
██╗ ██████╗██████╗
|
██╗ ██████╗██████╗
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extendsinterfaces": null,
|
"extendsinterfaces": null,
|
||||||
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Service.Display",
|
"namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].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",
|
||||||
"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",
|
||||||
|
@ -8,7 +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 {
|
||||||
@ -57,6 +57,20 @@ end note
|
|||||||
@enduml
|
@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---97c8b20c_a35d_47e7_b801_b9c54443e876---Power
|
||||||
|
```
|
||||||
|
> remember to replace the `---` with `___` to activate this Power in your code
|
||||||
|
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
██╗ ██████╗██████╗
|
██╗ ██████╗██████╗
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extendsinterfaces": null,
|
"extendsinterfaces": null,
|
||||||
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Service.Database",
|
"namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].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",
|
||||||
"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",
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
# abstract class Factory (Details)
|
# abstract class Factory (Details)
|
||||||
> namespace: **VDM\Joomla\Componentbuilder\Package**
|
> namespace: **VDM\Joomla\Componentbuilder\Package**
|
||||||
> extends: **ExtendingFactory**
|
> extends: **ExtendingFactory**
|
||||||
|
|
||||||
```uml
|
```uml
|
||||||
@startuml
|
@startuml
|
||||||
abstract Factory #Orange {
|
abstract Factory #Orange {
|
||||||
@ -25,6 +26,20 @@ end note
|
|||||||
@enduml
|
@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---ec804df5_a384_48d7_b709_ae091ddc328a---Power
|
||||||
|
```
|
||||||
|
> remember to replace the `---` with `___` to activate this Power in your code
|
||||||
|
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
██╗ ██████╗██████╗
|
██╗ ██████╗██████╗
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extendsinterfaces": null,
|
"extendsinterfaces": null,
|
||||||
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Factory",
|
"namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].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",
|
||||||
"head": "use Joomla\\DI\\Container;",
|
"head": "use Joomla\\DI\\Container;",
|
||||||
|
@ -8,7 +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 {
|
||||||
@ -67,6 +67,20 @@ end note
|
|||||||
@enduml
|
@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---f68aafc4_beec_4bf0_b528_4e2c525f5b7b---Power
|
||||||
|
```
|
||||||
|
> remember to replace the `---` with `___` to activate this Power in your code
|
||||||
|
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
██╗ ██████╗██████╗
|
██╗ ██████╗██████╗
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extendsinterfaces": null,
|
"extendsinterfaces": null,
|
||||||
"namespace": "VDM\\Joomla\\Componentbuilder.Package.Database.Insert",
|
"namespace": "[[[NamespacePrefix]]]\\Joomla\\[[[ComponentNamespace]]].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",
|
||||||
"head": "use Joomla\\CMS\\Factory as JoomlaFactory;",
|
"head": "use Joomla\\CMS\\Factory as JoomlaFactory;",
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"power": "src\/12234620-f54f-4914-a51a-24f5707cb8a6\/code.power",
|
"power": "src\/12234620-f54f-4914-a51a-24f5707cb8a6\/code.power",
|
||||||
"settings": "src\/12234620-f54f-4914-a51a-24f5707cb8a6\/settings.json",
|
"settings": "src\/12234620-f54f-4914-a51a-24f5707cb8a6\/settings.json",
|
||||||
"path": "src\/12234620-f54f-4914-a51a-24f5707cb8a6",
|
"path": "src\/12234620-f54f-4914-a51a-24f5707cb8a6",
|
||||||
"spk": "Super__12234620_f54f_4914_a51a_24f5707cb8a6__Power",
|
"spk": "Super---12234620_f54f_4914_a51a_24f5707cb8a6---Power",
|
||||||
"guid": "12234620-f54f-4914-a51a-24f5707cb8a6"
|
"guid": "12234620-f54f-4914-a51a-24f5707cb8a6"
|
||||||
},
|
},
|
||||||
"2e64007d-acac-438c-b719-3e1875784f47": {
|
"2e64007d-acac-438c-b719-3e1875784f47": {
|
||||||
@ -18,7 +18,7 @@
|
|||||||
"power": "src\/2e64007d-acac-438c-b719-3e1875784f47\/code.power",
|
"power": "src\/2e64007d-acac-438c-b719-3e1875784f47\/code.power",
|
||||||
"settings": "src\/2e64007d-acac-438c-b719-3e1875784f47\/settings.json",
|
"settings": "src\/2e64007d-acac-438c-b719-3e1875784f47\/settings.json",
|
||||||
"path": "src\/2e64007d-acac-438c-b719-3e1875784f47",
|
"path": "src\/2e64007d-acac-438c-b719-3e1875784f47",
|
||||||
"spk": "Super__2e64007d_acac_438c_b719_3e1875784f47__Power",
|
"spk": "Super---2e64007d_acac_438c_b719_3e1875784f47---Power",
|
||||||
"guid": "2e64007d-acac-438c-b719-3e1875784f47"
|
"guid": "2e64007d-acac-438c-b719-3e1875784f47"
|
||||||
},
|
},
|
||||||
"7d1aeda3-2598-46a6-bec2-7d4c5a65d99c": {
|
"7d1aeda3-2598-46a6-bec2-7d4c5a65d99c": {
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"power": "src\/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c\/code.power",
|
"power": "src\/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c\/code.power",
|
||||||
"settings": "src\/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c\/settings.json",
|
"settings": "src\/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c\/settings.json",
|
||||||
"path": "src\/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c",
|
"path": "src\/7d1aeda3-2598-46a6-bec2-7d4c5a65d99c",
|
||||||
"spk": "Super__7d1aeda3_2598_46a6_bec2_7d4c5a65d99c__Power",
|
"spk": "Super---7d1aeda3_2598_46a6_bec2_7d4c5a65d99c---Power",
|
||||||
"guid": "7d1aeda3-2598-46a6-bec2-7d4c5a65d99c"
|
"guid": "7d1aeda3-2598-46a6-bec2-7d4c5a65d99c"
|
||||||
},
|
},
|
||||||
"97c8b20c-a35d-47e7-b801-b9c54443e876": {
|
"97c8b20c-a35d-47e7-b801-b9c54443e876": {
|
||||||
@ -40,7 +40,7 @@
|
|||||||
"power": "src\/97c8b20c-a35d-47e7-b801-b9c54443e876\/code.power",
|
"power": "src\/97c8b20c-a35d-47e7-b801-b9c54443e876\/code.power",
|
||||||
"settings": "src\/97c8b20c-a35d-47e7-b801-b9c54443e876\/settings.json",
|
"settings": "src\/97c8b20c-a35d-47e7-b801-b9c54443e876\/settings.json",
|
||||||
"path": "src\/97c8b20c-a35d-47e7-b801-b9c54443e876",
|
"path": "src\/97c8b20c-a35d-47e7-b801-b9c54443e876",
|
||||||
"spk": "Super__97c8b20c_a35d_47e7_b801_b9c54443e876__Power",
|
"spk": "Super---97c8b20c_a35d_47e7_b801_b9c54443e876---Power",
|
||||||
"guid": "97c8b20c-a35d-47e7-b801-b9c54443e876"
|
"guid": "97c8b20c-a35d-47e7-b801-b9c54443e876"
|
||||||
},
|
},
|
||||||
"ec804df5-a384-48d7-b709-ae091ddc328a": {
|
"ec804df5-a384-48d7-b709-ae091ddc328a": {
|
||||||
@ -51,7 +51,7 @@
|
|||||||
"power": "src\/ec804df5-a384-48d7-b709-ae091ddc328a\/code.power",
|
"power": "src\/ec804df5-a384-48d7-b709-ae091ddc328a\/code.power",
|
||||||
"settings": "src\/ec804df5-a384-48d7-b709-ae091ddc328a\/settings.json",
|
"settings": "src\/ec804df5-a384-48d7-b709-ae091ddc328a\/settings.json",
|
||||||
"path": "src\/ec804df5-a384-48d7-b709-ae091ddc328a",
|
"path": "src\/ec804df5-a384-48d7-b709-ae091ddc328a",
|
||||||
"spk": "Super__ec804df5_a384_48d7_b709_ae091ddc328a__Power",
|
"spk": "Super---ec804df5_a384_48d7_b709_ae091ddc328a---Power",
|
||||||
"guid": "ec804df5-a384-48d7-b709-ae091ddc328a"
|
"guid": "ec804df5-a384-48d7-b709-ae091ddc328a"
|
||||||
},
|
},
|
||||||
"f68aafc4-beec-4bf0-b528-4e2c525f5b7b": {
|
"f68aafc4-beec-4bf0-b528-4e2c525f5b7b": {
|
||||||
@ -62,7 +62,7 @@
|
|||||||
"power": "src\/f68aafc4-beec-4bf0-b528-4e2c525f5b7b\/code.power",
|
"power": "src\/f68aafc4-beec-4bf0-b528-4e2c525f5b7b\/code.power",
|
||||||
"settings": "src\/f68aafc4-beec-4bf0-b528-4e2c525f5b7b\/settings.json",
|
"settings": "src\/f68aafc4-beec-4bf0-b528-4e2c525f5b7b\/settings.json",
|
||||||
"path": "src\/f68aafc4-beec-4bf0-b528-4e2c525f5b7b",
|
"path": "src\/f68aafc4-beec-4bf0-b528-4e2c525f5b7b",
|
||||||
"spk": "Super__f68aafc4_beec_4bf0_b528_4e2c525f5b7b__Power",
|
"spk": "Super---f68aafc4_beec_4bf0_b528_4e2c525f5b7b---Power",
|
||||||
"guid": "f68aafc4-beec-4bf0-b528-4e2c525f5b7b"
|
"guid": "f68aafc4-beec-4bf0-b528-4e2c525f5b7b"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user