update 2023-04-15 16:49:30

This commit is contained in:
Llewellyn van der Merwe 2023-04-15 16:49:36 +02:00
parent 8d4935414b
commit 7d969e9a52
Signed by: Llewellyn
GPG Key ID: A9201372263741E7
167 changed files with 1162 additions and 672 deletions

View File

@ -546,8 +546,6 @@ namespace VDM\Joomla\Componentbuilder\Power #Olive {
- localIndex() : void
- remoteIndex() : void
- loadRemoteFile() : mixed
- getCode() : ?string
- getLicense() : ?string
}
}
@ -1610,6 +1608,8 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Power #LightGreen {
class Parser << (F,LightGreen) >> #Green {
+ code() : array
+ getClassCode() : ?string
+ getClassLicense() : ?string
- properties() : ?array
- methods() : ?array
- extractDocBlock() : ?string

View File

@ -1,12 +1,11 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "01411bb1-fdd6-4cca-84d7-1b62d93c70c1",
"implements": [
"6da2afa5-6087-46dd-80a0-74c6434bcb18"
],
"implements_custom": "",
"load_selection": null,
"name": "Extractor",
"power_version": "1.0.0",
@ -56,5 +55,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Customcode.Extractor",
"description": "Compiler Custom Code Extractor\r\n\r\nThe custom script placeholders - we use the (xxx) to avoid detection it should be (***)\r\n##################################---> PHP\/JS ---####################################\r\n\r\nNew Insert Code = \/xxx[INSERT>$$$$]xxx\/ \/xxx[\/INSERT>$$$$]xxx\/\r\nNew Replace Code = \/xxx[REPLACE>$$$$]xxx\/ \/xxx[\/REPLACE>$$$$]xxx\/\r\n\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ when JCB adds it back \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nJCB Add Inserted Code = \/xxx[INSERTED$$$$]xxx\/\/xx23xx\/ \/xxx[\/INSERTED$$$$]xxx\/\r\nJCB Add Replaced Code = \/xxx[REPLACED$$$$]xxx\/\/xx25xx\/ \/xxx[\/REPLACED$$$$]xxx\/\r\n\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ changeing existing custom code \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nUpdate Inserted Code = \/xxx[INSERTED>$$$$]xxx\/\/xx23xx\/ \/xxx[\/INSERTED>$$$$]xxx\/\r\nUpdate Replaced Code = \/xxx[REPLACED>$$$$]xxx\/\/xx25xx\/ \/xxx[\/REPLACED>$$$$]xxx\/\r\n\r\nThe custom script placeholders - we use the (==) to avoid detection it should be (--)\r\n###################################---> HTML ---#####################################\r\n\r\nNew Insert Code = !==[INSERT>$$$$]==> !==[\/INSERT>$$$$]==>\r\nNew Replace Code = !==[REPLACE>$$$$]==> !==[\/REPLACE>$$$$]==>\r\n\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ when JCB adds it back \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nJCB Add Inserted Code = \r\nJCB Add Replaced Code = \r\n\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ changeing existing custom code \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nUpdate Inserted Code = !==[INSERTED>$$$$]==> !==[\/INSERTED>$$$$]==>\r\nUpdate Replaced Code = !==[REPLACED>$$$$]==> !==[\/REPLACED>$$$$]==>\r\n\r\n\/\/\/\/\/\/\/\/23 is the ID of the code in the system don't change it!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n\r\nMore info read: https:\/\/git.vdm.dev\/joomla\/Component-Builder\/wiki\/TIPS:-Custom-Code\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\User\\User;\r\nuse Joomla\\CMS\\Filesystem\\Folder;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;"
"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;\r\nuse Joomla\\CMS\\User\\User;\r\nuse Joomla\\CMS\\Filesystem\\Folder;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "037c7274-fb16-455d-989a-bf1da022620b",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Customimportscripts",
"power_version": "1.0.0",
@ -29,5 +28,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Customimportscripts",
"description": "Model Custom Import Scripts Class\r\n\r\n@since 3.2.0"
"description": "Model Custom Import Scripts Class\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",
"head": "",
"composer": ""
}

View File

@ -116,18 +116,21 @@ class Infusion
'unchanged_composer' => 'composer',
'unchanged_description' => 'description',
'extends' => 'extends',
'extends_custom' => 'extends_custom',
'unchanged_extends_custom' => 'extends_custom',
'guid' => 'guid',
'unchanged_head' => 'head',
'use_selection' => 'use_selection',
'implements' => 'implements',
'implements_custom' => 'implements_custom',
'unchanged_implements_custom' => 'implements_custom',
'load_selection' => 'load_selection',
'name' => 'name',
'power_version' => 'power_version',
'system_name' => 'system_name',
'type' => 'type',
'unchanged_namespace' => 'namespace'
'unchanged_namespace' => 'namespace',
'unchanged_composer' => 'composer',
'add_licensing_template' => 'add_licensing_template',
'unchanged_licensing_template' => 'licensing_template'
];
/**
@ -379,9 +382,9 @@ class Infusion
private function raw(object &$power): string
{
// add the raw main code if set
if (isset($power->raw_class_code) && StringHelper::check($power->raw_class_code))
if (isset($power->unchanged_main_class_code) && StringHelper::check($power->unchanged_main_class_code))
{
return $power->raw_class_code;
return $power->unchanged_main_class_code;
}
return '';
}

View File

@ -81,18 +81,21 @@
'unchanged_composer' => 'composer',
'unchanged_description' => 'description',
'extends' => 'extends',
'extends_custom' => 'extends_custom',
'unchanged_extends_custom' => 'extends_custom',
'guid' => 'guid',
'unchanged_head' => 'head',
'use_selection' => 'use_selection',
'implements' => 'implements',
'implements_custom' => 'implements_custom',
'unchanged_implements_custom' => 'implements_custom',
'load_selection' => 'load_selection',
'name' => 'name',
'power_version' => 'power_version',
'system_name' => 'system_name',
'type' => 'type',
'unchanged_namespace' => 'namespace'
'unchanged_namespace' => 'namespace',
'unchanged_composer' => 'composer',
'add_licensing_template' => 'add_licensing_template',
'unchanged_licensing_template' => 'licensing_template'
];
/**
@ -344,9 +347,9 @@
private function raw(object &$power): string
{
// add the raw main code if set
if (isset($power->raw_class_code) && StringHelper::check($power->raw_class_code))
if (isset($power->unchanged_main_class_code) && StringHelper::check($power->unchanged_main_class_code))
{
return $power->raw_class_code;
return $power->unchanged_main_class_code;
}
return '';
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "0419081e-4cb3-4c65-8c6a-ffe941fb0f1c",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Infusion",
"power_version": "1.0.0",
@ -65,5 +64,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Power.Infusion",
"description": "Compiler Power Infusion\r\n@since 3.2.0"
"description": "Compiler Power Infusion\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "053803e6-1251-4aed-aefe-46a8e84198d2",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Paths",
"power_version": "1.0.0",
@ -54,5 +53,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Customcode.Extractor.Paths",
"description": "Compiler Custom Code Paths\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Filesystem\\Folder;"
"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;\r\nuse Joomla\\CMS\\Filesystem\\Folder;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "05c49a1f-ba5b-4be1-b3d0-4a74c42f7a46",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Data",
"power_version": "1.0.0",
@ -54,5 +53,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Dynamicget.Data",
"description": "Dynamic Get Data Class\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;"
"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;",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "0601fee8-d51e-4af0-9ad3-b5f8700c4a45",
"implements": [
"-1"
@ -171,5 +171,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Model",
"description": "Model Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "06453ada-e370-49f0-b262-e3f5a8ed0c2c",
"implements": [
"a6cdd935-c038-4a54-8446-54bed87f003c"
],
"implements_custom": "",
"load_selection": null,
"name": "Placeholder",
"power_version": "1.0.0",
@ -31,5 +30,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Placeholder",
"description": "Compiler Placeholder\r\n\r\n@since 3.2.0"
"description": "Compiler Placeholder\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "071c7cff-4c88-4b80-bd99-066c572dcb71",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Structure",
"power_version": "1.0.0",
@ -85,5 +84,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Joomlamodule.Structure",
"description": "Joomla Module Structure Builder Class\r\n\r\n@since 3.2.0"
"description": "Joomla Module Structure Builder Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "0d08c583-04d5-454e-b756-48ca05e1651a",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Readme",
"power_version": "1.0.0",
@ -25,5 +24,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Power.Repos.Readme",
"description": "Compiler Power Repos Readme\r\n@since 3.2.0"
"description": "Compiler Power Repos Readme\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "0d71c2d9-2fc0-4c20-82c5-43c46b0fc6f7",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Loader",
"power_version": "1.0.0",
@ -29,5 +28,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Loader",
"description": "Model Auto Loader Class\r\n\r\n@since 3.2.0"
"description": "Model Auto Loader Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "0dabc67c-abec-4541-82bf-279abd3c9be1",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Permissions",
"power_version": "1.0.0",
@ -21,5 +20,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Permissions",
"description": "Model Permissions Class\r\n\r\n@since 3.2.0"
"description": "Model Permissions Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "1133c2d7-ba7e-4c95-8cde-01f084d04682",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "PowerInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.PowerInterface",
"description": "Compiler Power Interface\r\n\r\n@since 3.2.0"
"description": "Compiler Power Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "143ac6ea-b64f-4331-9a97-31e3fce2bb69",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Tabs",
"power_version": "1.0.0",
@ -21,5 +20,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Tabs",
"description": "Model Tabs Class\r\n\r\n@since 3.2.0"
"description": "Model Tabs Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "17a728e9-d6cf-4060-9efb-241b0ff2f981",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Historycomponent",
"power_version": "1.0.0",
@ -45,5 +44,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Historycomponent",
"description": "Model Component History Class\r\n\r\n@since 3.2.0"
"description": "Model Component History Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "1aefb8f5-486f-4f00-adf9-696340b3254e",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "InstallInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.Extension.InstallInterface",
"description": "The properties an extension should have to be passed to the InstallScript class\r\n\r\n@since 3.2.0"
"description": "The properties an extension should have to be passed to the InstallScript class\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",
"head": "",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "1bd48df2-4f7e-4581-9fe9-4b54e59105e3",
"implements": [
"2cc8517d-1105-4697-9743-048b4b7c089c"
],
"implements_custom": "",
"load_selection": null,
"name": "Gui",
"power_version": "1.0.0",
@ -48,5 +47,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Customcode.Gui",
"description": "Compiler Gui Custom Code\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;"
"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;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "1cef0266-99e2-40d8-919f-c2ce32226b0a",
"implements": [
"1fcb13a2-f3f0-4fa8-b8c6-ff9dc546777a"
],
"implements_custom": "",
"load_selection": null,
"name": "External",
"power_version": "1.0.0",
@ -40,5 +39,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Customcode.External",
"description": "Compiler External Custom Code\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\User\\User;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;\r\nuse Joomla\\CMS\\Filesystem\\Path;"
"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;\r\nuse Joomla\\CMS\\User\\User;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;\r\nuse Joomla\\CMS\\Filesystem\\Path;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "1d0fd857-12ec-4f47-ab1c-124d85748e24",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Updateserver",
"power_version": "1.0.0",
@ -25,5 +24,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Updateserver",
"description": "Model Joomla Update Server Class\r\n\r\n@since 3.2.0"
"description": "Model Joomla Update Server Class\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",
"head": "",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "1d929017-a5de-4e0f-9b5a-838934857e26",
"implements": [
"2e6731ba-3a03-4836-b2c2-4e50e38cb890"
],
"implements_custom": "",
"load_selection": null,
"name": "InstallScript",
"power_version": "1.0.0",
@ -35,5 +34,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Extension.JoomlaThree.InstallScript",
"description": "Loading the Extension Installation Script Class\r\n\r\n@since 3.2.0"
"description": "Loading the Extension Installation Script Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "b84e947d-2a13-44f7-ac0f-3902ae55ae0c",
"extends_custom": "JoomlaRegistry",
"guid": "1d967151-7c20-4ca7-9400-65233cdcd4db",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Files",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "class",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.Files",
"description": "Compiler Utilities Files Bucket\r\n\r\n@since 3.2.0"
"description": "Compiler Utilities Files Bucket\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "JoomlaRegistry",
"guid": "1efdded5-d6c8-452c-8f37-0374483a7b3f",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Structure",
"power_version": "1.0.0",
@ -46,5 +45,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.Structure",
"description": "Compiler Utilities To Build Structure\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;\r\nuse Joomla\\CMS\\Filesystem\\File as JoomlaFile;\r\nuse Joomla\\CMS\\Filesystem\\Folder;"
"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;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;\r\nuse Joomla\\CMS\\Filesystem\\File as JoomlaFile;\r\nuse Joomla\\CMS\\Filesystem\\Folder;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "1fcb13a2-f3f0-4fa8-b8c6-ff9dc546777a",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "ExternalInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.Customcode.ExternalInterface",
"description": "Customcode External Interface\r\n\r\n@since 3.2.0"
"description": "Customcode External Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "20ed72b0-fcac-4344-aee1-8a65e3bf221d",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "EventInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.EventInterface",
"description": "Compiler Events Interface\r\n\r\n@since 3.2.0"
"description": "Compiler Events Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "23f2ca33-440a-4941-8e9a-4bc67522c0cb",
"implements": [
"-1"
@ -19,5 +19,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Mapper",
"description": "Mapper Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "24da9672-e47f-4bb1-b6c0-0ebfc17f0957",
"implements": [
"b9f05dc4-d23a-499a-a826-9749b81818ed"
],
"implements_custom": "",
"load_selection": null,
"name": "CoreValidation",
"power_version": "1.0.0",
@ -20,5 +19,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Field.JoomlaThree.CoreValidation",
"description": "Core Joomla Field Validation Rules\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Filesystem\\Folder;"
"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\\Filesystem\\Folder;",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "253317c7-3c3b-48a0-aec8-8af5e7a86504",
"implements": [
"-1"
@ -23,5 +23,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Library",
"description": "Compiler Library\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "JoomlaRegistry",
"guid": "268b85ef-49f3-4c39-8187-bb12e38d19ee",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Dynamicpath",
"power_version": "1.0.0",
@ -25,5 +24,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.Dynamicpath",
"description": "Compiler Utilities Dynamic Path\r\n\r\n@since 3.2.0"
"description": "Compiler Utilities Dynamic Path\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "29455d3b-df2b-4e41-8684-1608060e37a4",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Javascriptcustomview",
"power_version": "1.0.0",
@ -29,5 +28,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Javascriptcustomview",
"description": "Model Javascript Custom View Class\r\n\r\n@since 3.2.0"
"description": "Model Javascript Custom View Class\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",
"head": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "295186de-5954-4a65-a4c1-2f79ef305743",
"implements": [
"-1"
@ -23,5 +23,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Joomlamodule",
"description": "Joomla Module Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "2ad31f74-f579-499d-b98b-c4f54fd615dd",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "LoadInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Interfaces.LoadInterface",
"description": "Database Load Interface\r\n\r\n@since 3.2.0"
"description": "Database Load Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "c6bbc3ee-58e7-4463-adba-5c5ae839ee36",
"extends_custom": "JoomlaRegistry",
"guid": "2b5c9989-1d4e-4f59-8b95-5cd2f72f82d9",
"implements": [
"78527c29-24ad-4735-ad4c-ec33a4952d9b"
],
"implements_custom": "",
"load_selection": null,
"name": "Mysql",
"power_version": "1.0.0",
@ -14,5 +13,8 @@
"type": "class",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Builder.Update.Mysql",
"description": "Compiler Builder Update Mysql\r\n\r\n@since 3.2.0"
"description": "Compiler Builder Update Mysql\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",
"head": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "2c76c06e-a371-4b73-9fbe-b4d9b4df55d7",
"implements": [
"-1"
@ -19,5 +19,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Builder",
"description": "Builder Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "2cc8517d-1105-4697-9743-048b4b7c089c",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "GuiInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.Customcode.GuiInterface",
"description": "Customcode Gui Interface\r\n\r\n@since 3.2.0"
"description": "Customcode Gui Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "2da6d6c4-eb29-4d69-8bc2-36d96e916adf",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Tableinterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Interfaces.Tableinterface",
"description": "The Core JCB Table Interface"
"description": "The Core JCB Table Interface",
"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": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "2dd1289a-4000-43cc-8c62-77ff32de56bf",
"implements": [
"-1"
@ -19,5 +19,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Adminview",
"description": "Compiler Adminview\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "2e6731ba-3a03-4836-b2c2-4e50e38cb890",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "GetScriptInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.GetScriptInterface",
"description": "The functions a get script should have\r\n\r\n@since 3.2.0"
"description": "The functions a get script should have\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",
"head": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "2f7b1998-bb93-4055-ae82-aa659ce8a37f",
"implements": [
"-1"
@ -23,5 +23,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Placeholder",
"description": "Compiler Placeholder Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "313b43c4-98c3-4f62-9177-2d73ec8eba31",
"implements": [
"33bdc535-0ff1-40c8-bb22-b5d44f1731c4"
],
"implements_custom": "",
"load_selection": null,
"name": "Customcode",
"power_version": "1.0.0",
@ -52,5 +51,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Customcode",
"description": "Compiler Custom Code\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;"
"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;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "324566de-0f7d-4b6e-9caf-8424d55013ae",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Structure",
"power_version": "1.0.0",
@ -70,5 +69,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Power.Structure",
"description": "Power Structure Builder Class\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;"
"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;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "3283a89c-329a-47fb-a011-0df6c31a5c73",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Csscustomview",
"power_version": "1.0.0",
@ -25,5 +24,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Csscustomview",
"description": "Model Css Custom View Class\r\n\r\n@since 3.2.0"
"description": "Model Css Custom View Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "33bdc535-0ff1-40c8-bb22-b5d44f1731c4",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "CustomcodeInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.CustomcodeInterface",
"description": "Compiler Customcode Interface\r\n\r\n@since 3.2.0"
"description": "Compiler Customcode Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "35191b0c-f7f3-44d6-8ec1-c816b997bd4e",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Mysqlsettings",
"power_version": "1.0.0",
@ -29,5 +28,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Mysqlsettings",
"description": "Model MySQL Settings Class\r\n\r\n@since 3.2.0"
"description": "Model MySQL Settings Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "39ea8150-f124-4e47-909d-641bf1c96d5e",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Data",
"power_version": "1.0.0",
@ -37,5 +36,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Templatelayout.Data",
"description": "Template Layout Data Class\r\n\r\n@since 3.2.0"
"description": "Template Layout Data Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "3b6895da-d9eb-4164-90b1-4632a4cc2474",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Data",
"power_version": "1.0.0",
@ -86,5 +85,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Customview.Data",
"description": "Admin Custom View Data Class\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;"
"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;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "4325745f-da1f-4d4d-a591-3189fe8c06e5",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "HistoryInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.HistoryInterface",
"description": "Compiler History Interface\r\n\r\n@since 3.2.0"
"description": "Compiler History Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "4815e1c7-a433-443d-a112-d1e03d7df84b",
"implements": [
"-1"
@ -23,5 +23,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Database",
"description": "Database Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "489da602-27c7-418c-bf59-1d45ad42bdcc",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Phpcustomview",
"power_version": "1.0.0",
@ -37,5 +36,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Phpcustomview",
"description": "Model PHP Custom View Class\r\n\r\n@since 3.2.0"
"description": "Model PHP Custom View Class\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",
"head": "",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "4b86f62e-ce41-4325-a11a-08148807d0df",
"implements": [
"20ed72b0-fcac-4344-aee1-8a65e3bf221d"
],
"implements_custom": "",
"load_selection": null,
"name": "Event",
"power_version": "1.0.0",
@ -20,5 +19,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.JoomlaThree.Event",
"description": "Compiler Events\r\n\r\n@since 3.2.0",
"head": "use Joomla\\Registry\\Registry;"
"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\\Registry\\Registry;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "4e6ff11d-bebf-42f5-8fd7-b2f882857222",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Line",
"power_version": "1.0.0",
@ -17,5 +16,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.Line",
"description": "The Debug Line Number Factory\r\n\r\n@since 3.2.0"
"description": "The Debug Line Number 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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "4f575bd6-de97-41f8-80d6-259c8a6dd9ad",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Ajaxadmin",
"power_version": "1.0.0",
@ -41,5 +40,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Ajaxadmin",
"description": "Model Admin Ajax Class\r\n\r\n@since 3.2.0"
"description": "Model Admin Ajax Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "500f3a7f-c16d-4dd4-81b2-2df6776b5388",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Placefix",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "abstract class",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.Placefix",
"description": "The Placeholder Prefix and Suffix Factory\r\n\r\n@since 3.2.0"
"description": "The Placeholder Prefix and Suffix 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",
"head": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "516f93b8-5fff-41c6-aeaf-2d93180a12cc",
"implements": [
"-1"
@ -55,5 +55,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Utilities",
"description": "Utilities Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "53cf9828-7ad4-4856-aac1-7c4c67bd3121",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Createdate",
"power_version": "1.0.0",
@ -18,5 +17,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Createdate",
"description": "Model - Get Create Date\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;"
"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;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "55e61314-ba10-4e2b-92dd-b44adebabce9",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Conditions",
"power_version": "1.0.0",
@ -45,5 +44,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Conditions",
"description": "Model Conditions Class\r\n\r\n@since 3.2.0"
"description": "Model Conditions Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "592aed4e-2c5f-4fc5-8f7a-409203d1af82",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Ajaxcustomview",
"power_version": "1.0.0",
@ -37,5 +36,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Ajaxcustomview",
"description": "Model Custom Ajax Custom View Class\r\n\r\n@since 3.2.0"
"description": "Model Custom Ajax Custom View Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "59895f37-50c8-4af3-9dad-230e18841953",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Libraries",
"power_version": "1.0.0",
@ -37,5 +36,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Libraries",
"description": "Model Libraries Class\r\n\r\n@since 3.2.0"
"description": "Model Libraries Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "5b021139-dad0-4e9b-882a-2b4d807795af",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Selection",
"power_version": "1.0.0",
@ -46,5 +45,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Dynamicget.Selection",
"description": "Dynamic Get Selection Class\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;"
"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;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "5c75b455-3d4c-452a-867e-e90424a64c88",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "File",
"power_version": "1.0.0",
@ -30,5 +29,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.File",
"description": "File helper\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Filesystem\\File as JoomlaFile;"
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 3rd September, 2020\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\\Filesystem\\File as JoomlaFile;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "5f8e8fa6-3793-44af-882d-9cfb209434e9",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Customalias",
"power_version": "1.0.0",
@ -33,5 +32,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Customalias",
"description": "Model Custom Alias Class\r\n\r\n@since 3.2.0"
"description": "Model Custom Alias Class\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",
"head": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "63782f74-7b03-4745-aa40-0adf8ed4e704",
"implements": [
"-1"
@ -23,5 +23,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.History",
"description": "History Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;\r\nuse Joomla\\CMS\\Version;"
"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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;\r\nuse Joomla\\CMS\\Version;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "JoomlaRegistry",
"guid": "63dabe82-0f4a-4ade-9851-8518ade23de2",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Settings",
"power_version": "1.0.0",
@ -61,5 +60,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Component.Settings",
"description": "Compiler Component (Joomla Version) Settings\r\n\r\n@since 3.2.0"
"description": "Compiler Component (Joomla Version) Settings\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "673954d3-78d3-445a-b99f-4b40d617c882",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Structuresingle",
"power_version": "1.0.0",
@ -58,5 +57,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Component.Structuresingle",
"description": "Single Files and Folders Builder Class\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;\r\nuse Joomla\\CMS\\Filesystem\\Folder;\r\nuse Joomla\\CMS\\Filesystem\\File;"
"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;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;\r\nuse Joomla\\CMS\\Filesystem\\Folder;\r\nuse Joomla\\CMS\\Filesystem\\File;",
"composer": ""
}

View File

@ -25,8 +25,6 @@ class Grep << (F,LightGreen) >> #Green {
- localIndex(object $path) : void
- remoteIndex(object $path) : void
- loadRemoteFile(string $owner, string $repo, ...) : mixed
- getCode(string $code) : ?string
- getLicense(string $code) : ?string
}
note right of Grep::__construct
@ -109,18 +107,6 @@ note left of Grep::loadRemoteFile
string $path
?string $branch
end note
note right of Grep::getCode
Get the class body
return: ?string
end note
note left of Grep::getLicense
Get the class license
return: ?string
end note
@enduml
```

View File

@ -184,17 +184,15 @@ final class Grep
}
// get the settings
if (($settings = FileHelper::getContent($this->full_path . '/' . $path->local->{$guid}->settings, null)) !== null &&
if (($settings = FileHelper::getContent($path->full_path . '/' . $path->local->{$guid}->settings, null)) !== null &&
JsonHelper::check($settings))
{
$power = json_decode($settings);
// get the code
if (($code = FileHelper::getContent($this->full_path . '/' . $path->local->{$guid}->code, null)) !== null)
if (($code = FileHelper::getContent($path->full_path . '/' . $path->local->{$guid}->power, null)) !== null)
{
$power->main_class_code = $this->getCode($code);
$power->licensing_template = $this->getLicense($code);
$power->main_class_code = $code;
return $power;
}
}
@ -223,11 +221,9 @@ final class Grep
isset($power->guid))
{
// get the code
if (($code = $this->loadRemoteFile($path->owner, $path->repo, $path->index->{$guid}->code, $path->branch)) !== null)
if (($code = $this->loadRemoteFile($path->owner, $path->repo, $path->index->{$guid}->power, $path->branch)) !== null)
{
$power->main_class_code = $this->getCode($code);
$power->licensing_template = $this->getLicense($code);
$power->main_class_code = $code;
return $power;
}
}
@ -267,7 +263,7 @@ final class Grep
// set local path
if ($this->path && Folder::exists($this->path . '/' . $path->path))
{
$this->full_path = $this->path . '/' . $path->path;
$path->full_path = $this->path . '/' . $path->path;
}
}
else
@ -296,12 +292,12 @@ final class Grep
*/
private function localIndex(object &$path)
{
if (isset($path->local) || !isset($this->full_path))
if (isset($path->local) || !isset($path->full_path))
{
return;
}
if (($content = FileHelper::getContent($this->full_path . '/super-powers.json', null)) !== null &&
if (($content = FileHelper::getContent($path->full_path . '/super-powers.json', null)) !== null &&
JsonHelper::check($content))
{
$path->local = json_decode($content);
@ -371,84 +367,6 @@ final class Grep
return $data;
}
/**
* Get the class body
*
* @param string $code The class
*
* @return string|null The class body, or null if not found
**/
private function getCode($code): ?string
{
// Match class, final class, abstract class, interface, and trait
$pattern = '/(?:class|final class|abstract class|interface|trait)\s+[a-zA-Z0-9_]+\s*(?:extends\s+[a-zA-Z0-9_]+\s*)?(?:implements\s+[a-zA-Z0-9_]+(?:\s*,\s*[a-zA-Z0-9_]+)*)?\s*\{/s';
// Split the input code based on the class declaration pattern
$parts = preg_split($pattern, $code, 2, PREG_SPLIT_DELIM_CAPTURE);
$body = $parts[1] ?? '';
if ($body !== '')
{
// Remove leading and trailing white space
$body = trim($body);
// Remove the first opening curly brace if it exists
if (mb_substr($body, 0, 1) === '{')
{
$body = mb_substr($body, 1);
}
// Remove the last closing curly brace if it exists
if (mb_substr($body, -1) === '}')
{
$body = mb_substr($body, 0, -1);
}
return $body;
}
// No class body found, return null
return null;
}
/**
* Get the class license
*
* @param string $code The class
*
* @return string|null The class license, or null if not found
**/
private function getLicense($code): ?string
{
// Check if the file starts with '<?php'
if (substr($code, 0, 5) !== '<?php')
{
return null;
}
// Trim the '<?php' part
$code = ltrim(substr($code, 5));
// Check if the next part starts with '/*'
if (substr($code, 0, 2) !== '/*')
{
return null;
}
// Find the position of the closing comment '*/'
$endCommentPos = strpos($code, '*/');
// If the closing comment '*/' is found, extract and return the license
if ($endCommentPos !== false)
{
$license = substr($code, 2, $endCommentPos - 2);
return trim($license);
}
// No license found, return null
return null;
}
}

View File

@ -150,17 +150,15 @@
}
// get the settings
if (($settings = FileHelper::getContent($this->full_path . '/' . $path->local->{$guid}->settings, null)) !== null &&
if (($settings = FileHelper::getContent($path->full_path . '/' . $path->local->{$guid}->settings, null)) !== null &&
JsonHelper::check($settings))
{
$power = json_decode($settings);
// get the code
if (($code = FileHelper::getContent($this->full_path . '/' . $path->local->{$guid}->code, null)) !== null)
if (($code = FileHelper::getContent($path->full_path . '/' . $path->local->{$guid}->power, null)) !== null)
{
$power->main_class_code = $this->getCode($code);
$power->licensing_template = $this->getLicense($code);
$power->main_class_code = $code;
return $power;
}
}
@ -189,11 +187,9 @@
isset($power->guid))
{
// get the code
if (($code = $this->loadRemoteFile($path->owner, $path->repo, $path->index->{$guid}->code, $path->branch)) !== null)
if (($code = $this->loadRemoteFile($path->owner, $path->repo, $path->index->{$guid}->power, $path->branch)) !== null)
{
$power->main_class_code = $this->getCode($code);
$power->licensing_template = $this->getLicense($code);
$power->main_class_code = $code;
return $power;
}
}
@ -233,7 +229,7 @@
// set local path
if ($this->path && Folder::exists($this->path . '/' . $path->path))
{
$this->full_path = $this->path . '/' . $path->path;
$path->full_path = $this->path . '/' . $path->path;
}
}
else
@ -262,12 +258,12 @@
*/
private function localIndex(object &$path)
{
if (isset($path->local) || !isset($this->full_path))
if (isset($path->local) || !isset($path->full_path))
{
return;
}
if (($content = FileHelper::getContent($this->full_path . '/super-powers.json', null)) !== null &&
if (($content = FileHelper::getContent($path->full_path . '/super-powers.json', null)) !== null &&
JsonHelper::check($content))
{
$path->local = json_decode($content);
@ -337,81 +333,3 @@
return $data;
}
/**
* Get the class body
*
* @param string $code The class
*
* @return string|null The class body, or null if not found
**/
private function getCode($code): ?string
{
// Match class, final class, abstract class, interface, and trait
$pattern = '/(?:class|final class|abstract class|interface|trait)\s+[a-zA-Z0-9_]+\s*(?:extends\s+[a-zA-Z0-9_]+\s*)?(?:implements\s+[a-zA-Z0-9_]+(?:\s*,\s*[a-zA-Z0-9_]+)*)?\s*\{/s';
// Split the input code based on the class declaration pattern
$parts = preg_split($pattern, $code, 2, PREG_SPLIT_DELIM_CAPTURE);
$body = $parts[1] ?? '';
if ($body !== '')
{
// Remove leading and trailing white space
$body = trim($body);
// Remove the first opening curly brace if it exists
if (mb_substr($body, 0, 1) === '{')
{
$body = mb_substr($body, 1);
}
// Remove the last closing curly brace if it exists
if (mb_substr($body, -1) === '}')
{
$body = mb_substr($body, 0, -1);
}
return $body;
}
// No class body found, return null
return null;
}
/**
* Get the class license
*
* @param string $code The class
*
* @return string|null The class license, or null if not found
**/
private function getLicense($code): ?string
{
// Check if the file starts with '<?php'
if (substr($code, 0, 5) !== '<?php')
{
return null;
}
// Trim the '<?php' part
$code = ltrim(substr($code, 5));
// Check if the next part starts with '/*'
if (substr($code, 0, 2) !== '/*')
{
return null;
}
// Find the position of the closing comment '*/'
$endCommentPos = strpos($code, '*/');
// If the closing comment '*/' is found, extract and return the license
if ($endCommentPos !== false)
{
$license = substr($code, 2, $endCommentPos - 2);
return trim($license);
}
// No license found, return null
return null;
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "6784dd52-0909-451a-a872-9a942a023c68",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Grep",
"power_version": "1.0.0",
@ -26,5 +25,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Power.Grep",
"description": "Power Grep\r\n The Grep feature will try to find your power in the repositories listed in the global\r\n Options of JCB in the super powers tab, and if it can't be found there will try the global core\r\n Super powers of JCB. All searches are performed according the the [algorithm:cascading]\r\n See documentation for more details: https:\/\/git.vdm.dev\/joomla\/super-powers\/wiki\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Filesystem\\Folder;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;"
"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;\r\nuse Joomla\\CMS\\Filesystem\\Folder;\r\nuse Joomla\\CMS\\Application\\CMSApplication;\r\nuse Joomla\\CMS\\Language\\Text;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "6bbb6ffe-3f09-4c21-aa9d-c93159afa1e1",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Folder",
"power_version": "1.0.0",
@ -30,5 +29,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.Folder",
"description": "Folder helper\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Filesystem\\Folder as JoomlaFolder;\r\nuse Joomla\\CMS\\Filesystem\\File as JoomlaFile;"
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 3rd September, 2020\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\\Filesystem\\Folder as JoomlaFolder;\r\nuse Joomla\\CMS\\Filesystem\\File as JoomlaFile;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "6c89c663-78f5-4078-9fac-7047f2eaaf96",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Structure",
"power_version": "1.0.0",
@ -33,5 +32,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Component.Structure",
"description": "Build\/Create Component Structure\r\n\r\n@since 3.2.0"
"description": "Build\/Create Component Structure\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "6da2afa5-6087-46dd-80a0-74c6434bcb18",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "ExtractorInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.Customcode.ExtractorInterface",
"description": "Customcode Extractor Interface\r\n\r\n@since 3.2.0"
"description": "Customcode Extractor Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "6dfbf568-f3cd-4ea7-af04-6859447b5462",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Historyadminview",
"power_version": "1.0.0",
@ -33,5 +32,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Historyadminview",
"description": "Model Admin View History Class\r\n\r\n@since 3.2.0"
"description": "Model Admin View History Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "6e64917c-d687-4ef3-a655-811319f5a81e",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Autoloader",
"power_version": "1.0.0",
@ -41,5 +40,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Power.Autoloader",
"description": "Compiler Autoloader\r\n\r\n@since 3.2.0"
"description": "Compiler Autoloader\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",
"head": "",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "c6bbc3ee-58e7-4463-adba-5c5ae839ee36",
"extends_custom": "JoomlaRegistry",
"guid": "6f20369a-8536-4870-a1a3-cda254c939c8",
"implements": [
"78527c29-24ad-4735-ad4c-ec33a4952d9b"
],
"implements_custom": "",
"load_selection": null,
"name": "Paths",
"power_version": "1.0.0",
@ -27,5 +26,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.Paths",
"description": "Compiler Utilities Paths\r\n\r\n@since 3.2.0"
"description": "Compiler Utilities Paths\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "7175c1cd-2071-4cd7-b499-23881e168c3f",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Data",
"power_version": "1.0.0",
@ -54,5 +53,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Library.Data",
"description": "Library Data Class\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;"
"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;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "766a9524-37df-4604-91a7-b98a6150ee26",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Data",
"power_version": "1.0.0",
@ -74,5 +73,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Joomlaplugin.Data",
"description": "Joomla Plugin Data Class\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;\r\nuse Joomla\\CMS\\Filter\\OutputFilter;"
"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;\r\nuse Joomla\\CMS\\Filter\\OutputFilter;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "78527c29-24ad-4735-ad4c-ec33a4952d9b",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Mappersingleinterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Interfaces.Mappersingleinterface",
"description": "The Single Mapper Interface"
"description": "The Single Mapper Interface",
"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": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "79740ee8-4d10-4b51-9ff5-18e1386ec1c6",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Dynamicget",
"power_version": "1.0.0",
@ -53,5 +52,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Dynamicget",
"description": "Model Dynamic Get Class\r\n\r\n@since 3.2.0"
"description": "Model Dynamic Get Class\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "797579e8-b272-41ed-91de-428cb0b3e089",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Hash",
"power_version": "1.0.0",
@ -29,5 +28,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Customcode.Hash",
"description": "Compiler Custom Code MD5\r\n\r\n@since 3.2.0"
"description": "Compiler Custom Code MD5\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "7a5fd3f3-199e-43ba-a8e8-f473d6c030ec",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "FieldHelper",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "abstract class",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Utilities.FieldHelper",
"description": "The Field Helper\r\n\r\n@since 3.2.0"
"description": "The Field Helper\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",
"head": "",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "7c07c9d6-34cd-4491-934a-ef0a83f414c0",
"implements": [
"a3c515f5-4adf-4eb3-b637-0a1add550da6"
],
"implements_custom": "",
"load_selection": null,
"name": "LockBase",
"power_version": "1.0.0",
@ -31,5 +30,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Customcode.LockBase",
"description": "Compiler Custom Code Base64\r\n\r\n@since 3.2.0"
"description": "Compiler Custom Code Base64\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "81de8f57-dd9c-4a17-964f-848cd4a0743b",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Cryptinterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Interfaces.Cryptinterface",
"description": "The Crypt Interface"
"description": "The Crypt Interface",
"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": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "86ac0760-26f5-4746-9c7f-ce77860f80f8",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Serverinterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Interfaces.Serverinterface",
"description": "The Core Server Interface"
"description": "The Core Server Interface",
"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": "",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "87db51b9-1126-4c21-858b-53dbd3a68b61",
"implements": [
"4325745f-da1f-4d4d-a591-3189fe8c06e5"
],
"implements_custom": "",
"load_selection": null,
"name": "History",
"power_version": "1.0.0",
@ -32,5 +31,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.JoomlaThree.History",
"description": "Compiler History\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;"
"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;",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "87faa133-4cac-4816-ae41-5c3f9a2f76aa",
"implements": [
"-1"
@ -27,5 +27,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Customview",
"description": "Compiler Customview\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "8a63e87b-b39b-4a15-8044-9b2a2f4fb61c",
"implements": [
"-1"
@ -47,5 +47,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Component",
"description": "Component Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "8c018533-e967-4bf2-9bd9-9e92966fcb5e",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "UniqueName",
"power_version": "1.0.0",
@ -25,5 +24,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Field.UniqueName",
"description": "Compiler Field Unique Name\r\n\r\n@since 3.2.0"
"description": "Compiler Field Unique Name\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",
"head": "",
"composer": ""
}

View File

@ -1,12 +1,11 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "8eee7df5-2775-41a9-9372-c46c5939a252",
"implements": [
"d6592c9b-93a6-41b3-83c7-c43a0a80cb83"
],
"implements_custom": "",
"load_selection": null,
"name": "Language",
"power_version": "1.0.0",
@ -31,5 +30,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Language",
"description": "Compiler Language Content\r\n\r\n@since 3.2.0"
"description": "Compiler Language Content\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "9127e428-5dee-46cb-b3a9-ab5b91ea6df3",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Modifieddate",
"power_version": "1.0.0",
@ -26,5 +25,7 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Model.Modifieddate",
"description": "Model - Get Modified Date\r\n\r\n@since 3.2.0",
"head": "use Joomla\\CMS\\Factory;"
"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;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "9387215f-a965-4421-acf3-5e8f9d11382f",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Name",
"power_version": "1.0.0",
@ -49,5 +48,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Field.Name",
"description": "Compiler Field Name\r\n\r\n@since 3.2.0"
"description": "Compiler Field Name\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",
"head": "",
"composer": ""
}

View File

@ -12,6 +12,8 @@
@startuml
class Parser << (F,LightGreen) >> #Green {
+ code(string $code) : array
+ getClassCode(string $code) : ?string
+ getClassLicense(string $code) : ?string
- properties(string $code) : ?array
- methods(string $code) : ?array
- extractDocBlock(string $code, string $declaration) : ?string
@ -33,6 +35,20 @@ note right of Parser::code
return: array
end note
note left of Parser::getClassCode
Get the class body
since: 3.2.0
return: ?string
end note
note right of Parser::getClassLicense
Get the class license
since: 3.2.0
return: ?string
end note
note left of Parser::properties
Extracts properties declarations and other details from the given code.

View File

@ -37,6 +37,86 @@ final class Parser
];
}
/**
* Get the class body
*
* @param string $code The class as a string
*
* @return string|null The class body, or null if not found
* @since 3.2.0
**/
public function getClassCode(string $code): ?string
{
// Match class, final class, abstract class, interface, and trait
$pattern = '/(?:class|final class|abstract class|interface|trait)\s+[a-zA-Z0-9_]+\s*(?:extends\s+[a-zA-Z0-9_]+\s*)?(?:implements\s+[a-zA-Z0-9_]+(?:\s*,\s*[a-zA-Z0-9_]+)*)?\s*\{/s';
// Split the input code based on the class declaration pattern
$parts = preg_split($pattern, $code, 2, PREG_SPLIT_DELIM_CAPTURE);
$body = $parts[1] ?? '';
if ($body !== '')
{
// Remove leading and trailing white space
$body = trim($body);
// Remove the first opening curly brace if it exists
if (mb_substr($body, 0, 1) === '{')
{
$body = mb_substr($body, 1);
}
// Remove the last closing curly brace if it exists
if (mb_substr($body, -1) === '}')
{
$body = mb_substr($body, 0, -1);
}
return $body;
}
// No class body found, return null
return null;
}
/**
* Get the class license
*
* @param string $code The class as a string
*
* @return string|null The class license, or null if not found
* @since 3.2.0
**/
public function getClassLicense(string $code): ?string
{
// Check if the file starts with '<?php'
if (substr($code, 0, 5) !== '<?php')
{
return null;
}
// Trim the '<?php' part
$code = ltrim(substr($code, 5));
// Check if the next part starts with '/*'
if (substr($code, 0, 2) !== '/*')
{
return null;
}
// Find the position of the closing comment '*/'
$endCommentPos = strpos($code, '*/');
// If the closing comment '*/' is found, extract and return the license
if ($endCommentPos !== false)
{
$license = substr($code, 2, $endCommentPos - 2);
return trim($license);
}
// No license found, return null
return null;
}
/**
* Extracts properties declarations and other details from the given code.
*

View File

@ -14,6 +14,86 @@
];
}
/**
* Get the class body
*
* @param string $code The class as a string
*
* @return string|null The class body, or null if not found
* @since 3.2.0
**/
public function getClassCode(string $code): ?string
{
// Match class, final class, abstract class, interface, and trait
$pattern = '/(?:class|final class|abstract class|interface|trait)\s+[a-zA-Z0-9_]+\s*(?:extends\s+[a-zA-Z0-9_]+\s*)?(?:implements\s+[a-zA-Z0-9_]+(?:\s*,\s*[a-zA-Z0-9_]+)*)?\s*\{/s';
// Split the input code based on the class declaration pattern
$parts = preg_split($pattern, $code, 2, PREG_SPLIT_DELIM_CAPTURE);
$body = $parts[1] ?? '';
if ($body !== '')
{
// Remove leading and trailing white space
$body = trim($body);
// Remove the first opening curly brace if it exists
if (mb_substr($body, 0, 1) === '{')
{
$body = mb_substr($body, 1);
}
// Remove the last closing curly brace if it exists
if (mb_substr($body, -1) === '}')
{
$body = mb_substr($body, 0, -1);
}
return $body;
}
// No class body found, return null
return null;
}
/**
* Get the class license
*
* @param string $code The class as a string
*
* @return string|null The class license, or null if not found
* @since 3.2.0
**/
public function getClassLicense(string $code): ?string
{
// Check if the file starts with '<?php'
if (substr($code, 0, 5) !== '<?php')
{
return null;
}
// Trim the '<?php' part
$code = ltrim(substr($code, 5));
// Check if the next part starts with '/*'
if (substr($code, 0, 2) !== '/*')
{
return null;
}
// Find the position of the closing comment '*/'
$endCommentPos = strpos($code, '*/');
// If the closing comment '*/' is found, extract and return the license
if ($endCommentPos !== false)
{
$license = substr($code, 2, $endCommentPos - 2);
return trim($license);
}
// No license found, return null
return null;
}
/**
* Extracts properties declarations and other details from the given code.
*

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "95d0e03f-24fd-4412-bc2e-f0899fcc3205",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Parser",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "final class",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Power.Parser",
"description": "Compiler Power Parser\r\n Very basic php class methods parser, does not catch all edge-cases!\r\n Use this only on code that are following standard good practices\r\n Suggested improvements are welcome\r\n@since 3.2.0"
"description": "Compiler Power Parser\r\n Very basic php class methods parser, does not catch all edge-cases!\r\n Use this only on code that are following standard good practices\r\n Suggested improvements are welcome\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "97698747-c2ce-4e09-a470-acf6d8e86281",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "PlaceholderInterface",
"power_version": "1.0.0",
@ -12,5 +11,8 @@
"type": "interface",
"use_selection": null,
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Interfaces.Component.PlaceholderInterface",
"description": "Component Placeholder Interface\r\n\r\n@since 3.2.0"
"description": "Component Placeholder Interface\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",
"head": "",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "99368a6f-2f64-4d4e-ad3a-544d4020ecc6",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "DatabaseName",
"power_version": "1.0.0",
@ -25,5 +24,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Field.DatabaseName",
"description": "Compiler Field Database Name\r\n\r\n@since 3.2.0"
"description": "Compiler Field Database Name\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",
"head": "",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "9eba241c-af90-42dd-ae05-92ff4d8391d3",
"implements": [
"-1"
@ -23,5 +23,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Joomlaplugin",
"description": "Joomla Plugin Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "Registry",
"guid": "9f00e793-86f8-4ef9-b775-a3eb129f83c0",
"implements": [
"-1"
@ -23,5 +23,8 @@
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Service.Language",
"description": "Compiler Language Service Provider\r\n\r\n@since 3.2.0",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\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",
"head": "use Joomla\\DI\\Container;\r\nuse Joomla\\DI\\ServiceProviderInterface;",
"composer": ""
}

View File

@ -1,10 +1,9 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends_custom": "",
"guid": "a356d103-74f3-49ca-8e4f-3bd37746f089",
"implements": null,
"implements_custom": "",
"load_selection": null,
"name": "Customcode",
"power_version": "1.0.0",
@ -25,5 +24,8 @@
}
},
"namespace": "VDM\\Joomla\\Componentbuilder.Compiler.Field.Customcode",
"description": "Compiler Field Customcode\r\n\r\n@since 3.2.0"
"description": "Compiler Field Customcode\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",
"head": "",
"composer": ""
}

Some files were not shown because too many files have changed in this diff Show More