![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|


Public Member Functions | |
| __construct ($caption, $name, $size=15, $value=0, $showtime=true) | |
Public Member Functions inherited from XoopsFormElementTray | |
| __construct ($caption, $delimeter=' ', $name='') | |
| isContainer () | |
| isRequired () | |
| addElement (XoopsFormElement $formElement, $required=false) | |
| & | getRequired () |
| & | getElements ($recurse=false) |
| getDelimeter ($encode=false) | |
| setOrientation ($direction) | |
| getOrientation () | |
| render () | |
Public Member Functions inherited from XoopsFormElement | |
| __construct () | |
| isContainer () | |
| setName ($name) | |
| getName ($encode=true) | |
| setAccessKey ($key) | |
| getAccessKey () | |
| getAccessString ($str) | |
| setClass ($class) | |
| getClass () | |
| setCaption ($caption) | |
| getCaption ($encode=false) | |
| getTitle ($encode=true) | |
| setDescription ($description) | |
| getDescription ($encode=false) | |
| setHidden () | |
| isHidden () | |
| isRequired () | |
| setExtra ($extra, $replace=false) | |
| getExtra ($encode=false) | |
| setNocolspan ($nocolspan=true) | |
| getNocolspan () | |
| getFormType () | |
| setFormType ($value='') | |
| renderValidationJS () | |
| render () | |
Data Fields | |
| const | SHOW_BOTH = 1 |
| const | SHOW_DATE = 0 |
| const | SHOW_TIME = 2 |
Data Fields inherited from XoopsFormElementTray | |
| const | ORIENTATION_HORIZONTAL = 'horizontal' |
| const | ORIENTATION_VERTICAL = 'vertical' |
| $_required = array() | |
Data Fields inherited from XoopsFormElement | |
| $customValidationCode = array() | |
| $_name | |
| $_caption | |
| $_accesskey = '' | |
| $_class = array() | |
| $_hidden = false | |
| $_extra = array() | |
| $_required = false | |
| $_description = '' | |
| $_nocolspan = false | |
| $_formtype = '' | |
Additional Inherited Members | |
Protected Attributes inherited from XoopsFormElementTray | |
| $orientation | |
| __construct | ( | $caption, | |
| $name, | |||
$size = 15, |
|||
$value = 0, |
|||
$showtime = true |
|||
| ) |
XoopsFormDateTime::XoopsFormDateTime()
| mixed | $caption | form field caption |
| mixed | $name | form variable name |
| integer | $size | size of date select |
| integer | $value | unix timestamp, defaults to now |
| mixed | $showtime | control display of date and time elements SHOW_BOTH, true - show both date and time selectors SHOW_DATE, false - only show date selector SHOW_TIME - only show time selector |

| const SHOW_BOTH = 1 |
| const SHOW_DATE = 0 |
| const SHOW_TIME = 2 |