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

Class ilDclTextSelectionRecordFieldModel. More...

+ Inheritance diagram for ilDclTextSelectionRecordFieldModel:
+ Collaboration diagram for ilDclTextSelectionRecordFieldModel:

Public Member Functions

 fillExcelExport (ilExcel $worksheet, &$row, &$col)
 
- Public Member Functions inherited from ilDclSelectionRecordFieldModel
 getValue ()
 
 setValueFromForm ($form)
 
 parseExportValue ($value)
 
 getValueFromExcel ($excel, $row, $col)
 
- Public Member Functions inherited from ilDclBaseRecordFieldModel
 __construct (ilDclBaseRecordModel $record, ilDclBaseFieldModel $field)
 
 doCreate ()
 Creates an Id and a database entry. More...
 
 doUpdate ()
 Update object in database. More...
 
 delete ()
 Delete record field in database. More...
 
 getValue ()
 
 getValueForRepresentation ()
 
 serializeData ($value)
 Serialize data before storing to db. More...
 
 deserializeData ($value)
 Deserialize data before applying to field. More...
 
 setValue ($value, $omit_parsing=false)
 Set value for record field. More...
 
 setValueFromForm ($form)
 
 parseExportValue ($value)
 Function to parse incoming data from form input value $value. More...
 
 getValueFromExcel ($excel, $row, $col)
 
 parseValue ($value)
 Function to parse incoming data from form input value $value. More...
 
 getExportValue ()
 
 fillExcelExport (ilExcel $worksheet, &$row, &$col)
 
 getPlainText ()
 
 getSortingValue ($link=true)
 
 addHiddenItemsToConfirmation (ilConfirmationGUI &$confirmation)
 
 parseSortingValue ($value, $link=true)
 Returns sortable value for the specific field-types. More...
 
 cloneStructure (ilDclBaseRecordFieldModel $old_record_field)
 
 afterClone ()
 
 getField ()
 
 getId ()
 
 getRecord ()
 
 getRecordRepresentation ()
 
 setRecordRepresentation ($record_representation)
 
 getFieldRepresentation ()
 
 setFieldRepresentation ($field_representation)
 

Data Fields

const PROP_SELECTION_TYPE = 'text_selection_type'
 
const PROP_SELECTION_OPTIONS = 'text_selection_options'
 
- Data Fields inherited from ilDclSelectionRecordFieldModel
const PROP_SELECTION_TYPE = ''
 
const PROP_SELECTION_OPTIONS = ''
 

Additional Inherited Members

- Protected Member Functions inherited from ilDclSelectionRecordFieldModel
 getMultipleValuesFromString ($stringValues)
 Copied from reference field and slightly adjusted. More...
 
- Protected Member Functions inherited from ilDclBaseRecordFieldModel
 doRead ()
 Read object data from database. More...
 
 loadValue ()
 Load the value. More...
 
- Protected Attributes inherited from ilDclBaseRecordFieldModel
 $id
 
 $field
 
 $record
 
 $record_representation
 
 $field_representation
 
 $value
 
 $user
 
 $ctrl
 
 $db
 
 $lng
 

Detailed Description

Member Function Documentation

◆ fillExcelExport()

ilDclTextSelectionRecordFieldModel::fillExcelExport ( ilExcel  $worksheet,
$row,
$col 
)
Parameters
ilExcel$worksheet
$row
$col
Exceptions
PHPExcel_Exception

Definition at line 20 of file class.ilDclTextSelectionRecordFieldModel.php.

References $row, ilDclBaseRecordFieldModel\getExportValue(), ilExcel\setCell(), and PHPExcel_Cell_DataType\TYPE_STRING.

21  {
22  $worksheet->setCell($row, $col, $this->getExportValue(), PHPExcel_Cell_DataType::TYPE_STRING);
23  $col++;
24  }
setCell($a_row, $a_col, $a_value, $a_datatype=null)
Set cell value.
+ Here is the call graph for this function:

Field Documentation

◆ PROP_SELECTION_OPTIONS

const ilDclTextSelectionRecordFieldModel::PROP_SELECTION_OPTIONS = 'text_selection_options'

Definition at line 12 of file class.ilDclTextSelectionRecordFieldModel.php.

◆ PROP_SELECTION_TYPE

const ilDclTextSelectionRecordFieldModel::PROP_SELECTION_TYPE = 'text_selection_type'

Definition at line 11 of file class.ilDclTextSelectionRecordFieldModel.php.


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