Improve help to allow the help url to be global in all the views. Fixed the zip wrapper to include .htaccess files for library folders.

This commit is contained in:
Llewellyn van der Merwe 2022-02-13 00:28:17 +02:00
parent 94c934c436
commit dd3335771c
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
67 changed files with 193 additions and 193 deletions

View File

@ -143,7 +143,7 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 9th February, 2022 + *Last Build*: 12th February, 2022
+ *Version*: 2.12.15 + *Version*: 2.12.15
+ *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

View File

@ -143,7 +143,7 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 9th February, 2022 + *Last Build*: 12th February, 2022
+ *Version*: 2.12.15 + *Version*: 2.12.15
+ *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

View File

@ -62,10 +62,10 @@ class ###Component###View###Component### extends JViewLegacy
JToolBarHelper::title(JText::_('COM_###COMPONENT###_DASHBOARD'), 'grid-2'); JToolBarHelper::title(JText::_('COM_###COMPONENT###_DASHBOARD'), 'grid-2');
// set help url for this view if found // set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('###component###'); $this->help_url = ###Component###Helper::getHelpUrl('###component###');
if (###Component###Helper::checkString($help_url)) if (###Component###Helper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
} }
if ($canDo->get('core.admin') || $canDo->get('core.options')) if ($canDo->get('core.admin') || $canDo->get('core.options'))

View File

@ -63,10 +63,10 @@ class ###Component###View###SView### extends JViewLegacy
JToolbarHelper::title($title,'###ICOMOON###');###CUSTOM_ADMIN_CUSTOM_BUTTONS### JToolbarHelper::title($title,'###ICOMOON###');###CUSTOM_ADMIN_CUSTOM_BUTTONS###
// set help url for this view if found // set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('###sviews###'); $this->help_url = ###Component###Helper::getHelpUrl('###sviews###');
if (###Component###Helper::checkString($help_url)) if (###Component###Helper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -89,10 +89,10 @@ class ###Component###ViewImport extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('import'); $this->help_url = ###Component###Helper::getHelpUrl('import');
if (###Component###Helper::checkString($help_url)) if (###Component###Helper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
} }
} }
} }

View File

@ -37,10 +37,10 @@ class ###Component###View###View### extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('###view###'); $this->help_url = ###Component###Helper::getHelpUrl('###view###');
if (###Component###Helper::checkString($help_url)) if (###Component###Helper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
} }
} }
} }

View File

@ -129,10 +129,10 @@ class ###Component###View###Views### extends JViewLegacy
}###ADMIN_CUSTOM_FUNCTION_ONLY_BUTTONS_LIST######IMPORTBUTTON### }###ADMIN_CUSTOM_FUNCTION_ONLY_BUTTONS_LIST######IMPORTBUTTON###
// set help url for this view if found // set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('###views###'); $this->help_url = ###Component###Helper::getHelpUrl('###views###');
if (###Component###Helper::checkString($help_url)) if (###Component###Helper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -53,10 +53,10 @@ class ###Component###View###SViews### extends JViewLegacy
JToolbarHelper::title(JText::_('COM_###COMPONENT###_###SVIEWS###'),'###ICOMOON###');###CUSTOM_ADMIN_CUSTOM_BUTTONS### JToolbarHelper::title(JText::_('COM_###COMPONENT###_###SVIEWS###'),'###ICOMOON###');###CUSTOM_ADMIN_CUSTOM_BUTTONS###
// set help url for this view if found // set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('###sviews###'); $this->help_url = ###Component###Helper::getHelpUrl('###sviews###');
if (###Component###Helper::checkString($help_url)) if (###Component###Helper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -49,10 +49,10 @@ class ###Component###View###SViews### extends JViewLegacy
{###SITE_CUSTOM_BUTTONS### {###SITE_CUSTOM_BUTTONS###
// set help url for this view if found // set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('###sviews###'); $this->help_url = ###Component###Helper::getHelpUrl('###sviews###');
if (###Component###Helper::checkString($help_url)) if (###Component###Helper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
} }
// now initiate the toolbar // now initiate the toolbar
$this->toolbar = JToolbar::getInstance(); $this->toolbar = JToolbar::getInstance();

View File

@ -49,10 +49,10 @@ class ###Component###View###SView### extends JViewLegacy
{###SITE_CUSTOM_BUTTONS### {###SITE_CUSTOM_BUTTONS###
// set help url for this view if found // set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('###sview###'); $this->help_url = ###Component###Helper::getHelpUrl('###sview###');
if (###Component###Helper::checkString($help_url)) if (###Component###Helper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
} }
// now initiate the toolbar // now initiate the toolbar
$this->toolbar = JToolbar::getInstance(); $this->toolbar = JToolbar::getInstance();

View File

@ -2823,8 +2823,8 @@ abstract class ComponentbuilderHelper
// delete an existing zip file (or use an exclusion parameter in Folder::files() // delete an existing zip file (or use an exclusion parameter in Folder::files()
File::delete($filepath); File::delete($filepath);
// get a list of files in the current directory tree // get a list of files in the current directory tree (also the hidden files)
$files = Folder::files('.', '', true, true); $files = Folder::files('.', '', true, true, array('.svn', 'CVS', '.DS_Store', '__MACOSX'), array('.*~'));
$zipArray = array(); $zipArray = array();
// setup the zip array // setup the zip array
foreach ($files as $file) foreach ($files as $file)

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewAdmin_views extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admin_views'); $this->help_url = ComponentbuilderHelper::getHelpUrl('admin_views');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewAdmins_custom_tabs extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admins_custom_tabs'); $this->help_url = ComponentbuilderHelper::getHelpUrl('admins_custom_tabs');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewAdmins_fields extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admins_fields'); $this->help_url = ComponentbuilderHelper::getHelpUrl('admins_fields');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewAdmins_fields_conditions extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_conditions'); $this->help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_conditions');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewAdmins_fields_relations extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_relations'); $this->help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_relations');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewClass_extendings extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('class_extendings'); $this->help_url = ComponentbuilderHelper::getHelpUrl('class_extendings');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -147,10 +147,10 @@ class ComponentbuilderViewClass_methods extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('class_methods'); $this->help_url = ComponentbuilderHelper::getHelpUrl('class_methods');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -147,10 +147,10 @@ class ComponentbuilderViewClass_properties extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('class_properties'); $this->help_url = ComponentbuilderHelper::getHelpUrl('class_properties');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -391,10 +391,10 @@ class ComponentbuilderViewCompiler extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('compiler'); $this->help_url = ComponentbuilderHelper::getHelpUrl('compiler');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -63,10 +63,10 @@ class ComponentbuilderViewComponentbuilder extends JViewLegacy
JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_DASHBOARD'), 'grid-2'); JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_DASHBOARD'), 'grid-2');
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('componentbuilder'); $this->help_url = ComponentbuilderHelper::getHelpUrl('componentbuilder');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
if ($canDo->get('core.admin') || $canDo->get('core.options')) if ($canDo->get('core.admin') || $canDo->get('core.options'))

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_admin_views extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_admin_views'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_admin_views');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_config extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_config'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_config');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_custom_admin_menus extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_menus'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_menus');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_custom_admin_views extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_views'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_views');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_dashboard extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_dashboard'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_dashboard');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_files_folders extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_files_folders'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_files_folders');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_modules extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_modules'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_modules');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_mysql_tweaks extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_mysql_tweaks'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_mysql_tweaks');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_placeholders extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_placeholders'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_placeholders');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_plugins extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_plugins'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_plugins');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_site_views extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_site_views'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_site_views');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_updates extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('components_updates'); $this->help_url = ComponentbuilderHelper::getHelpUrl('components_updates');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('custom_admin_views'); $this->help_url = ComponentbuilderHelper::getHelpUrl('custom_admin_views');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('custom_codes'); $this->help_url = ComponentbuilderHelper::getHelpUrl('custom_codes');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewDynamic_gets extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('dynamic_gets'); $this->help_url = ComponentbuilderHelper::getHelpUrl('dynamic_gets');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewFields extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('fields'); $this->help_url = ComponentbuilderHelper::getHelpUrl('fields');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -147,10 +147,10 @@ class ComponentbuilderViewFieldtypes extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('fieldtypes'); $this->help_url = ComponentbuilderHelper::getHelpUrl('fieldtypes');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -289,10 +289,10 @@ class ComponentbuilderViewGet_snippets extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('get_snippets'); $this->help_url = ComponentbuilderHelper::getHelpUrl('get_snippets');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -147,10 +147,10 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('help_documents'); $this->help_url = ComponentbuilderHelper::getHelpUrl('help_documents');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -85,10 +85,10 @@ class ComponentbuilderViewImport extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('import'); $this->help_url = ComponentbuilderHelper::getHelpUrl('import');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
} }
} }

View File

@ -450,10 +450,10 @@ class ComponentbuilderViewImport_joomla_components extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('import_joomla_components'); $this->help_url = ComponentbuilderHelper::getHelpUrl('import_joomla_components');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
} }
} }

View File

@ -84,10 +84,10 @@ class ComponentbuilderViewImport_language_translations extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('import_language_translations'); $this->help_url = ComponentbuilderHelper::getHelpUrl('import_language_translations');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
} }
} }

View File

@ -177,10 +177,10 @@ class ComponentbuilderViewJoomla_components extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_components'); $this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_components');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -147,10 +147,10 @@ class ComponentbuilderViewJoomla_modules extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules'); $this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_modules_files_folders_urls extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules_files_folders_urls'); $this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules_files_folders_urls');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_modules_updates extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules_updates'); $this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules_updates');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_plugin_groups extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_groups'); $this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_groups');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -157,10 +157,10 @@ class ComponentbuilderViewJoomla_plugins extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins'); $this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_plugins_files_folders_urls extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_files_folders_urls'); $this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_files_folders_urls');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_plugins_updates extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_updates'); $this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_updates');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -147,10 +147,10 @@ class ComponentbuilderViewLanguage_translations extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('language_translations'); $this->help_url = ComponentbuilderHelper::getHelpUrl('language_translations');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewLanguages extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('languages'); $this->help_url = ComponentbuilderHelper::getHelpUrl('languages');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewLayouts extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('layouts'); $this->help_url = ComponentbuilderHelper::getHelpUrl('layouts');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -142,10 +142,10 @@ class ComponentbuilderViewLibraries extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('libraries'); $this->help_url = ComponentbuilderHelper::getHelpUrl('libraries');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewLibraries_config extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('libraries_config'); $this->help_url = ComponentbuilderHelper::getHelpUrl('libraries_config');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewLibraries_files_folders_urls extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('libraries_files_folders_urls'); $this->help_url = ComponentbuilderHelper::getHelpUrl('libraries_files_folders_urls');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -147,10 +147,10 @@ class ComponentbuilderViewPlaceholders extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('placeholders'); $this->help_url = ComponentbuilderHelper::getHelpUrl('placeholders');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -147,10 +147,10 @@ class ComponentbuilderViewServers extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('servers'); $this->help_url = ComponentbuilderHelper::getHelpUrl('servers');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewSite_views extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('site_views'); $this->help_url = ComponentbuilderHelper::getHelpUrl('site_views');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -137,10 +137,10 @@ class ComponentbuilderViewSnippet_types extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('snippet_types'); $this->help_url = ComponentbuilderHelper::getHelpUrl('snippet_types');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -157,10 +157,10 @@ class ComponentbuilderViewSnippets extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('snippets'); $this->help_url = ComponentbuilderHelper::getHelpUrl('snippets');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewTemplates extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('templates'); $this->help_url = ComponentbuilderHelper::getHelpUrl('templates');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -152,10 +152,10 @@ class ComponentbuilderViewValidation_rules extends JViewLegacy
} }
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('validation_rules'); $this->help_url = ComponentbuilderHelper::getHelpUrl('validation_rules');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// add the options comp button // add the options comp button

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="4" method="upgrade"> <extension type="component" version="4" method="upgrade">
<name>COM_COMPONENTBUILDER</name> <name>COM_COMPONENTBUILDER</name>
<creationDate>9th February, 2022</creationDate> <creationDate>12th February, 2022</creationDate>
<author>Llewellyn van der Merwe</author> <author>Llewellyn van der Merwe</author>
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail> <authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl> <authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>

View File

@ -2820,8 +2820,8 @@ abstract class ComponentbuilderHelper
// delete an existing zip file (or use an exclusion parameter in Folder::files() // delete an existing zip file (or use an exclusion parameter in Folder::files()
File::delete($filepath); File::delete($filepath);
// get a list of files in the current directory tree // get a list of files in the current directory tree (also the hidden files)
$files = Folder::files('.', '', true, true); $files = Folder::files('.', '', true, true, array('.svn', 'CVS', '.DS_Store', '__MACOSX'), array('.*~'));
$zipArray = array(); $zipArray = array();
// setup the zip array // setup the zip array
foreach ($files as $file) foreach ($files as $file)

View File

@ -88,10 +88,10 @@ class ComponentbuilderViewApi extends JViewLegacy
{ {
// set help url for this view if found // set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('api'); $this->help_url = ComponentbuilderHelper::getHelpUrl('api');
if (ComponentbuilderHelper::checkString($help_url)) if (ComponentbuilderHelper::checkString($this->help_url))
{ {
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
} }
// now initiate the toolbar // now initiate the toolbar
$this->toolbar = JToolbar::getInstance(); $this->toolbar = JToolbar::getInstance();