From: Alexander Ebert Date: Wed, 16 Nov 2011 16:46:00 +0000 (+0100) Subject: Moved option handling into external class. X-Git-Tag: 2.0.0_Beta_1~1591^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f76cc27ceb56787b624c746abfb2900d73394326;p=GitHub%2FWoltLab%2FWCF.git Moved option handling into external class. Options were handled within the Form-derived classes itself, causing non-accessible code if calling from outside (e.g. using an AJAX-request). --- diff --git a/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php b/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php index 679953a46f..84fed98c79 100755 --- a/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php @@ -1,14 +1,8 @@ - */ - public $cachedCategories = array(); - - /** - * list of all options - * @var array - */ - public $cachedOptions = array(); - - /** - * category structure - * @var array - */ - public $cachedCategoryStructure = array(); - - /** - * option structure - * @var array - */ - public $cachedOptionToCategories = array(); - - /** - * raw option values - * @var array - */ - public $rawValues = array(); - - /** - * option values - * @var array - */ - public $optionValues = array(); /** * Name of the active option category. @@ -86,62 +44,39 @@ abstract class AbstractOptionListForm extends AbstractForm { public $categoryName = ''; /** - * Options of the active category. - * @var array