From bab9f68aaee64504bdc0ccb8bfdc5c135de445b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 28 Aug 2011 12:08:45 +0200 Subject: [PATCH] Renaming Plugins to camelcase --- ...mlCheckboxesFunctionTemplatePlugin.class.php} | 12 ++++++------ ... HtmlOptionsFunctionTemplatePlugin.class.php} | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) rename wcfsetup/install/files/lib/system/template/plugin/{HtmlcheckboxesFunctionTemplatePlugin.class.php => HtmlCheckboxesFunctionTemplatePlugin.class.php} (87%) rename wcfsetup/install/files/lib/system/template/plugin/{HtmloptionsFunctionTemplatePlugin.class.php => HtmlOptionsFunctionTemplatePlugin.class.php} (90%) diff --git a/wcfsetup/install/files/lib/system/template/plugin/HtmlcheckboxesFunctionTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/HtmlCheckboxesFunctionTemplatePlugin.class.php similarity index 87% rename from wcfsetup/install/files/lib/system/template/plugin/HtmlcheckboxesFunctionTemplatePlugin.class.php rename to wcfsetup/install/files/lib/system/template/plugin/HtmlCheckboxesFunctionTemplatePlugin.class.php index 41fe0fff2d..a88bd06958 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/HtmlcheckboxesFunctionTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/HtmlCheckboxesFunctionTemplatePlugin.class.php @@ -5,13 +5,13 @@ use wcf\system\template\TemplateEngine; use wcf\util\StringUtil; /** - * The 'htmlcheckboxes' template function generates a list of html checkboxes. + * The 'htmlCheckboxes' template function generates a list of html checkboxes. * * Usage: - * {htmlcheckboxes name="x" options=$array} - * {htmlcheckboxes name="x" options=$array selected=$foo} - * {htmlcheckboxes name="x" output=$outputArray} - * {htmlcheckboxes name="x" output=$outputArray values=$valueArray} + * {htmlCheckboxes name="x" options=$array} + * {htmlCheckboxes name="x" options=$array selected=$foo} + * {htmlCheckboxes name="x" output=$outputArray} + * {htmlCheckboxes name="x" output=$outputArray values=$valueArray} * * @author Marcel Werk * @copyright 2001-2011 WoltLab GmbH @@ -20,7 +20,7 @@ use wcf\util\StringUtil; * @subpackage system.template.plugin * @category Community Framework */ -class HtmlcheckboxesFunctionTemplatePlugin implements IFunctionTemplatePlugin { +class HtmlCheckboxesFunctionTemplatePlugin implements IFunctionTemplatePlugin { protected $disableEncoding = false; /** diff --git a/wcfsetup/install/files/lib/system/template/plugin/HtmloptionsFunctionTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/HtmlOptionsFunctionTemplatePlugin.class.php similarity index 90% rename from wcfsetup/install/files/lib/system/template/plugin/HtmloptionsFunctionTemplatePlugin.class.php rename to wcfsetup/install/files/lib/system/template/plugin/HtmlOptionsFunctionTemplatePlugin.class.php index e474cc017b..3bf178b03c 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/HtmloptionsFunctionTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/HtmlOptionsFunctionTemplatePlugin.class.php @@ -5,14 +5,14 @@ use wcf\system\template\TemplateEngine; use wcf\util\StringUtil; /** - * The 'htmloptions' template function generates the options of an html select list. + * The 'htmlOptions' template function generates the options of an html select list. * * Usage: - * {htmloptions options=$array} - * {htmloptions options=$array selected=$foo} - * {htmloptions options=$array name="x"} - * {htmloptions output=$outputArray} - * {htmloptions output=$outputArray values=$valueArray} + * {htmlOptions options=$array} + * {htmlOptions options=$array selected=$foo} + * {htmlOptions options=$array name="x"} + * {htmlOptions output=$outputArray} + * {htmlOptions output=$outputArray values=$valueArray} * * @author Marcel Werk * @copyright 2001-2011 WoltLab GmbH @@ -21,7 +21,7 @@ use wcf\util\StringUtil; * @subpackage system.template.plugin * @category Community Framework */ -class HtmloptionsFunctionTemplatePlugin extends HtmlcheckboxesFunctionTemplatePlugin { +class HtmlOptionsFunctionTemplatePlugin extends HtmlCheckboxesFunctionTemplatePlugin { protected $selected = array(); /** @@ -48,7 +48,7 @@ class HtmloptionsFunctionTemplatePlugin extends HtmlcheckboxesFunctionTemplatePl } if (!isset($tagArgs['options']) || !is_array($tagArgs['options'])) { - throw new SystemException("missing 'options' argument in htmloptions tag"); + throw new SystemException("missing 'options' argument in htmlOptions tag"); } if (isset($tagArgs['disableEncoding']) && $tagArgs['disableEncoding']) { -- 2.20.1