|
XOOPS RMCommon Utilities
2.1.8.91RC
|

Public Member Functions | |
| __construct ($caption, $name, $date='', $year_range='', $time=0) | |
| options ($options) | |
| render () | |
Public Member Functions inherited from RMFormElement | |
| addClass ($class) | |
| getCaption () | |
| getClass () | |
| getDescription () | |
| getExtra () | |
| getForm () | |
| getName () | |
| id () | |
| render () | |
| setCaption ($caption) | |
| setClass ($class) | |
| setDescription ($desc) | |
| setExtra ($extra) | |
| setForm ($name) | |
| setId ($id) | |
| setName ($name) | |
Private Attributes | |
| $_date = 0 | |
| $options = 0 | |
| $time | |
| $year_range = '' | |
Additional Inherited Members | |
Static Public Attributes inherited from RMFormElement | |
| static | $elementsIds = array() |
Definition at line 13 of file date.class.php.
| RMFormDate::__construct | ( | $caption, | |
| $name, | |||
$date = '', |
|||
$year_range = '', |
|||
$time = 0 |
|||
| ) |
Constructor
| <string> | $caption |
| <string> | $name Nombre identificador del campo |
| <string> | $date Fecha en formato 'yyyy-mm-14' |
| string | Year range (eg. 2000:2020) |
| int | Show time and time format (0 = Hide, 1 = Show date and time, 2 = Show only time) |
Definition at line 29 of file date.class.php.
References $time, $year_range, RMTemplate\get(), options(), RMFormElement\setCaption(), and RMFormElement\setName().

| RMFormDate::options | ( | $options | ) |
Set options for widget See documentation in http://trentrichardson.com/examples/timepicker/
| string | Options in javascript format (eg. showHour: false, showMinute: false) |
Definition at line 48 of file date.class.php.
References $options.
Referenced by __construct().

| RMFormDate::render | ( | ) |
Definition at line 54 of file date.class.php.
References $_date, $rtn, __(), elseif(), RMTemplate\get(), RMFormElement\getName(), and RMFormElement\id().

|
private |
Definition at line 16 of file date.class.php.
Referenced by render().
|
private |
Definition at line 17 of file date.class.php.
Referenced by options().
|
private |
Definition at line 19 of file date.class.php.
Referenced by __construct().
|
private |
Definition at line 18 of file date.class.php.
Referenced by __construct().