1: <?php
2: /*
3: You may not change or alter any portion of this comment or credits
4: of supporting developers from this source code or any supporting source code
5: which is considered copyrighted (c) material of the original comment or credit authors.
6:
7: This program is distributed in the hope that it will be useful,
8: but WITHOUT ANY WARRANTY; without even the implied warranty of
9: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10: */
11:
12: /**
13: * Userconfigs
14: *
15: * @copyright XOOPS Project (http://xoops.org)
16: * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
17: * @author trabis <lusopoemas@gmail.com>
18: * @version $Id$
19: */
20:
21: class Userconfigs extends Xoops\Module\Helper\HelperAbstract
22: {
23: /**
24: * Init the module
25: *
26: * @return null|void
27: */
28: public function init()
29: {
30: $this->setDirname('userconfigs');
31: }
32:
33: /**
34: * @return Userconfigs
35: */
36: public static function getInstance()
37: {
38: return parent::getInstance();
39: }
40:
41: /**
42: * @return UserconfigsConfigHandler
43: */
44: public function getHandlerConfig()
45: {
46: return $this->getHandler('config');
47: }
48:
49: /**
50: * @return UserconfigsItemHandler
51: */
52: public function getHandlerItem()
53: {
54: return $this->getHandler('item');
55: }
56:
57: /**
58: * @return UserconfigsOptionHandler
59: */
60: public function getHandlerOption()
61: {
62: return $this->getHandler('option');
63: }
64: }
65: