From: Matthias Schmidt Date: Fri, 27 Jul 2018 07:31:11 +0000 (+0200) Subject: Add `ISelectOptionOptionType` interface X-Git-Tag: 5.2.0_Alpha_1~364^2~119 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da45dce4a431c24a91e2b8039d1d147f5201b1d0;p=GitHub%2FWoltLab%2FWCF.git Add `ISelectOptionOptionType` interface Close #2725 --- diff --git a/wcfsetup/install/files/lib/system/option/ISelectOptionOptionType.class.php b/wcfsetup/install/files/lib/system/option/ISelectOptionOptionType.class.php new file mode 100644 index 0000000000..c0ffd48325 --- /dev/null +++ b/wcfsetup/install/files/lib/system/option/ISelectOptionOptionType.class.php @@ -0,0 +1,17 @@ + + * @package WoltLabSuite\Core\System\Option + * @since 3.2 + */ +interface ISelectOptionOptionType {} diff --git a/wcfsetup/install/files/lib/system/option/RadioButtonOptionType.class.php b/wcfsetup/install/files/lib/system/option/RadioButtonOptionType.class.php index 43127acae5..861dee6498 100644 --- a/wcfsetup/install/files/lib/system/option/RadioButtonOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/RadioButtonOptionType.class.php @@ -17,7 +17,7 @@ use wcf\util\StringUtil; * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\Option */ -class RadioButtonOptionType extends AbstractOptionType implements ISearchableConditionUserOption { +class RadioButtonOptionType extends AbstractOptionType implements ISearchableConditionUserOption, ISelectOptionOptionType { /** * name of the template that contains the form element of this option type * @var string