From 76d761f6a472b5cd1dc112dd118dfc2b42718caa Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 3 Jan 2019 18:07:31 +0100 Subject: [PATCH] =?utf8?q?Move=20form=20builder=E2=80=99s=20data=20process?= =?utf8?q?ors=20into=20separate=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit See #2509 --- .../install/files/lib/acp/form/LanguageItemAddForm.class.php | 4 ++-- .../files/lib/system/form/builder/FormDocument.class.php | 2 +- .../lib/system/form/builder/data/FormDataHandler.class.php | 2 +- .../lib/system/form/builder/data/IFormDataHandler.class.php | 2 +- .../lib/system/form/builder/field/ItemListFormField.class.php | 2 +- .../lib/system/form/builder/field/TI18nFormField.class.php | 2 +- .../system/form/builder/field/TMultipleFormField.class.php | 2 +- .../lib/system/form/builder/field/WysiwygFormField.class.php | 2 +- .../lib/system/form/builder/field/acl/AclFormField.class.php | 2 +- .../builder/field/acl/simple/SimpleAclFormField.class.php | 2 +- .../{ => processor}/CustomFormFieldDataProcessor.class.php | 4 ++-- .../{ => processor}/DefaultFormFieldDataProcessor.class.php | 4 ++-- .../data/{ => processor}/IFormFieldDataProcessor.class.php | 4 ++-- .../data/{ => processor}/VoidFormFieldDataProcessor.class.php | 4 ++-- .../lib/system/form/builder/field/tag/TagFormField.class.php | 2 +- .../plugin/AbstractOptionPackageInstallationPlugin.class.php | 2 +- .../package/plugin/BBCodePackageInstallationPlugin.class.php | 2 +- .../plugin/MediaProviderPackageInstallationPlugin.class.php | 2 +- .../package/plugin/OptionPackageInstallationPlugin.class.php | 2 +- .../package/plugin/SmileyPackageInstallationPlugin.class.php | 2 +- .../TemplateListenerPackageInstallationPlugin.class.php | 2 +- .../plugin/UserOptionPackageInstallationPlugin.class.php | 2 +- 22 files changed, 27 insertions(+), 27 deletions(-) rename wcfsetup/install/files/lib/system/form/builder/field/data/{ => processor}/CustomFormFieldDataProcessor.class.php (95%) rename wcfsetup/install/files/lib/system/form/builder/field/data/{ => processor}/DefaultFormFieldDataProcessor.class.php (91%) rename wcfsetup/install/files/lib/system/form/builder/field/data/{ => processor}/IFormFieldDataProcessor.class.php (86%) rename wcfsetup/install/files/lib/system/form/builder/field/data/{ => processor}/VoidFormFieldDataProcessor.class.php (91%) diff --git a/wcfsetup/install/files/lib/acp/form/LanguageItemAddForm.class.php b/wcfsetup/install/files/lib/acp/form/LanguageItemAddForm.class.php index 177660c304..c33362caff 100644 --- a/wcfsetup/install/files/lib/acp/form/LanguageItemAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/LanguageItemAddForm.class.php @@ -5,8 +5,8 @@ use wcf\data\language\item\LanguageItemAction; use wcf\data\language\item\LanguageItemList; use wcf\form\AbstractFormBuilderForm; use wcf\system\form\builder\container\FormContainer; -use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; -use wcf\system\form\builder\field\data\VoidFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\CustomFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\VoidFormFieldDataProcessor; use wcf\system\form\builder\field\dependency\ValueFormFieldDependency; use wcf\system\form\builder\field\MultilineTextFormField; use wcf\system\form\builder\field\RadioButtonFormField; diff --git a/wcfsetup/install/files/lib/system/form/builder/FormDocument.class.php b/wcfsetup/install/files/lib/system/form/builder/FormDocument.class.php index 04646f84d7..005233e526 100644 --- a/wcfsetup/install/files/lib/system/form/builder/FormDocument.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/FormDocument.class.php @@ -3,7 +3,7 @@ namespace wcf\system\form\builder; use wcf\data\IStorableObject; use wcf\system\form\builder\data\FormDataHandler; use wcf\system\form\builder\data\IFormDataHandler; -use wcf\system\form\builder\field\data\DefaultFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\DefaultFormFieldDataProcessor; use wcf\system\form\builder\field\IFileFormField; use wcf\system\form\builder\field\IFormField; use wcf\system\WCF; diff --git a/wcfsetup/install/files/lib/system/form/builder/data/FormDataHandler.class.php b/wcfsetup/install/files/lib/system/form/builder/data/FormDataHandler.class.php index f75b4a40a7..ef11f01cf6 100644 --- a/wcfsetup/install/files/lib/system/form/builder/data/FormDataHandler.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/data/FormDataHandler.class.php @@ -1,6 +1,6 @@ - * @package WoltLabSuite\Core\System\Form\Builder\Field\Data + * @package WoltLabSuite\Core\System\Form\Builder\Field\Data\Processor * @since 3.2 */ class CustomFormFieldDataProcessor implements IFormFieldDataProcessor { diff --git a/wcfsetup/install/files/lib/system/form/builder/field/data/DefaultFormFieldDataProcessor.class.php b/wcfsetup/install/files/lib/system/form/builder/field/data/processor/DefaultFormFieldDataProcessor.class.php similarity index 91% rename from wcfsetup/install/files/lib/system/form/builder/field/data/DefaultFormFieldDataProcessor.class.php rename to wcfsetup/install/files/lib/system/form/builder/field/data/processor/DefaultFormFieldDataProcessor.class.php index 48fadfc927..c3b17eb584 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/data/DefaultFormFieldDataProcessor.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/data/processor/DefaultFormFieldDataProcessor.class.php @@ -1,5 +1,5 @@ - * @package WoltLabSuite\Core\System\Form\Builder\Field\Data + * @package WoltLabSuite\Core\System\Form\Builder\Field\Data\Processor * @since 3.2 */ class DefaultFormFieldDataProcessor implements IFormFieldDataProcessor { diff --git a/wcfsetup/install/files/lib/system/form/builder/field/data/IFormFieldDataProcessor.class.php b/wcfsetup/install/files/lib/system/form/builder/field/data/processor/IFormFieldDataProcessor.class.php similarity index 86% rename from wcfsetup/install/files/lib/system/form/builder/field/data/IFormFieldDataProcessor.class.php rename to wcfsetup/install/files/lib/system/form/builder/field/data/processor/IFormFieldDataProcessor.class.php index 20683fe252..a179fc9dc7 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/data/IFormFieldDataProcessor.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/data/processor/IFormFieldDataProcessor.class.php @@ -1,5 +1,5 @@ - * @package WoltLabSuite\Core\System\Form\Builder\Field\Data + * @package WoltLabSuite\Core\System\Form\Builder\Field\Data\Processor * @since 3.2 */ interface IFormFieldDataProcessor { diff --git a/wcfsetup/install/files/lib/system/form/builder/field/data/VoidFormFieldDataProcessor.class.php b/wcfsetup/install/files/lib/system/form/builder/field/data/processor/VoidFormFieldDataProcessor.class.php similarity index 91% rename from wcfsetup/install/files/lib/system/form/builder/field/data/VoidFormFieldDataProcessor.class.php rename to wcfsetup/install/files/lib/system/form/builder/field/data/processor/VoidFormFieldDataProcessor.class.php index 1059efbdca..50331c2e90 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/data/VoidFormFieldDataProcessor.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/data/processor/VoidFormFieldDataProcessor.class.php @@ -1,5 +1,5 @@ - * @package WoltLabSuite\Core\System\Form\Builder\Field\Data + * @package WoltLabSuite\Core\System\Form\Builder\Field\Data\Processor * @since 3.2 */ class VoidFormFieldDataProcessor implements IFormFieldDataProcessor { diff --git a/wcfsetup/install/files/lib/system/form/builder/field/tag/TagFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/tag/TagFormField.class.php index 08cb22e195..4e419d211a 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/tag/TagFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/tag/TagFormField.class.php @@ -3,7 +3,7 @@ namespace wcf\system\form\builder\field\tag; use wcf\data\tag\Tag; use wcf\data\IStorableObject; use wcf\system\form\builder\field\AbstractFormField; -use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\CustomFormFieldDataProcessor; use wcf\system\form\builder\field\IObjectTypeFormField; use wcf\system\form\builder\field\TObjectTypeFormField; use wcf\system\form\builder\IFormDocument; diff --git a/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php index d8eee8223a..9721e4944d 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php @@ -11,7 +11,7 @@ use wcf\system\devtools\pip\TXmlGuiPackageInstallationPlugin; use wcf\system\exception\SystemException; use wcf\system\form\builder\container\IFormContainer; use wcf\system\form\builder\field\BooleanFormField; -use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\CustomFormFieldDataProcessor; use wcf\system\form\builder\field\dependency\ValueFormFieldDependency; use wcf\system\form\builder\field\IntegerFormField; use wcf\system\form\builder\field\MultilineTextFormField; diff --git a/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php index d9265f2bf1..233278c4bb 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php @@ -15,7 +15,7 @@ use wcf\system\form\builder\container\FormContainer; use wcf\system\form\builder\field\bbcode\BBCodeAttributesFormField; use wcf\system\form\builder\field\BooleanFormField; use wcf\system\form\builder\field\ClassNameFormField; -use wcf\system\form\builder\field\data\VoidFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\VoidFormFieldDataProcessor; use wcf\system\form\builder\field\dependency\NonEmptyFormFieldDependency; use wcf\system\form\builder\field\dependency\ValueFormFieldDependency; use wcf\system\form\builder\field\IconFormField; diff --git a/wcfsetup/install/files/lib/system/package/plugin/MediaProviderPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/MediaProviderPackageInstallationPlugin.class.php index 16145a99d3..319c1ec6a3 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/MediaProviderPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/MediaProviderPackageInstallationPlugin.class.php @@ -8,7 +8,7 @@ use wcf\system\devtools\pip\IGuiPackageInstallationPlugin; use wcf\system\devtools\pip\TXmlGuiPackageInstallationPlugin; use wcf\system\form\builder\container\FormContainer; use wcf\system\form\builder\field\ClassNameFormField; -use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\CustomFormFieldDataProcessor; use wcf\system\form\builder\field\MultilineTextFormField; use wcf\system\form\builder\field\TextFormField; use wcf\system\form\builder\field\TitleFormField; diff --git a/wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php index 85c7f366c1..f71c35297b 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php @@ -9,7 +9,7 @@ use wcf\system\devtools\pip\IGuiPackageInstallationPlugin; use wcf\system\exception\SystemException; use wcf\system\form\builder\container\IFormContainer; use wcf\system\form\builder\field\BooleanFormField; -use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\CustomFormFieldDataProcessor; use wcf\system\form\builder\field\dependency\NonEmptyFormFieldDependency; use wcf\system\form\builder\field\dependency\ValueFormFieldDependency; use wcf\system\form\builder\field\MultilineTextFormField; diff --git a/wcfsetup/install/files/lib/system/package/plugin/SmileyPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/SmileyPackageInstallationPlugin.class.php index d9d587e44c..04e6b24513 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/SmileyPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/SmileyPackageInstallationPlugin.class.php @@ -6,7 +6,7 @@ use wcf\system\devtools\pip\IDevtoolsPipEntryList; use wcf\system\devtools\pip\IGuiPackageInstallationPlugin; use wcf\system\devtools\pip\TXmlGuiPackageInstallationPlugin; use wcf\system\form\builder\container\FormContainer; -use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\CustomFormFieldDataProcessor; use wcf\system\form\builder\field\IntegerFormField; use wcf\system\form\builder\field\ItemListFormField; use wcf\system\form\builder\field\TextFormField; diff --git a/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php index 1d11a9c53c..5f2188d3e6 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php @@ -11,7 +11,7 @@ use wcf\system\devtools\pip\IDevtoolsPipEntryList; use wcf\system\devtools\pip\IGuiPackageInstallationPlugin; use wcf\system\devtools\pip\TXmlGuiPackageInstallationPlugin; use wcf\system\form\builder\container\FormContainer; -use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\CustomFormFieldDataProcessor; use wcf\system\form\builder\field\dependency\ValueFormFieldDependency; use wcf\system\form\builder\field\IntegerFormField; use wcf\system\form\builder\field\option\OptionFormField; diff --git a/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php index 1c9b3df7e9..05dd37aefa 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php @@ -12,7 +12,7 @@ use wcf\system\exception\SystemException; use wcf\system\form\builder\container\IFormContainer; use wcf\system\form\builder\field\BooleanFormField; use wcf\system\form\builder\field\ClassNameFormField; -use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; +use wcf\system\form\builder\field\data\processor\CustomFormFieldDataProcessor; use wcf\system\form\builder\field\dependency\ValueFormFieldDependency; use wcf\system\form\builder\field\MultilineTextFormField; use wcf\system\form\builder\field\SingleSelectionFormField; -- 2.20.1