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: namespace Xoops\Module\Helper;
13: /**
14: * @copyright XOOPS Project (http://xoops.org)
15: * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
16: * @author trabis <lusopoemas@gmail.com>
17: * @version $Id$
18: */
19:
20: class Dummy extends HelperAbstract
21: {
22: /**
23: * Init the module
24: *
25: * @return null|void
26: */
27: public function init()
28: {
29: }
30:
31: /**
32: * @return void|Xoops\Module\Helper\Dummy
33: */
34: public static function getInstance()
35: {
36: return parent::getInstance();
37: }
38:
39: /**
40: * @param string $dirname dirname of the module
41: */
42: public function setDirname($dirname)
43: {
44: parent::setDirname($dirname);
45: }
46:
47: /**
48: * Set debug option on or off
49: *
50: * Made public to match Xmf module helper. Since this class is used
51: * when a module doesn't have its own helper (yet) this is useful.
52: *
53: * @param bool $debug
54: */
55: public function setDebug($debug)
56: {
57: parent::setDebug($debug);
58: }
59:
60: /**
61: * Add a message to the module log
62: *
63: * Made public to match Xmf module helper. Since this class is used
64: * when a module doesn't have its own helper (yet) this is useful.
65: *
66: * @param string $log
67: */
68: public function addLog($log)
69: {
70: $this->_addLog($log);
71: }
72: }
73: