root/optiondependency/files/lib/system/event/listener/RegisterOptionDependencyListener.class.php @ 533

Revision 533, 0.8 kB (checked in by d0nut, 5 years ago)

initial release: dependent options

Line 
1<?php
2// WCF include
3require_once(WCF_DIR.'lib/system/event/EventListener.class.php');
4
5/**
6 * user option values for registration page
7 *
8 * @author      Torben Brodt
9 * @license     GNU General Public License <http://opensource.org/licenses/gpl-3.0.html>
10 * @package     de.easy-coding.wcf.optiondependency
11 */
12class RegisterOptionDependencyListener implements EventListener {
13        protected $eventObj;
14        protected $className;
15
16        /**
17         * @see EventListener::execute()
18         */
19        public function execute($eventObj, $className, $eventName) {   
20                $this->eventObj = $eventObj;
21                $this->className = $className;
22
23                switch ($eventName) {
24                        case 'assignVariables':
25                                $this->assignVariables();
26                                break;
27                }
28        }
29       
30        /**
31         * @see UserPage::assignVariables()
32         */
33        protected function assignVariables() {
34               
35        }
36}
37?>
Note: See TracBrowser for help on using the browser.