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: * Backward compatibility stub - use real class, as shown below for all new development.
14: */
15: class XoopsFormDateTime extends Xoops\Form\DateTime
16: {
17: /**
18: * Note change in arguments, removed size and showtime
19: *
20: * @param mixed $caption
21: * @param mixed $name
22: * @param integer $size
23: * @param integer $value
24: * @param mixed $showtime
25: */
26: function __construct($caption, $name, $size = 12, $value = 0, $showtime = true)
27: {
28: parent::__construct($caption, $name, $value);
29: }
30: }
31: