ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilDclDateSelectionFieldRepresentation Class Reference

Class ilDclDateSelectionFieldRepresentation. More...

+ Inheritance diagram for ilDclDateSelectionFieldRepresentation:
+ Collaboration diagram for ilDclDateSelectionFieldRepresentation:

Data Fields

const PROP_SELECTION_TYPE = 'date_selection_type'
 
const PROP_SELECTION_OPTIONS = 'date_selection_options'
 
- Data Fields inherited from ilDclSelectionFieldRepresentation
const PROP_SELECTION_TYPE = ''
 
const PROP_SELECTION_OPTIONS = ''
 

Protected Member Functions

 buildOptionsInput ()
 
- Protected Member Functions inherited from ilDclSelectionFieldRepresentation
 buildFieldCreationInput (ilObjDataCollection $dcl, $mode='create')
 
 buildOptionsInput ()
 
- Protected Member Functions inherited from ilDclBaseFieldRepresentation
 setupFilterInputField (ilFormPropertyGUI $input)
 Set basic settings for filter-input-gui. More...
 
 setupInputField (ilFormPropertyGUI $input, ilDclBaseFieldModel $field)
 Sets basic settings on field-input. More...
 
 getFilterInputFieldValue ( $input)
 
 buildFieldCreationInput (ilObjDataCollection $dcl, $mode='create')
 Build the creation-input-field. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilDclSelectionFieldRepresentation
 addFilterInputFieldToTable (ilTable2GUI $table)
 
- Public Member Functions inherited from ilDclBaseFieldRepresentation
 __construct (ilDclBaseFieldModel $field)
 
 addFilterInputFieldToTable (ilTable2GUI $table)
 Add filter input to TableGUI. More...
 
 passThroughFilter (ilDclBaseRecordModel $record, $filter)
 Checks if a filter affects a record. More...
 
 parseSortingValue ($value, $link=true)
 
 getInputField (ilPropertyFormGUI $form, $record_id=0)
 Returns field-input. More...
 
 addFieldCreationForm ($form, ilObjDataCollection $dcl, $mode="create")
 Adds the options for the field-types to the field-creation form. More...
 
 getPropertyInputFieldId ($property)
 Return post-var for property-fields. More...
 
 getField ()
 Return BaseFieldModel. More...
 
- Protected Attributes inherited from ilDclBaseFieldRepresentation
 $field
 
 $lng
 
 $ctrl
 

Detailed Description

Member Function Documentation

◆ buildOptionsInput()

ilDclDateSelectionFieldRepresentation::buildOptionsInput ( )
protected
Returns
ilDclGenericMultiInputGUI

Definition at line 18 of file class.ilDclDateSelectionFieldRepresentation.php.

References $text, and ilDclGenericMultiInputGUI\setMulti().

19  {
20  $selection_options = new ilDclGenericMultiInputGUI($this->lng->txt('dcl_selection_options'), 'prop_' . static::PROP_SELECTION_OPTIONS);
21  $selection_options->setMulti(true, true);
22 
23  $text = new ilDateTimeInputGUI($this->lng->txt('dcl_selection_options'), 'selection_value');
24  $selection_options->addInput($text);
25 
26  return $selection_options;
27  }
This class represents a date/time property in a property form.
$text
Definition: errorreport.php:18
Class ilDclGenericMultiInputGUI.
setMulti($a_multi, $a_sortable=false, $a_addremove=true)
+ Here is the call graph for this function:

Field Documentation

◆ PROP_SELECTION_OPTIONS

const ilDclDateSelectionFieldRepresentation::PROP_SELECTION_OPTIONS = 'date_selection_options'

◆ PROP_SELECTION_TYPE

const ilDclDateSelectionFieldRepresentation::PROP_SELECTION_TYPE = 'date_selection_type'

The documentation for this class was generated from the following file: