allow to modify enableoptions over eventlistener
authorStricted <info@stricted.de>
Sat, 28 Dec 2013 14:30:43 +0000 (15:30 +0100)
committerStricted <info@stricted.de>
Sat, 28 Dec 2013 14:46:36 +0000 (15:46 +0100)
wcfsetup/install/files/lib/data/option/Option.class.php

index adc61e1d6642c613ad41ab4ff29cc0fc7e7fb286..29486daf923bc9abcf87d257eead04af0fe56546 100644 (file)
@@ -184,4 +184,13 @@ class Option extends DatabaseObject {
        public function modifySelectOptions($selectOptions) {
                $this->data['selectOptions'] = $selectOptions;
        }
+       
+       /**
+        * Allows modifications of enable options.
+        * 
+        * @param       string          $enableOptions
+        */
+       public function modifyEnableOptions($enableOptions) {
+               $this->data['enableOptions'] = $enableOptions;
+       }
 }