Additional form field interfaces should extend `IFormField`
authorMatthias Schmidt <gravatronics@live.com>
Sun, 6 Oct 2019 16:30:09 +0000 (18:30 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 6 Oct 2019 16:30:09 +0000 (18:30 +0200)
12 files changed:
wcfsetup/install/files/lib/system/form/builder/field/IAutoFocusFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/IImmutableFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/IMaximumFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/IMaximumLengthFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/IMinimumFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/IMinimumLengthFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/IMultipleFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/INullableFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/IPackagesFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/IPlaceholderFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/ISelectionFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/ISuffixedFormField.class.php

index 43ecca74a219224ee0f373d66f04fa0cbca2d3f1..4c2024dda72a6d5ec108071884adc51c8621f631 100644 (file)
@@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IAutoFocusFormField {
+interface IAutoFocusFormField extends IFormField {
        /**
         * Sets whether this field is auto-focused and returns this field.
         *
index 43cad4b5c3ab3ef505491646eb892e78adf90c13..814a768fe2f21c623d2280a8fb0e5c680a1f35ea 100644 (file)
@@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IImmutableFormField {
+interface IImmutableFormField extends IFormField {
        /**
         * Sets whether the value of this field is immutable and returns this field.
         * 
index 922ec31cb3f85037379408fd0a02f5044175d3da..d9db3ec09ef3d3ac86812f56a474bf70a2a69d60 100644 (file)
@@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IMaximumFormField {
+interface IMaximumFormField extends IFormField {
        /**
         * Returns the maximum of the values of this field or `null` if no maximum
         * has been set.
index 49ee480689d7acc39e25db641c02c8c84ed3feef..c1a647b62f7a178a0be75cb33f4fbf1822005961 100644 (file)
@@ -11,7 +11,7 @@ use wcf\data\language\Language;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IMaximumLengthFormField {
+interface IMaximumLengthFormField extends IFormField {
        /**
         * Returns the maximum length of the values of this field or `null` if no maximum
         * length has been set.
index 109d4675b63ba1dae9f51f43675b9c2b4b4c5a3b..19e72b13d57f8329fcbd5b50c4a24c8602f85f1f 100644 (file)
@@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IMinimumFormField {
+interface IMinimumFormField extends IFormField {
        /**
         * Returns the minimum of the values of this field or `null` if no minimum
         * has been set.
index d493c4010670a31d1cae90e64149628e9c2cfc9f..e4098febab1072a42d2546c9535ec81bd4911da6 100644 (file)
@@ -11,7 +11,7 @@ use wcf\data\language\Language;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IMinimumLengthFormField {
+interface IMinimumLengthFormField extends IFormField {
        /**
         * Returns the minimum length of the values of this field or `null` if no minimum
         * length has been set.
index 7d3eb445d5bfbb3f2c6d4bfe647d39fc1618e664..0e6bd9661b6f9921383073e52269e91951c889e8 100644 (file)
@@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IMultipleFormField {
+interface IMultipleFormField extends IFormField {
        /**
         * value to indicate that there is no maximum number of values to be selected
         * or set
index 8189df4bfbbb3784a50928bccb2be2fcd16ea524..74378f840766a2aabaebcc49f54cdc108e36ba26 100644 (file)
@@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface INullableFormField {
+interface INullableFormField extends IFormField {
        /**
         * Returns `true` if this field supports `null` as its value and returns `false`
         * otherwise.
index 3d288efac85295d999c52628dd76c49841eb3f2e..95950ad56c4423df13cffb5d138668e9c5088032 100644 (file)
@@ -11,7 +11,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IPackagesFormField {
+interface IPackagesFormField extends IFormField {
        /**
         * Returns the ids of the packages considered for this field. An empty
         * array is returned if all packages are considered.
index 65ed64b4f583e0f33db25cd134190e5d833176d5..1ebac536aa46396857718605bd64b6343273c3cf 100644 (file)
@@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface IPlaceholderFormField {
+interface IPlaceholderFormField extends IFormField {
        /**
         * Returns the placeholder value of this field or `null` if no placeholder has
         * been set.
index 57eed08177559b340b2b52421668ae835b2d4286..a626e14b8bff9d7ff6185be5083b155629cef49c 100644 (file)
@@ -11,7 +11,7 @@ use wcf\data\DatabaseObjectList;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface ISelectionFormField {
+interface ISelectionFormField extends IFormField {
        /**
         * Returns a structured array that can be used to generate the form field output.
         * 
index 4907399cba7fab5d3f455f4758e9e99c90c28cc9..be5894d53d0d6dcf03903ee3f002b7a2d794e9e8 100644 (file)
@@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field;
  * @package    WoltLabSuite\Core\System\Form\Builder\Field
  * @since      5.2
  */
-interface ISuffixedFormField {
+interface ISuffixedFormField extends IFormField {
        /**
         * Returns the suffix of this field or `null` if no suffix has been set.
         *