forked from joomla/Component-Builder
Update on v3.2.0-beta5 (changes towards the next release)
Here's an update on the current version, which includes changes towards the next release still in development.
This commit is contained in:
parent
39df50c555
commit
f5f308dbf2
@ -144,14 +144,14 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 10th March, 2024
|
+ *Last Build*: 11th March, 2024
|
||||||
+ *Version*: 3.2.0-beta5
|
+ *Version*: 3.2.0-beta5
|
||||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **742015**
|
+ *Line count*: **738787**
|
||||||
+ *Field count*: **2078**
|
+ *Field count*: **2078**
|
||||||
+ *File count*: **5205**
|
+ *File count*: **5199**
|
||||||
+ *Folder count*: **462**
|
+ *Folder count*: **459**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
|
@ -144,14 +144,14 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 10th March, 2024
|
+ *Last Build*: 11th March, 2024
|
||||||
+ *Version*: 3.2.0-beta5
|
+ *Version*: 3.2.0-beta5
|
||||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **742015**
|
+ *Line count*: **738787**
|
||||||
+ *Field count*: **2078**
|
+ *Field count*: **2078**
|
||||||
+ *File count*: **5205**
|
+ *File count*: **5199**
|
||||||
+ *Folder count*: **462**
|
+ *Folder count*: **459**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Application\CMSApplication;
|
use Joomla\CMS\Application\CMSApplication;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Model;
|
||||||
|
|
||||||
###AJAX_ADMIN_MODEL_HEADER###
|
###AJAX_ADMIN_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\BaseController;
|
use Joomla\CMS\MVC\Controller\BaseController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Extension;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Extension;
|
||||||
|
|
||||||
use Joomla\CMS\Association\AssociationServiceInterface;
|
use Joomla\CMS\Association\AssociationServiceInterface;
|
||||||
use Joomla\CMS\Association\AssociationServiceTrait;
|
use Joomla\CMS\Association\AssociationServiceTrait;
|
||||||
@ -31,7 +31,7 @@ use Joomla\CMS\Language\Text;
|
|||||||
use Joomla\CMS\Tag\TagServiceInterface;
|
use Joomla\CMS\Tag\TagServiceInterface;
|
||||||
use Joomla\CMS\Tag\TagServiceTrait;
|
use Joomla\CMS\Tag\TagServiceTrait;
|
||||||
use Joomla\CMS\User\UserFactoryInterface;
|
use Joomla\CMS\User\UserFactoryInterface;
|
||||||
// (soon) use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Service\HTML\AdministratorService;
|
// (soon) use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Service\HTML\AdministratorService;
|
||||||
use Psr\Container\ContainerInterface;
|
use Psr\Container\ContainerInterface;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Document\Document;
|
use Joomla\CMS\Document\Document;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper;
|
||||||
|
|
||||||
###ADMIN_POWER_HELPER###
|
###ADMIN_POWER_HELPER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\MVC\Controller\BaseController;
|
use Joomla\CMS\MVC\Controller\BaseController;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
###IMPORT_CONTROLLER_HEADER###
|
###IMPORT_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
###IMPORT_CUSTOM_CONTROLLER_HEADER###
|
###IMPORT_CUSTOM_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,13 +13,13 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\View\Import;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\View\Import;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
||||||
use Joomla\CMS\Toolbar\ToolbarHelper;
|
use Joomla\CMS\Toolbar\ToolbarHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;###LICENSE_LOCKED_DEFINED###
|
\defined('_JEXEC') or die;###LICENSE_LOCKED_DEFINED###
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\View\###View###Import;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\View\###View###Import;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
@ -22,7 +22,7 @@ use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
|||||||
use Joomla\CMS\Toolbar\ToolbarHelper;
|
use Joomla\CMS\Toolbar\ToolbarHelper;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;###LICENSE_LOCKED_DEFINED###
|
\defined('_JEXEC') or die;###LICENSE_LOCKED_DEFINED###
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Model;
|
||||||
|
|
||||||
###IMPORT_MODEL_HEADER###
|
###IMPORT_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Model;
|
||||||
|
|
||||||
###IMPORT_CUSTOM_MODEL_HEADER###
|
###IMPORT_CUSTOM_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ use Joomla\CMS\Extension\Service\Provider\MVCFactory;
|
|||||||
use Joomla\CMS\Extension\Service\Provider\RouterFactory;
|
use Joomla\CMS\Extension\Service\Provider\RouterFactory;
|
||||||
use Joomla\CMS\HTML\Registry;
|
use Joomla\CMS\HTML\Registry;
|
||||||
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
|
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Extension\###Component###Component;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Extension\###Component###Component;
|
||||||
// (soon) use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\AssociationsHelper;
|
// (soon) use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\AssociationsHelper;
|
||||||
use Joomla\DI\Container;
|
use Joomla\DI\Container;
|
||||||
use Joomla\DI\ServiceProviderInterface;
|
use Joomla\DI\ServiceProviderInterface;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
###ADMIN_VIEWS_CONTROLLER_HEADER###
|
###ADMIN_VIEWS_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\View\###Views###;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\View\###Views###;
|
||||||
|
|
||||||
###ADMIN_VIEWS_HTML_HEADER###
|
###ADMIN_VIEWS_HTML_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Model;
|
||||||
|
|
||||||
###ADMIN_VIEWS_MODEL_HEADER###
|
###ADMIN_VIEWS_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
###ADMIN_VIEW_CONTROLLER_HEADER###
|
###ADMIN_VIEW_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\View\###View###;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\View\###View###;
|
||||||
|
|
||||||
###ADMIN_VIEW_HTML_HEADER###
|
###ADMIN_VIEW_HTML_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Model;
|
||||||
|
|
||||||
###ADMIN_VIEW_MODEL_HEADER###
|
###ADMIN_VIEW_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Table;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Table;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Table\Table;
|
use Joomla\CMS\Table\Table;
|
||||||
@ -33,7 +33,7 @@ use Joomla\Database\DatabaseDriver;
|
|||||||
use Joomla\Event\DispatcherInterface;
|
use Joomla\Event\DispatcherInterface;
|
||||||
use Joomla\String\StringHelper;
|
use Joomla\String\StringHelper;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
###CUSTOM_ADMIN_VIEWS_CONTROLLER_HEADER###
|
###CUSTOM_ADMIN_VIEWS_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\View\###SViews###;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\View\###SViews###;
|
||||||
|
|
||||||
###CUSTOM_ADMIN_VIEWS_HTML_HEADER######CUSTOM_ADMIN_GET_MODULE_JIMPORT###
|
###CUSTOM_ADMIN_VIEWS_HTML_HEADER######CUSTOM_ADMIN_GET_MODULE_JIMPORT###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Model;
|
||||||
|
|
||||||
###CUSTOM_ADMIN_VIEWS_MODEL_HEADER###
|
###CUSTOM_ADMIN_VIEWS_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
###CUSTOM_ADMIN_VIEW_CONTROLLER_HEADER###
|
###CUSTOM_ADMIN_VIEW_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\View\###SView###;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\View\###SView###;
|
||||||
|
|
||||||
###CUSTOM_ADMIN_VIEW_HTML_HEADER######CUSTOM_ADMIN_GET_MODULE_JIMPORT###
|
###CUSTOM_ADMIN_VIEW_HTML_HEADER######CUSTOM_ADMIN_GET_MODULE_JIMPORT###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Model;
|
||||||
|
|
||||||
###CUSTOM_ADMIN_VIEW_MODEL_HEADER###
|
###CUSTOM_ADMIN_VIEW_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Controller;
|
||||||
|
|
||||||
###DASH_CONTROLLER_HEADER###
|
###DASH_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Model;
|
||||||
|
|
||||||
###DASH_MODEL_HEADER###
|
###DASH_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\View\###Component###;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\View\###Component###;
|
||||||
|
|
||||||
###DASH_VIEW_HTML_HEADER###
|
###DASH_VIEW_HTML_HEADER###
|
||||||
|
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Field;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Form\Field\CheckboxesField;
|
use Joomla\CMS\Form\Field\CheckboxesField;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Field;
|
||||||
|
|
||||||
###FORM_CUSTOM_FIELD_HEADER###
|
###FORM_CUSTOM_FIELD_HEADER###
|
||||||
|
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Field;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Form\Field\ListField;
|
use Joomla\CMS\Form\Field\ListField;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Field;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Form\Field\RadioField;
|
use Joomla\CMS\Form\Field\RadioField;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Rule;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Rule;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
@ -22,7 +22,7 @@ use Joomla\CMS\Form\FormRule;
|
|||||||
use Joomla\Registry\Registry;
|
use Joomla\Registry\Registry;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('JPATH_PLATFORM') or die;
|
\defined('JPATH_PLATFORM') or die;
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Field;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Form\Field\UserField;
|
use Joomla\CMS\Form\Field\UserField;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Controller;
|
||||||
|
|
||||||
###SITE_ADMIN_VIEW_CONTROLLER_HEADER###
|
###SITE_ADMIN_VIEW_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\View\###View###;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\View\###View###;
|
||||||
|
|
||||||
###SITE_ADMIN_VIEW_HTML_HEADER###
|
###SITE_ADMIN_VIEW_HTML_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Model;
|
||||||
|
|
||||||
###SITE_ADMIN_VIEW_MODEL_HEADER###
|
###SITE_ADMIN_VIEW_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Controller;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Application\CMSApplication;
|
use Joomla\CMS\Application\CMSApplication;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Model;
|
||||||
|
|
||||||
###AJAX_SITE_MODEL_HEADER###
|
###AJAX_SITE_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Dispatcher;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Dispatcher;
|
||||||
|
|
||||||
use Joomla\CMS\Dispatcher\ComponentDispatcher;
|
use Joomla\CMS\Dispatcher\ComponentDispatcher;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Controller;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\MVC\Controller\BaseController;
|
use Joomla\CMS\MVC\Controller\BaseController;
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Field;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Form\Field\CheckboxesField;
|
use Joomla\CMS\Form\Field\CheckboxesField;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Field;
|
||||||
|
|
||||||
###SITE_FORM_CUSTOM_FIELD_HEADER###
|
###SITE_FORM_CUSTOM_FIELD_HEADER###
|
||||||
|
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Field;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Form\Field\ListField;
|
use Joomla\CMS\Form\Field\ListField;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Field;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Form\Field\RadioField;
|
use Joomla\CMS\Form\Field\RadioField;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Rule;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Rule;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
@ -22,7 +22,7 @@ use Joomla\CMS\Form\FormRule;
|
|||||||
use Joomla\Registry\Registry;
|
use Joomla\Registry\Registry;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('JPATH_PLATFORM') or die;
|
\defined('JPATH_PLATFORM') or die;
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Field;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Field;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Form\Field\UserField;
|
use Joomla\CMS\Form\Field\UserField;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Helper;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Helper;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Document\Document;
|
use Joomla\CMS\Document\Document;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Helper;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Helper;
|
||||||
|
|
||||||
###SITE_POWER_HELPER###
|
###SITE_POWER_HELPER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Controller;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\MVC\Controller\BaseController;
|
use Joomla\CMS\MVC\Controller\BaseController;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Service;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Service;
|
||||||
|
|
||||||
###SITE_ROUTER_HEADER###
|
###SITE_ROUTER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Helper;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Helper;
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\View\###SViews###;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\View\###SViews###;
|
||||||
|
|
||||||
###SITE_VIEWS_HTML_HEADER######SITE_GET_MODULE_JIMPORT###
|
###SITE_VIEWS_HTML_HEADER######SITE_GET_MODULE_JIMPORT###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Model;
|
||||||
|
|
||||||
###SITE_VIEWS_MODEL_HEADER###
|
###SITE_VIEWS_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Controller;
|
||||||
|
|
||||||
###SITE_VIEW_CONTROLLER_HEADER###
|
###SITE_VIEW_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\View\###SView###;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\View\###SView###;
|
||||||
|
|
||||||
###SITE_VIEW_HTML_HEADER######SITE_GET_MODULE_JIMPORT###
|
###SITE_VIEW_HTML_HEADER######SITE_GET_MODULE_JIMPORT###
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JCB_TEMPLATE') or die;
|
defined('_JCB_TEMPLATE') or die;
|
||||||
?>
|
?>
|
||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Site\Model;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Model;
|
||||||
|
|
||||||
###SITE_VIEW_MODEL_HEADER###
|
###SITE_VIEW_MODEL_HEADER###
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<p>###DESCRIPTION###</p>
|
<p>###DESCRIPTION###</p>
|
||||||
<p>Created by <a href="###AUTHORWEBSITE###" target="_blank">###AUTHOR###</a><br /><small>Development started ###CREATIONDATE###</small></p>
|
<p>Created by <a href="###AUTHORWEBSITE###" target="_blank">###AUTHOR###</a><br /><small>Development started ###CREATIONDATE###</small></p>
|
||||||
]]></description>
|
]]></description>
|
||||||
<namespace path="src">###NAMESPACEPREFIX###\Component\###ComponentNameSpace###</namespace>
|
<namespace path="src">###NAMESPACEPREFIX###\Component\###ComponentNamespace###</namespace>
|
||||||
|
|
||||||
<!-- Runs on install -->
|
<!-- Runs on install -->
|
||||||
<install>
|
<install>
|
||||||
|
@ -17,7 +17,7 @@ defined('_JCB_TEMPLATE') or die;
|
|||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die;###LICENSE_LOCKED_DEFINED###
|
defined('_JEXEC') or die;###LICENSE_LOCKED_DEFINED###
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<form
|
<form
|
||||||
addruleprefix="###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Rule"
|
addruleprefix="###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Rule"
|
||||||
addfieldprefix="###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Field"
|
addfieldprefix="###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Field"
|
||||||
>
|
>
|
||||||
###FIELDFILTERSETS###
|
###FIELDFILTERSETS###
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ defined('_JCB_TEMPLATE') or die;
|
|||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Helper\###Component###Helper;
|
use ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Helper\###Component###Helper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die;
|
defined('_JEXEC') or die;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<form
|
<form
|
||||||
addruleprefix="###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Rule"
|
addruleprefix="###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Rule"
|
||||||
addfieldprefix="###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Field"
|
addfieldprefix="###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator\Field"
|
||||||
>
|
>
|
||||||
<config>
|
<config>
|
||||||
<inlinehelp button="show"/>
|
<inlinehelp button="show"/>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="component" version="3.10" method="upgrade">
|
<extension type="component" version="3.10" method="upgrade">
|
||||||
<name>COM_COMPONENTBUILDER</name>
|
<name>COM_COMPONENTBUILDER</name>
|
||||||
<creationDate>10th March, 2024</creationDate>
|
<creationDate>11th March, 2024</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>joomla@vdm.io</authorEmail>
|
<authorEmail>joomla@vdm.io</authorEmail>
|
||||||
<authorUrl>https://dev.vdm.io</authorUrl>
|
<authorUrl>https://dev.vdm.io</authorUrl>
|
||||||
|
@ -17,6 +17,7 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
use VDM\Joomla\Utilities\GetHelper;
|
use VDM\Joomla\Utilities\GetHelper;
|
||||||
use VDM\Joomla\Utilities\JsonHelper;
|
use VDM\Joomla\Utilities\JsonHelper;
|
||||||
use VDM\Joomla\Utilities\ArrayHelper;
|
use VDM\Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\String\NamespaceHelper;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler;
|
use VDM\Joomla\Componentbuilder\Compiler\Factory as Compiler;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Config;
|
use VDM\Joomla\Componentbuilder\Compiler\Config;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Utilities\Placefix;
|
use VDM\Joomla\Componentbuilder\Compiler\Utilities\Placefix;
|
||||||
@ -117,6 +118,12 @@ final class Placeholder implements PlaceholderInterface
|
|||||||
$bucket[Placefix::_('COMPONENT')] = $bucket[Placefix::_h('COMPONENT')];
|
$bucket[Placefix::_('COMPONENT')] = $bucket[Placefix::_h('COMPONENT')];
|
||||||
$bucket[Placefix::_h('LANG_PREFIX')] = $config->lang_prefix;
|
$bucket[Placefix::_h('LANG_PREFIX')] = $config->lang_prefix;
|
||||||
$bucket[Placefix::_('LANG_PREFIX')] = $bucket[Placefix::_h('LANG_PREFIX')];
|
$bucket[Placefix::_('LANG_PREFIX')] = $bucket[Placefix::_h('LANG_PREFIX')];
|
||||||
|
$bucket[Placefix::_h('ComponentNamespace')] = NamespaceHelper::safeSegment(StringHelper::safe($config->component_code_name, 'F'));
|
||||||
|
$bucket[Placefix::_('ComponentNamespace')] = $bucket[Placefix::_h('ComponentNamespace')];
|
||||||
|
$bucket[Placefix::_h('NamespacePrefix')] = $config->namespace_prefix;
|
||||||
|
$bucket[Placefix::_('NamespacePrefix')] = $config->namespace_prefix;
|
||||||
|
$bucket[Placefix::_h('NAMESPACEPREFIX')] = $config->namespace_prefix;
|
||||||
|
$bucket[Placefix::_('NAMESPACEPREFIX')] = $config->namespace_prefix;
|
||||||
|
|
||||||
// get the current components overrides
|
// get the current components overrides
|
||||||
if (($_placeholders = GetHelper::var(
|
if (($_placeholders = GetHelper::var(
|
||||||
|
@ -125,6 +125,9 @@ final class InstallScript implements GetScriptInterface
|
|||||||
*/
|
*/
|
||||||
public function get(object $extension): string
|
public function get(object $extension): string
|
||||||
{
|
{
|
||||||
|
// purge the object
|
||||||
|
$this->rest();
|
||||||
|
|
||||||
// loop over methods and types
|
// loop over methods and types
|
||||||
foreach ($this->methods as $method)
|
foreach ($this->methods as $method)
|
||||||
{
|
{
|
||||||
@ -160,6 +163,24 @@ final class InstallScript implements GetScriptInterface
|
|||||||
return $this->build();
|
return $this->build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reset all bucket at the start of each build
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
* @since 3.2.0
|
||||||
|
*/
|
||||||
|
protected function rest(): void
|
||||||
|
{
|
||||||
|
$this->construct = [];
|
||||||
|
$this->install = [];
|
||||||
|
$this->update = [];
|
||||||
|
$this->uninstall = [];
|
||||||
|
$this->preflightActive = false;
|
||||||
|
$this->preflightBucket = ['install' => [], 'uninstall' => [], 'discover_install' => [], 'update' => []];
|
||||||
|
$this->postflightActive = false;
|
||||||
|
$this->postflightBucket = ['install' => [], 'uninstall' => [], 'discover_install' => [], 'update' => []];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* build the install class
|
* build the install class
|
||||||
*
|
*
|
||||||
|
@ -125,6 +125,9 @@ final class InstallScript implements GetScriptInterface
|
|||||||
*/
|
*/
|
||||||
public function get(object $extension): string
|
public function get(object $extension): string
|
||||||
{
|
{
|
||||||
|
// purge the object
|
||||||
|
$this->rest();
|
||||||
|
|
||||||
// loop over methods and types
|
// loop over methods and types
|
||||||
foreach ($this->methods as $method)
|
foreach ($this->methods as $method)
|
||||||
{
|
{
|
||||||
@ -160,6 +163,24 @@ final class InstallScript implements GetScriptInterface
|
|||||||
return $this->build();
|
return $this->build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reset all bucket at the start of each build
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
* @since 3.2.0
|
||||||
|
*/
|
||||||
|
protected function rest(): void
|
||||||
|
{
|
||||||
|
$this->construct = [];
|
||||||
|
$this->install = [];
|
||||||
|
$this->update = [];
|
||||||
|
$this->uninstall = [];
|
||||||
|
$this->preflightActive = false;
|
||||||
|
$this->preflightBucket = ['install' => [], 'uninstall' => [], 'discover_install' => [], 'update' => []];
|
||||||
|
$this->postflightActive = false;
|
||||||
|
$this->postflightBucket = ['install' => [], 'uninstall' => [], 'discover_install' => [], 'update' => []];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* build the install class
|
* build the install class
|
||||||
*
|
*
|
||||||
|
@ -125,6 +125,9 @@ final class InstallScript implements GetScriptInterface
|
|||||||
*/
|
*/
|
||||||
public function get(object $extension): string
|
public function get(object $extension): string
|
||||||
{
|
{
|
||||||
|
// purge the object
|
||||||
|
$this->rest();
|
||||||
|
|
||||||
// loop over methods and types
|
// loop over methods and types
|
||||||
foreach ($this->methods as $method)
|
foreach ($this->methods as $method)
|
||||||
{
|
{
|
||||||
@ -160,6 +163,24 @@ final class InstallScript implements GetScriptInterface
|
|||||||
return $this->build();
|
return $this->build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reset all bucket at the start of each build
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
* @since 3.2.0
|
||||||
|
*/
|
||||||
|
protected function rest(): void
|
||||||
|
{
|
||||||
|
$this->construct = [];
|
||||||
|
$this->install = [];
|
||||||
|
$this->update = [];
|
||||||
|
$this->uninstall = [];
|
||||||
|
$this->preflightActive = false;
|
||||||
|
$this->preflightBucket = ['install' => [], 'uninstall' => [], 'discover_install' => [], 'update' => []];
|
||||||
|
$this->postflightActive = false;
|
||||||
|
$this->postflightBucket = ['install' => [], 'uninstall' => [], 'discover_install' => [], 'update' => []];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* build the install class
|
* build the install class
|
||||||
*
|
*
|
||||||
|
@ -101,9 +101,9 @@ class Infusion extends Interpretation
|
|||||||
CFactory::_('Placeholder')->get('component')
|
CFactory::_('Placeholder')->get('component')
|
||||||
);
|
);
|
||||||
|
|
||||||
// ComponentNameSpace
|
// ComponentNamespace
|
||||||
CFactory::_('Compiler.Builder.Content.One')->set('ComponentNameSpace',
|
CFactory::_('Compiler.Builder.Content.One')->set('ComponentNamespace',
|
||||||
NamespaceHelper::safeSegment(CFactory::_('Placeholder')->get('Component'))
|
CFactory::_('Placeholder')->get('ComponentNamespace')
|
||||||
);
|
);
|
||||||
|
|
||||||
// COMPANYNAME
|
// COMPANYNAME
|
||||||
@ -197,7 +197,7 @@ class Infusion extends Interpretation
|
|||||||
|
|
||||||
// set the namespace prefix
|
// set the namespace prefix
|
||||||
CFactory::_('Compiler.Builder.Content.One')->set('NAMESPACEPREFIX',
|
CFactory::_('Compiler.Builder.Content.One')->set('NAMESPACEPREFIX',
|
||||||
CFactory::_('Config')->namespace_prefix
|
CFactory::_('Placeholder')->get('NAMESPACEPREFIX')
|
||||||
);
|
);
|
||||||
|
|
||||||
// set the global version in case
|
// set the global version in case
|
||||||
|
@ -2274,11 +2274,11 @@ class Interpretation extends Fields
|
|||||||
{
|
{
|
||||||
$xml .= PHP_EOL . Indent::_(3)
|
$xml .= PHP_EOL . Indent::_(3)
|
||||||
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\\'. $target_area . '\Rule"';
|
. '\\'. $target_area . '\Rule"';
|
||||||
$xml .= PHP_EOL . Indent::_(3)
|
$xml .= PHP_EOL . Indent::_(3)
|
||||||
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\\'. $target_area . '\Field">';
|
. '\\'. $target_area . '\Field">';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2331,11 +2331,11 @@ class Interpretation extends Fields
|
|||||||
{
|
{
|
||||||
$xml .= PHP_EOL . Indent::_(3)
|
$xml .= PHP_EOL . Indent::_(3)
|
||||||
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\\'. $target_area . '\Rule"';
|
. '\\'. $target_area . '\Rule"';
|
||||||
$xml .= PHP_EOL . Indent::_(3)
|
$xml .= PHP_EOL . Indent::_(3)
|
||||||
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\\'. $target_area . '\Field">';
|
. '\\'. $target_area . '\Field">';
|
||||||
}
|
}
|
||||||
$xml .= implode(Indent::_(3), $params);
|
$xml .= implode(Indent::_(3), $params);
|
||||||
@ -8918,7 +8918,7 @@ class Interpretation extends Fields
|
|||||||
// set the table
|
// set the table
|
||||||
$array['table'] = '{"special": {"dbtable": "#__' . $component . '_'
|
$array['table'] = '{"special": {"dbtable": "#__' . $component . '_'
|
||||||
. $view . '","key": "id","type": "' . $View . 'Table","prefix": "' . CFactory::_('Config')->namespace_prefix
|
. $view . '","key": "id","type": "' . $View . 'Table","prefix": "' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\\Administrator\\Table"}}';
|
. '\\Administrator\\Table"}}';
|
||||||
|
|
||||||
// set rules field
|
// set rules field
|
||||||
@ -23182,11 +23182,11 @@ class Interpretation extends Fields
|
|||||||
{
|
{
|
||||||
$xml .= PHP_EOL . Indent::_(3)
|
$xml .= PHP_EOL . Indent::_(3)
|
||||||
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\Administrator\Rule"';
|
. '\Administrator\Rule"';
|
||||||
$xml .= PHP_EOL . Indent::_(3)
|
$xml .= PHP_EOL . Indent::_(3)
|
||||||
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\Administrator\Field">';
|
. '\Administrator\Field">';
|
||||||
}
|
}
|
||||||
$xml .= PHP_EOL . Indent::_(1) . '>';
|
$xml .= PHP_EOL . Indent::_(1) . '>';
|
||||||
@ -23585,11 +23585,11 @@ class Interpretation extends Fields
|
|||||||
{
|
{
|
||||||
$xml .= PHP_EOL . Indent::_(3)
|
$xml .= PHP_EOL . Indent::_(3)
|
||||||
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\Administrator\Rule"';
|
. '\Administrator\Rule"';
|
||||||
$xml .= PHP_EOL . Indent::_(3)
|
$xml .= PHP_EOL . Indent::_(3)
|
||||||
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
||||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||||
. '\Administrator\Field">';
|
. '\Administrator\Field">';
|
||||||
}
|
}
|
||||||
$xml .= PHP_EOL . Indent::_(1) . '>';
|
$xml .= PHP_EOL . Indent::_(1) . '>';
|
||||||
|
@ -22,7 +22,6 @@ use VDM\Joomla\Componentbuilder\Compiler\Builder\Category;
|
|||||||
use VDM\Joomla\Componentbuilder\Compiler\Builder\AccessSwitchList;
|
use VDM\Joomla\Componentbuilder\Compiler\Builder\AccessSwitchList;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Builder\Filter;
|
use VDM\Joomla\Componentbuilder\Compiler\Builder\Filter;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Builder\Tags;
|
use VDM\Joomla\Componentbuilder\Compiler\Builder\Tags;
|
||||||
use VDM\Joomla\Utilities\String\NamespaceHelper;
|
|
||||||
use VDM\Joomla\Utilities\ArrayHelper;
|
use VDM\Joomla\Utilities\ArrayHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Interfaces\HeaderInterface;
|
use VDM\Joomla\Componentbuilder\Compiler\Interfaces\HeaderInterface;
|
||||||
@ -145,7 +144,7 @@ final class Header implements HeaderInterface
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
*/
|
*/
|
||||||
protected string $ComponentNameSpace;
|
protected string $ComponentNamespace;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
@ -181,9 +180,9 @@ final class Header implements HeaderInterface
|
|||||||
$this->tags = $tags;
|
$this->tags = $tags;
|
||||||
|
|
||||||
// set some global values
|
// set some global values
|
||||||
$this->NamespacePrefix = $this->config->get('namespace_prefix');
|
$this->NamespacePrefix = $this->placeholder->get('NamespacePrefix');
|
||||||
$this->ComponentName = $this->placeholder->get('Component');
|
$this->ComponentName = $this->placeholder->get('Component');
|
||||||
$this->ComponentNameSpace = NamespaceHelper::safeSegment($this->ComponentName);
|
$this->ComponentNamespace = $this->placeholder->get('ComponentNamespace');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -209,7 +208,7 @@ final class Header implements HeaderInterface
|
|||||||
$target = 'Site';
|
$target = 'Site';
|
||||||
}
|
}
|
||||||
|
|
||||||
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNameSpace}\\{$target}\\Helper\\{$this->ComponentName}Helper;";
|
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNamespace}\\{$target}\\Helper\\{$this->ComponentName}Helper;";
|
||||||
|
|
||||||
// we will add more as needed
|
// we will add more as needed
|
||||||
switch ($context)
|
switch ($context)
|
||||||
@ -218,7 +217,7 @@ final class Header implements HeaderInterface
|
|||||||
case 'site.views.model':
|
case 'site.views.model':
|
||||||
case 'site.view.html':
|
case 'site.view.html':
|
||||||
case 'site.views.html':
|
case 'site.views.html':
|
||||||
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNameSpace}\\Site\\Helper\\RouteHelper;";
|
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNamespace}\\Site\\Helper\\RouteHelper;";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -387,7 +386,7 @@ final class Header implements HeaderInterface
|
|||||||
$headers[] = 'use Joomla\CMS\Plugin\PluginHelper;';
|
$headers[] = 'use Joomla\CMS\Plugin\PluginHelper;';
|
||||||
$headers[] = 'use Joomla\CMS\Toolbar\ToolbarHelper;';
|
$headers[] = 'use Joomla\CMS\Toolbar\ToolbarHelper;';
|
||||||
$headers[] = 'use Joomla\CMS\Document\Document;';
|
$headers[] = 'use Joomla\CMS\Document\Document;';
|
||||||
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNameSpace}\\Site\\Helper\\HeaderCheck;";
|
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNamespace}\\Site\\Helper\\HeaderCheck;";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'custom.admin.view.html':
|
case 'custom.admin.view.html':
|
||||||
@ -404,7 +403,7 @@ final class Header implements HeaderInterface
|
|||||||
$headers[] = 'use Joomla\CMS\Plugin\PluginHelper;';
|
$headers[] = 'use Joomla\CMS\Plugin\PluginHelper;';
|
||||||
$headers[] = 'use Joomla\CMS\Toolbar\ToolbarHelper;';
|
$headers[] = 'use Joomla\CMS\Toolbar\ToolbarHelper;';
|
||||||
$headers[] = 'use Joomla\CMS\Document\Document;';
|
$headers[] = 'use Joomla\CMS\Document\Document;';
|
||||||
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNameSpace}\\{$target}\\Helper\\HeaderCheck;";
|
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNamespace}\\{$target}\\Helper\\HeaderCheck;";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'admin.view.model':
|
case 'admin.view.model':
|
||||||
|
@ -22,7 +22,6 @@ use VDM\Joomla\Componentbuilder\Compiler\Builder\Category;
|
|||||||
use VDM\Joomla\Componentbuilder\Compiler\Builder\AccessSwitchList;
|
use VDM\Joomla\Componentbuilder\Compiler\Builder\AccessSwitchList;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Builder\Filter;
|
use VDM\Joomla\Componentbuilder\Compiler\Builder\Filter;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Builder\Tags;
|
use VDM\Joomla\Componentbuilder\Compiler\Builder\Tags;
|
||||||
use VDM\Joomla\Utilities\String\NamespaceHelper;
|
|
||||||
use VDM\Joomla\Utilities\ArrayHelper;
|
use VDM\Joomla\Utilities\ArrayHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Interfaces\HeaderInterface;
|
use VDM\Joomla\Componentbuilder\Compiler\Interfaces\HeaderInterface;
|
||||||
@ -145,7 +144,7 @@ final class Header implements HeaderInterface
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
*/
|
*/
|
||||||
protected string $ComponentNameSpace;
|
protected string $ComponentNamespace;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
@ -181,9 +180,9 @@ final class Header implements HeaderInterface
|
|||||||
$this->tags = $tags;
|
$this->tags = $tags;
|
||||||
|
|
||||||
// set some global values
|
// set some global values
|
||||||
$this->NamespacePrefix = $this->config->get('namespace_prefix');
|
$this->NamespacePrefix = $this->placeholder->get('NamespacePrefix');
|
||||||
$this->ComponentName = $this->placeholder->get('Component');
|
$this->ComponentName = $this->placeholder->get('Component');
|
||||||
$this->ComponentNameSpace = NamespaceHelper::safeSegment($this->ComponentName);
|
$this->ComponentNamespace = $this->placeholder->get('ComponentNamespace');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -209,7 +208,7 @@ final class Header implements HeaderInterface
|
|||||||
$target = 'Site';
|
$target = 'Site';
|
||||||
}
|
}
|
||||||
|
|
||||||
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNameSpace}\\{$target}\\Helper\\{$this->ComponentName}Helper;";
|
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNamespace}\\{$target}\\Helper\\{$this->ComponentName}Helper;";
|
||||||
|
|
||||||
// we will add more as needed
|
// we will add more as needed
|
||||||
switch ($context)
|
switch ($context)
|
||||||
@ -218,7 +217,7 @@ final class Header implements HeaderInterface
|
|||||||
case 'site.views.model':
|
case 'site.views.model':
|
||||||
case 'site.view.html':
|
case 'site.view.html':
|
||||||
case 'site.views.html':
|
case 'site.views.html':
|
||||||
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNameSpace}\\Site\\Helper\\RouteHelper;";
|
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNamespace}\\Site\\Helper\\RouteHelper;";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -387,7 +386,7 @@ final class Header implements HeaderInterface
|
|||||||
$headers[] = 'use Joomla\CMS\Plugin\PluginHelper;';
|
$headers[] = 'use Joomla\CMS\Plugin\PluginHelper;';
|
||||||
$headers[] = 'use Joomla\CMS\Toolbar\ToolbarHelper;';
|
$headers[] = 'use Joomla\CMS\Toolbar\ToolbarHelper;';
|
||||||
$headers[] = 'use Joomla\CMS\Document\Document;';
|
$headers[] = 'use Joomla\CMS\Document\Document;';
|
||||||
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNameSpace}\\Site\\Helper\\HeaderCheck;";
|
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNamespace}\\Site\\Helper\\HeaderCheck;";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'custom.admin.view.html':
|
case 'custom.admin.view.html':
|
||||||
@ -404,7 +403,7 @@ final class Header implements HeaderInterface
|
|||||||
$headers[] = 'use Joomla\CMS\Plugin\PluginHelper;';
|
$headers[] = 'use Joomla\CMS\Plugin\PluginHelper;';
|
||||||
$headers[] = 'use Joomla\CMS\Toolbar\ToolbarHelper;';
|
$headers[] = 'use Joomla\CMS\Toolbar\ToolbarHelper;';
|
||||||
$headers[] = 'use Joomla\CMS\Document\Document;';
|
$headers[] = 'use Joomla\CMS\Document\Document;';
|
||||||
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNameSpace}\\{$target}\\Helper\\HeaderCheck;";
|
$headers[] = "use {$this->NamespacePrefix}\\Component\\{$this->ComponentNamespace}\\{$target}\\Helper\\HeaderCheck;";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'admin.view.model':
|
case 'admin.view.model':
|
||||||
|
Loading…
Reference in New Issue
Block a user