From 2455ba5e326f31b40d2b273d8e0205c0e18c4ea6 Mon Sep 17 00:00:00 2001 From: Jon Brown Date: Fri, 16 Oct 2020 17:33:26 +0100 Subject: [PATCH] closes #96 - put backs some 'J's I have removed. JHtmlHelloworlds is only for consistency as it makes no difference because component self registers it. --- admin/helpers/html/helloworlds.php | 2 +- admin/models/fields/helloworldordering.php | 4 ++-- admin/models/fields/helloworldparent.php | 4 ++-- admin/views/helloworlds/tmpl/default.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin/helpers/html/helloworlds.php b/admin/helpers/html/helloworlds.php index c08066d..6556e5d 100644 --- a/admin/helpers/html/helloworlds.php +++ b/admin/helpers/html/helloworlds.php @@ -14,7 +14,7 @@ JLoader::register('HelloworldHelper', JPATH_ADMINISTRATOR . '/components/com_helloworld/helpers/helloworld.php'); -class HtmlHelloWorlds +class JHtmlHelloWorlds { /** * Render the list of associated items diff --git a/admin/models/fields/helloworldordering.php b/admin/models/fields/helloworldordering.php index 1cc2415..412ffc7 100644 --- a/admin/models/fields/helloworldordering.php +++ b/admin/models/fields/helloworldordering.php @@ -11,9 +11,9 @@ FormHelper::loadFieldClass('list'); -class FormFieldHelloWorldOrdering extends JFormFieldList +class JFormFieldHelloWorldOrdering extends JFormFieldList { - protected $type = 'HelloworldOrdering'; + protected $type = 'helloworldordering'; /** * Method to return the options for ordering the helloworld record diff --git a/admin/models/fields/helloworldparent.php b/admin/models/fields/helloworldparent.php index 55bc98a..931d4bc 100644 --- a/admin/models/fields/helloworldparent.php +++ b/admin/models/fields/helloworldparent.php @@ -10,9 +10,9 @@ FormHelper::loadFieldClass('list'); -class FormFieldHelloWorldParent extends JFormFieldList +class JFormFieldHelloWorldParent extends JFormFieldList { - protected $type = 'HelloworldParent'; + protected $type = 'helloworldparent'; /** * Method to return the field options for the parent diff --git a/admin/views/helloworlds/tmpl/default.php b/admin/views/helloworlds/tmpl/default.php index 8b3e6ea..8a79d1e 100644 --- a/admin/views/helloworlds/tmpl/default.php +++ b/admin/views/helloworlds/tmpl/default.php @@ -34,7 +34,7 @@ } $assoc = Associations::isEnabled(); $authorFieldwidth = $assoc ? "10%" : "25%"; -JLoader::register('HtmlHelloWorlds', JPATH_ADMINISTRATOR . '/components/com_helloworld/helpers/html/helloworlds.php'); +JLoader::register('JHtmlHelloWorlds', JPATH_ADMINISTRATOR . '/components/com_helloworld/helpers/html/helloworlds.php'); ?>