ILIAS
Release_4_0_x_branch Revision 61816
|
This class represents a text property in a property form. More...
Public Member Functions | |
setValueByArray ($a_values) | |
Set value by array. | |
checkInput () | |
Check input, strip slashes etc. | |
render () | |
Insert property html. | |
Public Member Functions inherited from ilDateTimeInputGUI | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
enableDateActivation ($a_title, $a_postvar, $a_checked=true) | |
Enable date activation. | |
getActivationPostVar () | |
Get activation post var. | |
setDate (ilDateTime $a_date) | |
set date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTime('2008-06-12 08:00:00',IL_CAL_DATETIME)); | |
getDate () | |
Get Date, yyyy-mm-dd. | |
setShowDate ($a_showdate) | |
Set Show Date Information. | |
getShowDate () | |
Get Show Date Information. | |
setShowTime ($a_showtime) | |
Set Show Time Information. | |
getShowTime () | |
Get Show Time Information. | |
setShowEmpty ($a_empty) | |
Set Show Empty Information. | |
getShowEmpty () | |
Get Show Empty Information. | |
setStartYear ($a_year) | |
Set start year. | |
getStartYear () | |
Get start year. | |
setMinuteStepSize ($a_step_size) | |
Set minute step size E.g 5 => The selection will only show 00,05,10... | |
getMinuteStepSize () | |
Get minute step size. | |
setShowSeconds ($a_showseconds) | |
Set Show Seconds. | |
getShowSeconds () | |
Get Show Seconds. | |
insert (&$a_tpl) | |
Insert property html. | |
getTableFilterHTML () | |
Get HTML for table filter. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
getItemByPostVar ($a_post_var) | |
Get item by post var. | |
Public Member Functions inherited from ilFormPropertyGUI | |
& | executeCommand () |
Execute command. | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. | |
setParentForm ($a_parentform) | |
Set Parent Form. | |
getParentForm () | |
Get Parent Form. | |
setParent ($a_val) | |
Set Parent GUI object. | |
getParent () | |
Get Parent GUI object. | |
hideSubForm () | |
Sub form hidden on init? | |
setHiddenTitle ($a_val) | |
Set hidden title (for screenreaders) | |
getHiddenTitle () | |
Get hidden title. | |
writeToSession () | |
Write to session. | |
clearFromSession () | |
Clear session value. | |
readFromSession () | |
Read from session. | |
getHiddenTag ($a_post_var, $a_value) | |
Get hidden tag (used for disabled properties) |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. | |
Protected Attributes inherited from ilDateTimeInputGUI | |
$date_obj = null | |
$date | |
$showdate = true | |
$time = "00:00:00" | |
$showtime = false | |
$showseconds = false | |
$minute_step_size = 1 | |
$show_empty = false | |
$startyear = '' | |
$activation_title = '' | |
$activation_post_var = '' |
This class represents a text property in a property form.
Definition at line 13 of file class.ilBirthdayInputGUI.php.
ilBirthdayInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilDateTimeInputGUI.
Definition at line 52 of file class.ilBirthdayInputGUI.php.
References $_POST, ilDateTimeInputGUI\$date, $lng, $ok, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), IL_CAL_FKT_DATE, IL_CAL_FKT_GETDATE, ilFormPropertyGUI\setAlert(), ilDateTimeInputGUI\setDate(), and ilUtil\stripSlashes().
ilBirthdayInputGUI::render | ( | ) |
Insert property html.
Reimplemented from ilDateTimeInputGUI.
Definition at line 108 of file class.ilBirthdayInputGUI.php.
References $_POST, $lng, $tpl, ilCalendarUserSettings\_getInstance(), ilDateTimeInputGUI\getActivationPostVar(), ilDateTimeInputGUI\getDate(), ilFormPropertyGUI\getDisabled(), ilUtil\getImagePath(), ilFormPropertyGUI\getPostVar(), ilDateTimeInputGUI\getShowDate(), ilDateTimeInputGUI\getShowEmpty(), IL_CAL_FKT_GETDATE, ilCalendarUtil\initJSCalendar(), and ilUtil\makeDateSelect().
ilBirthdayInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Reimplemented from ilDateTimeInputGUI.
Definition at line 20 of file class.ilBirthdayInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), IL_CAL_DATE, and ilDateTimeInputGUI\setDate().