From 155a8c6712f3592b3971d9f418c489579c72e904 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 12 Aug 2011 22:56:25 +0200 Subject: [PATCH] Renamed option types --- ...peBoolean.class.php => BooleanOptionType.class.php} | 4 ++-- ...lect.class.php => CustomselectOptionType.class.php} | 6 +++--- ...tionTypeDate.class.php => DateOptionType.class.php} | 6 ++---- ...onTypeFloat.class.php => FloatOptionType.class.php} | 5 ++--- ...peInteger.class.php => IntegerOptionType.class.php} | 5 ++--- ...elect.class.php => MultiselectOptionType.class.php} | 8 +++----- ...Password.class.php => PasswordOptionType.class.php} | 7 +++---- ...tons.class.php => RadiobuttonsOptionType.class.php} | 10 ++++++---- ...TypeSelect.class.php => SelectOptionType.class.php} | 5 ++--- ...tionTypeText.class.php => TextOptionType.class.php} | 6 +++--- ...Textarea.class.php => TextareaOptionType.class.php} | 5 ++--- ...Timezone.class.php => TimezoneOptionType.class.php} | 6 +++--- 12 files changed, 33 insertions(+), 40 deletions(-) rename wcfsetup/install/files/lib/system/option/{OptionTypeBoolean.class.php => BooleanOptionType.class.php} (92%) rename wcfsetup/install/files/lib/system/option/{OptionTypeCustomselect.class.php => CustomselectOptionType.class.php} (84%) rename wcfsetup/install/files/lib/system/option/{OptionTypeDate.class.php => DateOptionType.class.php} (95%) rename wcfsetup/install/files/lib/system/option/{OptionTypeFloat.class.php => FloatOptionType.class.php} (86%) rename wcfsetup/install/files/lib/system/option/{OptionTypeInteger.class.php => IntegerOptionType.class.php} (74%) rename wcfsetup/install/files/lib/system/option/{OptionTypeMultiselect.class.php => MultiselectOptionType.class.php} (91%) rename wcfsetup/install/files/lib/system/option/{OptionTypePassword.class.php => PasswordOptionType.class.php} (73%) rename wcfsetup/install/files/lib/system/option/{OptionTypeRadiobuttons.class.php => RadiobuttonsOptionType.class.php} (89%) rename wcfsetup/install/files/lib/system/option/{OptionTypeSelect.class.php => SelectOptionType.class.php} (91%) rename wcfsetup/install/files/lib/system/option/{OptionTypeText.class.php => TextOptionType.class.php} (87%) rename wcfsetup/install/files/lib/system/option/{OptionTypeTextarea.class.php => TextareaOptionType.class.php} (78%) rename wcfsetup/install/files/lib/system/option/{OptionTypeTimezone.class.php => TimezoneOptionType.class.php} (85%) diff --git a/wcfsetup/install/files/lib/system/option/OptionTypeBoolean.class.php b/wcfsetup/install/files/lib/system/option/BooleanOptionType.class.php similarity index 92% rename from wcfsetup/install/files/lib/system/option/OptionTypeBoolean.class.php rename to wcfsetup/install/files/lib/system/option/BooleanOptionType.class.php index 0c755add3b..39458dc3b9 100644 --- a/wcfsetup/install/files/lib/system/option/OptionTypeBoolean.class.php +++ b/wcfsetup/install/files/lib/system/option/BooleanOptionType.class.php @@ -6,7 +6,7 @@ use wcf\system\WCF; use wcf\util\StringUtil; /** - * OptionTypeBoolean is an implementation of OptionType for boolean values. + * BooleanOptionType is an implementation of IOptionType for boolean values. * * @author Marcel Werk * @copyright 2001-2011 WoltLab GmbH @@ -15,7 +15,7 @@ use wcf\util\StringUtil; * @subpackage system.option * @category Community Framework */ -class OptionTypeBoolean extends AbstractOptionType implements ISearchableUserOption { +class BooleanOptionType extends AbstractOptionType implements ISearchableUserOption { /** * @see wcf\system\option\IOptionType::getFormElement() */ diff --git a/wcfsetup/install/files/lib/system/option/OptionTypeCustomselect.class.php b/wcfsetup/install/files/lib/system/option/CustomselectOptionType.class.php similarity index 84% rename from wcfsetup/install/files/lib/system/option/OptionTypeCustomselect.class.php rename to wcfsetup/install/files/lib/system/option/CustomselectOptionType.class.php index f7549ea375..1b56a94ca2 100644 --- a/wcfsetup/install/files/lib/system/option/OptionTypeCustomselect.class.php +++ b/wcfsetup/install/files/lib/system/option/CustomselectOptionType.class.php @@ -1,11 +1,11 @@ getFormElement($optionData, $value); + return $this->getFormElement($option, $value); } /** diff --git a/wcfsetup/install/files/lib/system/option/OptionTypeTextarea.class.php b/wcfsetup/install/files/lib/system/option/TextareaOptionType.class.php similarity index 78% rename from wcfsetup/install/files/lib/system/option/OptionTypeTextarea.class.php rename to wcfsetup/install/files/lib/system/option/TextareaOptionType.class.php index 87a39ba2d6..082b0f1854 100644 --- a/wcfsetup/install/files/lib/system/option/OptionTypeTextarea.class.php +++ b/wcfsetup/install/files/lib/system/option/TextareaOptionType.class.php @@ -1,11 +1,10 @@