Improve help to allow the help url to be global in the view.

This commit is contained in:
Llewellyn van der Merwe 2022-02-09 23:19:08 +02:00
parent c8893d8c94
commit 94c934c436
Signed by untrusted user: Llewellyn
GPG Key ID: EFC0C720A240551C
51 changed files with 147 additions and 147 deletions

View File

@ -143,7 +143,7 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 5th February, 2022
+ *Last Build*: 9th February, 2022
+ *Version*: 2.12.15
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *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)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 5th February, 2022
+ *Last Build*: 9th February, 2022
+ *Version*: 2.12.15
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt

View File

@ -21444,16 +21444,16 @@ class Interpretation extends Fields
$toolBar .= PHP_EOL . $this->_t(2) . "JToolbarHelper::divider();";
$toolBar .= PHP_EOL . $this->_t(2) . "//" . $this->setLine(__LINE__)
. " set help url for this view if found";
$toolBar .= PHP_EOL . $this->_t(2) . "\$help_url = "
$toolBar .= PHP_EOL . $this->_t(2) . "\$this->help_url = "
. $this->fileContentStatic[$this->hhh . 'Component'
. $this->hhh] . "Helper::getHelpUrl('" . $nameSingleCode
. "');";
$toolBar .= PHP_EOL . $this->_t(2) . "if ("
. $this->fileContentStatic[$this->hhh . 'Component'
. $this->hhh] . "Helper::checkString(\$help_url))";
. $this->hhh] . "Helper::checkString(\$this->help_url))";
$toolBar .= PHP_EOL . $this->_t(2) . "{";
$toolBar .= PHP_EOL . $this->_t(3) . "JToolbarHelper::help('"
. $this->langPrefix . "_HELP_MANAGER', false, \$help_url);";
. $this->langPrefix . "_HELP_MANAGER', false, \$this->help_url);";
$toolBar .= PHP_EOL . $this->_t(2) . "}";
}

View File

@ -150,10 +150,10 @@ class ComponentbuilderViewAdmin_custom_tabs extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admin_custom_tabs');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('admin_custom_tabs');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewAdmin_fields extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admin_fields');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('admin_fields');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewAdmin_fields_conditions extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admin_fields_conditions');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('admin_fields_conditions');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewAdmin_fields_relations extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admin_fields_relations');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('admin_fields_relations');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('admin_view');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('admin_view');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewClass_extends extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('class_extends');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('class_extends');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewClass_method extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('class_method');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('class_method');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewClass_property extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('class_property');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('class_property');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_admin_views extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_admin_views');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_admin_views');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_config extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_config');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_config');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_custom_admin_menus extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_custom_admin_menus');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_custom_admin_menus');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_custom_admin_views extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_custom_admin_views');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_custom_admin_views');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_dashboard extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_dashboard');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_dashboard');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_files_folders extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_files_folders');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_files_folders');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_modules extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_modules');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_modules');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_mysql_tweaks extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_mysql_tweaks');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_mysql_tweaks');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_placeholders extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_placeholders');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_placeholders');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_plugins extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_plugins');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_plugins');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_site_views extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_site_views');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_site_views');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewComponent_updates extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('component_updates');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('component_updates');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewCustom_admin_view extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('custom_admin_view');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('custom_admin_view');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewCustom_code extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('custom_code');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('custom_code');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewDynamic_get extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('dynamic_get');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('dynamic_get');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewField extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('field');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('field');
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

@ -153,10 +153,10 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('fieldtype');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('fieldtype');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewHelp_document extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('help_document');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('help_document');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewJoomla_component extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_component');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_component');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewJoomla_module extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_module');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_module');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewJoomla_module_files_folders_urls extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_module_files_folders_urls');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_module_files_folders_urls');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewJoomla_module_updates extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_module_updates');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_module_updates');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewJoomla_plugin extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewJoomla_plugin_files_folders_urls extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_files_folders_urls');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_files_folders_urls');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewJoomla_plugin_group extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_group');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_group');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewJoomla_plugin_updates extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_updates');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_updates');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewLanguage extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('language');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('language');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewLanguage_translation extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('language_translation');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('language_translation');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewLayout extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('layout');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('layout');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewLibrary extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('library');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('library');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewLibrary_config extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('library_config');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('library_config');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewLibrary_files_folders_urls extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('library_files_folders_urls');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('library_files_folders_urls');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewPlaceholder extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('placeholder');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('placeholder');
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

@ -153,10 +153,10 @@ class ComponentbuilderViewServer extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('server');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('server');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewSite_view extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('site_view');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('site_view');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewSnippet extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('snippet');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('snippet');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewSnippet_type extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('snippet_type');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('snippet_type');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewTemplate extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('template');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('template');
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

@ -150,10 +150,10 @@ class ComponentbuilderViewValidation_rule extends JViewLegacy
}
JToolbarHelper::divider();
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('validation_rule');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('validation_rule');
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

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