ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilDataCollectionField Class Reference

Class ilDataCollectionField. More...

+ Inheritance diagram for ilDataCollectionField:
+ Collaboration diagram for ilDataCollectionField:

Public Member Functions

 __construct ($a_id=0)
 
 setId ($a_id)
 Set field id. More...
 
 getId ()
 Get field id. More...
 
 setTableId ($a_id)
 Set table id. More...
 
 getTableId ()
 Get table id. More...
 
 setTitle ($a_title)
 Set title. More...
 
 getTitle ()
 Get title. More...
 
 setDescription ($a_desc)
 Set description. More...
 
 getDescription ()
 Get description. More...
 
 setDatatypeId ($a_id)
 Set datatype id. More...
 
 getDatatypeId ()
 Get datatype_id. More...
 
 setRequired ($a_required)
 Set Required. More...
 
 getRequired ()
 Get Required Required. More...
 
 setPropertyvalue ($a_value, $a_id)
 Set Property Value. More...
 
 isUnique ()
 
 setUnique ($unique)
 
 getPropertyvalues ()
 Get Property Values. More...
 
 setVisible ($visible)
 setVisible More...
 
 setFilterable ($filterable)
 setFilterable More...
 
 getDatatype ()
 
 getLength ()
 
 getTextArea ()
 
 getLearningProgress ()
 
 getDatatypeTitle ()
 
 getStorageLocation ()
 
 isVisible ()
 
 isFilterable ()
 
 isEditable ()
 isEditable More...
 
 setEditable ($editable)
 
 getExportable ()
 
 toArray ()
 
 isStandardField ()
 
 doRead ()
 Read field. More...
 
 buildFromDBRecord ($rec)
 
 doCreate ()
 Create new field. More...
 
 doUpdate ()
 Update field. More...
 
 getFilterable ()
 
 doDelete ()
 
 getOrder ()
 
 setOrder ($order)
 
 getFieldRef ()
 
 getFieldReflist ()
 
 isNRef ()
 
 getProperties ()
 Get all properties of a field. More...
 
 setProperties ($data)
 
 setLocked ($locked)
 
 getLocked ()
 
 checkValidity ($value, $record_id=NULL)
 
 cloneStructure ($original_id)
 
 cloneProperties (ilDataCollectionField $originalField)
 
 setExportable ($exportable)
 

Static Public Member Functions

static _getTitleValidChars ($a_as_regex=true)
 All valid chars for filed titles. More...
 
static _getFieldIdByTitle ($title, $table_id)
 

Data Fields

const PROPERTYID_LENGTH = 1
 
const PROPERTYID_REGEX = 2
 
const PROPERTYID_REFERENCE = 3
 
const PROPERTYID_URL = 4
 LINK OR EMAIL! More...
 
const PROPERTYID_TEXTAREA = 5
 
const PROPERTYID_REFERENCE_LINK = 6
 
const PROPERTYID_WIDTH = 7
 
const PROPERTYID_HEIGHT = 8
 
const PROPERTYID_LEARNING_PROGRESS = 9
 
const PROPERTYID_ILIAS_REFERENCE_LINK = 10
 
const PROPERTYID_N_REFERENCE = 11
 
const PROPERTYID_FORMULA_EXPRESSION = 12
 
const PROPERTYID_DISPLAY_COPY_LINK_ACTION_MENU = 13
 
const PROPERTYID_LINK_DETAIL_PAGE_TEXT = 14
 
const PROPERTYID_LINK_DETAIL_PAGE_MOB = 15
 
const PROPERTYID_SUPPORTED_FILE_TYPES = 16
 
const VIEW_VIEW = 1
 
const EDIT_VIEW = 2
 
const FILTER_VIEW = 3
 
const EXPORTABLE_VIEW = 4
 

Protected Member Functions

 loadDatatype ()
 
 loadVisibility ()
 
 loadFilterability ()
 
 loadViewDefinition ($view)
 loadViewDefinition More...
 
 updateProperties ()
 Update properties of this field in Database. More...
 
 updateVisibility ()
 
 updateFilterability ()
 
 updateEditability ()
 
 updateExportability ()
 
 normalizeValue ($value)
 

Protected Attributes

 $id
 
 $table_id
 
 $title
 
 $description
 
 $datatypeId
 
 $required
 
 $order
 
 $unique
 
 $visible
 
 $editable
 
 $filterable
 
 $locked
 
 $property = array()
 
 $exportable
 
 $datatype
 

Private Member Functions

 loadEditability ()
 
 loadExportability ()
 
 updateViewDefinition ($view)
 updateViewDefinition More...
 
 deleteViewDefinition ($view)
 
 loadProperties ()
 Get all properties of a field. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilDataCollectionField::__construct (   $a_id = 0)
Parameters
int$a_id

Definition at line 111 of file class.ilDataCollectionField.php.

111 {
112 if ($a_id != 0) {
113 $this->id = $a_id;
114 $this->doRead();
115 }
116 }

References doRead().

+ Here is the call graph for this function:

Member Function Documentation

◆ _getFieldIdByTitle()

static ilDataCollectionField::_getFieldIdByTitle (   $title,
  $table_id 
)
static
Parameters
$titleTitle of the field
$table_idID of table where the field belongs to
Returns
int

Definition at line 141 of file class.ilDataCollectionField.php.

141 {
142 global $ilDB;
143 $result = $ilDB->query('SELECT id FROM il_dcl_field WHERE title = ' . $ilDB->quote($title, 'text') . ' AND table_id = '
144 . $ilDB->quote($table_id, 'integer'));
145 $id = 0;
146 while ($rec = $ilDB->fetchAssoc($result)) {
147 $id = $rec['id'];
148 }
149
150 return $id;
151 }
$result
global $ilDB

References $id, $ilDB, $result, $table_id, and $title.

Referenced by ilObjDataCollection\cloneStructure().

+ Here is the caller graph for this function:

◆ _getTitleValidChars()

static ilDataCollectionField::_getTitleValidChars (   $a_as_regex = true)
static

All valid chars for filed titles.

Parameters
bool$a_as_regex
Returns
string

Definition at line 126 of file class.ilDataCollectionField.php.

126 {
127 if ($a_as_regex) {
128 return '/^[a-zA-Z\d \/\-.,äöüÄÖÜàéèÀÉÈç¢]*$/i';
129 } else {
130 return 'A-Z a-z 0-9 /-.,';
131 }
132 }

Referenced by ilDataCollectionFieldEditGUI\initForm().

+ Here is the caller graph for this function:

◆ buildFromDBRecord()

ilDataCollectionField::buildFromDBRecord (   $rec)

Definition at line 590 of file class.ilDataCollectionField.php.

590 {
591 $this->setId($rec["id"]);
592 $this->setTableId($rec["table_id"]);
593 $this->setTitle($rec["title"]);
594 $this->setDescription($rec["description"]);
595 $this->setDatatypeId($rec["datatype_id"]);
596 $this->setRequired($rec["required"]);
597 $this->setUnique($rec["is_unique"]);
598 $this->setLocked($rec["is_locked"]);
599 }
setDescription($a_desc)
Set description.
setRequired($a_required)
Set Required.
setDatatypeId($a_id)
Set datatype id.

References setDatatypeId(), setDescription(), setId(), setLocked(), setRequired(), setTableId(), setTitle(), and setUnique().

+ Here is the call graph for this function:

◆ checkValidity()

ilDataCollectionField::checkValidity (   $value,
  $record_id = NULL 
)

Definition at line 941 of file class.ilDataCollectionField.php.

941 {
942 //Don't check empty values
943
944 if ($value == NULL) {
945 return true;
946 }
947
950 }
951
952 $properties = $this->getPropertyvalues();
956
958 $regex = $properties[$regex_id];
959 if (substr($regex, 0, 1) != "/") {
960 $regex = "/" . $regex;
961 }
962 if (substr($regex, - 1) != "/") {
963 $regex .= "/";
964 }
965
966 if ($properties[$length] < ilStr::strLen($value) AND is_numeric($properties[$length])) {
968 }
969
970 if(
971 $properties[$regex_id] != null &&
972 !preg_match($regex, $value)
973 )
974 {
976 }
977 //email or url
978 if ($properties[$url]) {
979 if ($json = json_decode($value)) {
980 $value = $json->link;
981 }
982 if (substr($value, 0, 3) === 'www') {
983 $value = 'http://' . $value;
984 }
985 if (! filter_var($value, FILTER_VALIDATE_URL) && ! filter_var($value, FILTER_VALIDATE_EMAIL)) {
987 }
988 }
989 }
990
991 if ($this->isUnique()) {
993 foreach ($table->getRecords() as $record) {
994 if ($this->normalizeValue($record->getRecordFieldValue($this->getId())) == $this->normalizeValue($value)
995 && ($record->getId() != $record_id || $record_id == 0)
996 ) {
998 }
999
1000 //for text it has to be case insensitive.
1002 if (strtolower($this->normalizeValue($record->getRecordFieldValue($this->getId()))) == strtolower($this->normalizeValue($value))
1003 && ($record->getId() != $record_id
1004 || $record_id == 0)
1005 ) {
1007 }
1008 }
1009
1011 $datestring = $value["date"] . " " . $value["time"];//["y"]."-".$value["date"]['m']."-".$value["date"]['d']." 00:00:00";
1012
1013 if ($record->getRecordFieldValue($this->getId()) == $datestring && ($record->getId() != $record_id || $record_id == 0)) {
1015 }
1016 }
1017 }
1018 }
1019
1020 return true;
1021 }
static checkValidity($type_id, $value)
now only distinguishes between number and text values
getPropertyvalues()
Get Property Values.
static strLen($a_string)
Definition: class.ilStr.php:79
$url
Definition: shib_logout.php:72

References $url, ilDataCollectionDatatype\checkValidity(), getDatatypeId(), getPropertyvalues(), ilDataCollectionCache\getTableCache(), getTableId(), ilDataCollectionDatatype\INPUTFORMAT_DATETIME, ilDataCollectionDatatype\INPUTFORMAT_TEXT, isUnique(), ilDataCollectionInputException\LENGTH_EXCEPTION, normalizeValue(), ilDataCollectionInputException\NOT_URL, PROPERTYID_LENGTH, PROPERTYID_REGEX, PROPERTYID_URL, ilDataCollectionInputException\REGEX_EXCEPTION, ilStr\strLen(), ilDataCollectionInputException\TYPE_EXCEPTION, and ilDataCollectionInputException\UNIQUE_EXCEPTION.

+ Here is the call graph for this function:

◆ cloneProperties()

ilDataCollectionField::cloneProperties ( ilDataCollectionField  $originalField)
Parameters
ilDataCollectionField$originalField

Definition at line 1064 of file class.ilDataCollectionField.php.

1064 {
1065 $orgProps = $originalField->getProperties();
1066 if ($orgProps == NULL) {
1067 return;
1068 }
1069 foreach ($orgProps as $id => $value) {
1070 $fieldprop_obj = new ilDataCollectionFieldProp();
1071 $fieldprop_obj->setDatatypePropertyId($id);
1072 $fieldprop_obj->setFieldId($this->getId());
1073 // If reference field, we must reset the referenced field, otherwise it will point to the old ID
1076 ) {
1077 $value = NULL;
1078 }
1079 $fieldprop_obj->setValue($value);
1080 $fieldprop_obj->doCreate();
1081 }
1082 }
Class ilDataCollectionFieldProp.
getProperties()
Get all properties of a field.

References $id, getDatatypeId(), getId(), getProperties(), ilDataCollectionDatatype\INPUTFORMAT_REFERENCE, and PROPERTYID_REFERENCE.

Referenced by cloneStructure().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cloneStructure()

ilDataCollectionField::cloneStructure (   $original_id)
Parameters
$original_id
Exceptions
ilException

Definition at line 1043 of file class.ilDataCollectionField.php.

1043 {
1044 $original = ilDataCollectionCache::getFieldCache($original_id);
1045 $this->setTitle($original->getTitle());
1046 $this->setDatatypeId($original->getDatatypeId());
1047 $this->setDescription($original->getDescription());
1048 $this->setEditable($original->isEditable());
1049 $this->setLocked($original->getLocked());
1050 $this->setFilterable($original->isFilterable());
1051 $this->setVisible($original->isVisible());
1052 $this->setOrder($original->getOrder());
1053 $this->setRequired($original->getRequired());
1054 $this->setUnique($original->isUnique());
1055 $this->setExportable($original->getExportable());
1056 $this->doCreate();
1057 $this->cloneProperties($original);
1058 }
setFilterable($filterable)
setFilterable
cloneProperties(ilDataCollectionField $originalField)

References cloneProperties(), doCreate(), ilDataCollectionCache\getFieldCache(), setDatatypeId(), setDescription(), setEditable(), setExportable(), setFilterable(), setLocked(), setOrder(), setRequired(), setTitle(), setUnique(), and setVisible().

+ Here is the call graph for this function:

◆ deleteViewDefinition()

ilDataCollectionField::deleteViewDefinition (   $view)
private

Definition at line 796 of file class.ilDataCollectionField.php.

796 {
797 global $ilDB;
798
799 $query = "DELETE def FROM il_dcl_viewdefinition def INNER JOIN il_dcl_view ON il_dcl_view.type = " . $ilDB->quote($view, "integer")
800 . " AND il_dcl_view.table_id = " . $ilDB->quote($this->getTableId(), "integer") . " WHERE def.view_id = il_dcl_view.id AND def.field = "
801 . $ilDB->quote($this->getId(), "text");
802
803 $ilDB->manipulate($query);
804 }

References $ilDB, $query, getId(), and getTableId().

Referenced by doDelete().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doCreate()

ilDataCollectionField::doCreate ( )

Create new field.

Reimplemented in ilDataCollectionStandardField.

Definition at line 605 of file class.ilDataCollectionField.php.

605 {
606 global $ilDB;
607 $this->getLocked() == NULL ? $this->setLocked(false) : true;
608
610 throw new ilException("The field does not have a related table!");
611 }
612
613 $id = $ilDB->nextId("il_dcl_field");
614 $this->setId($id);
615 $query = "INSERT INTO il_dcl_field (" . "id" . ", table_id" . ", datatype_id" . ", title" . ", description" . ", required" . ", is_unique"
616 . ", is_locked" . " ) VALUES (" . $ilDB->quote($this->getId(), "integer") . "," . $ilDB->quote($this->getTableId(), "integer") . ","
617 . $ilDB->quote($this->getDatatypeId(), "integer") . "," . $ilDB->quote($this->getTitle(), "text") . ","
618 . $ilDB->quote($this->getDescription(), "text") . "," . $ilDB->quote($this->getRequired(), "integer") . ","
619 . $ilDB->quote($this->isUnique(), "integer") . "," . $ilDB->quote($this->getLocked() ? 1 : 0, "integer") . ")";
620 $ilDB->manipulate($query);
621
622 $this->updateVisibility();
623 $this->updateFilterability();
624 $this->updateEditability();
625 $this->updateExportability();
626 }
getRequired()
Get Required Required.
Base class for ILIAS Exception handling.

References $id, $ilDB, $query, ilDataCollectionTable\_tableExists(), getDatatypeId(), getDescription(), getId(), getLocked(), getRequired(), getTableId(), getTitle(), isUnique(), setId(), setLocked(), updateEditability(), updateExportability(), updateFilterability(), and updateVisibility().

Referenced by cloneStructure().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doDelete()

ilDataCollectionField::doDelete ( )

Definition at line 810 of file class.ilDataCollectionField.php.

810 {
811 global $ilDB;
812
813 // delete viewdefinitions.
814 $this->deleteViewDefinition(self::VIEW_VIEW);
815 $this->deleteViewDefinition(self::FILTER_VIEW);
816 $this->deleteViewDefinition(self::EDIT_VIEW);
817 $this->deleteViewDefinition(self::EXPORTABLE_VIEW);
818
819 $query = "DELETE FROM il_dcl_field_prop WHERE field_id = " . $ilDB->quote($this->getId(), "text");
820 $ilDB->manipulate($query);
821
822 $query = "DELETE FROM il_dcl_field WHERE id = " . $ilDB->quote($this->getId(), "text");
823 $ilDB->manipulate($query);
824 }

References $ilDB, $query, deleteViewDefinition(), and getId().

+ Here is the call graph for this function:

◆ doRead()

ilDataCollectionField::doRead ( )

Read field.

Reimplemented in ilDataCollectionStandardField.

Definition at line 568 of file class.ilDataCollectionField.php.

568 {
569 global $ilDB;
570
571 //THEN 1 ELSE 0 END AS has_options FROM il_dcl_field f WHERE id = ".$ilDB->quote($this->getId(),"integer");
572 $query = "SELECT * FROM il_dcl_field WHERE id = " . $ilDB->quote($this->getId(), "integer");
573 $set = $ilDB->query($query);
574 $rec = $ilDB->fetchAssoc($set);
575
576 $this->setTableId($rec["table_id"]);
577 $this->setTitle($rec["title"]);
578 $this->setDescription($rec["description"]);
579 $this->setDatatypeId($rec["datatype_id"]);
580 $this->setRequired($rec["required"]);
581 $this->setUnique($rec["is_unique"]);
582 $this->setLocked($rec["is_locked"]);
583 $this->loadProperties();
584 }
loadProperties()
Get all properties of a field.

References $ilDB, $query, getId(), loadProperties(), setDatatypeId(), setDescription(), setLocked(), setRequired(), setTableId(), setTitle(), and setUnique().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doUpdate()

ilDataCollectionField::doUpdate ( )

Update field.

Reimplemented in ilDataCollectionStandardField.

Definition at line 632 of file class.ilDataCollectionField.php.

632 {
633 global $ilDB;
634
635 $ilDB->update("il_dcl_field", array(
636 "table_id" => array(
637 "integer",
638 $this->getTableId()
639 ),
640 "datatype_id" => array(
641 "text",
642 $this->getDatatypeId()
643 ),
644 "title" => array(
645 "text",
646 $this->getTitle()
647 ),
648 "description" => array(
649 "text",
650 $this->getDescription()
651 ),
652 "required" => array(
653 "integer",
654 $this->getRequired()
655 ),
656 "is_unique" => array(
657 "integer",
658 $this->isUnique()
659 ),
660 "is_locked" => array(
661 "integer",
662 $this->getLocked() ? 1 : 0
663 ),
664 ), array(
665 "id" => array(
666 "integer",
667 $this->getId()
668 )
669 ));
670 $this->updateVisibility();
671 $this->updateFilterability();
672 $this->updateEditability();
673 $this->updateExportability();
674 $this->updateProperties();
675 }
updateProperties()
Update properties of this field in Database.

References $ilDB, getDatatypeId(), getDescription(), getId(), getLocked(), getRequired(), getTableId(), getTitle(), isUnique(), updateEditability(), updateExportability(), updateFilterability(), updateProperties(), and updateVisibility().

+ Here is the call graph for this function:

◆ getDatatype()

ilDataCollectionField::getDatatype ( )

Definition at line 358 of file class.ilDataCollectionField.php.

References $datatype, and loadDatatype().

+ Here is the call graph for this function:

◆ getDatatypeId()

ilDataCollectionField::getDatatypeId ( )

◆ getDatatypeTitle()

ilDataCollectionField::getDatatypeTitle ( )

Definition at line 401 of file class.ilDataCollectionField.php.

401 {
402 $this->loadDatatype();
403
404 return $this->datatype->getTitle();
405 }

References loadDatatype().

Referenced by ilDataCollectionFieldListTableGUI\fillRow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDescription()

ilDataCollectionField::getDescription ( )

Get description.

Returns
string

Definition at line 233 of file class.ilDataCollectionField.php.

References $description.

Referenced by doCreate(), doUpdate(), ilDataCollectionFieldListTableGUI\fillRow(), and ilDataCollectionDatatype\getInputField().

+ Here is the caller graph for this function:

◆ getExportable()

ilDataCollectionField::getExportable ( )

Definition at line 520 of file class.ilDataCollectionField.php.

520 {
521 if (! isset($this->exportable)) {
522 $this->loadExportability();
523 }
524
525 return $this->exportable;
526 }

References $exportable, and loadExportability().

Referenced by ilDataCollectionStandardField\cloneStructure(), ilDataCollectionFieldListTableGUI\fillRow(), and updateViewDefinition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFieldRef()

ilDataCollectionField::getFieldRef ( )

Definition at line 850 of file class.ilDataCollectionField.php.

850 {
851 $props = $this->getPropertyvalues();
853
854 return $props[$id];
855 }

References $id, getPropertyvalues(), and PROPERTYID_REFERENCE.

Referenced by ilDataCollectionDatatype\addFilterInputFieldToTable(), and ilDataCollectionFieldListTableGUI\fillRow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFieldReflist()

ilDataCollectionField::getFieldReflist ( )

Definition at line 861 of file class.ilDataCollectionField.php.

861 {
862 $props = $this->getPropertyvalues();
864
865 return $props[$id];
866 }

References $id, getPropertyvalues(), and PROPERTYID_N_REFERENCE.

+ Here is the call graph for this function:

◆ getFilterable()

ilDataCollectionField::getFilterable ( )
Returns
bool returns the same as isFilterable.

Definition at line 706 of file class.ilDataCollectionField.php.

706 {
707 return $this->isFilterable();
708 }

References isFilterable().

+ Here is the call graph for this function:

◆ getId()

◆ getLearningProgress()

ilDataCollectionField::getLearningProgress ( )
Returns
bool

Definition at line 390 of file class.ilDataCollectionField.php.

390 {
391 $props = $this->getPropertyvalues();
393
394 return $props[$p];
395 }

References getPropertyvalues(), and PROPERTYID_LEARNING_PROGRESS.

+ Here is the call graph for this function:

◆ getLength()

ilDataCollectionField::getLength ( )

Definition at line 368 of file class.ilDataCollectionField.php.

368 {
369 $props = $this->getPropertyvalues();
371
372 return $props[$l];
373 }
global $l
Definition: afr.php:30

References $l, getPropertyvalues(), and PROPERTYID_LENGTH.

Referenced by ilDataCollectionDatatype\getInputField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLocked()

ilDataCollectionField::getLocked ( )
Returns
boolean

Reimplemented in ilDataCollectionStandardField.

Definition at line 933 of file class.ilDataCollectionField.php.

References $locked.

Referenced by doCreate(), doUpdate(), and ilDataCollectionFieldListTableGUI\fillRow().

+ Here is the caller graph for this function:

◆ getOrder()

ilDataCollectionField::getOrder ( )

Definition at line 830 of file class.ilDataCollectionField.php.

830 {
831 if (! isset($this->order)) {
832 $this->loadVisibility();
833 }
834
835 return ! $this->order ? 0 : $this->order;
836 }

References $order, and loadVisibility().

Referenced by ilDataCollectionStandardField\cloneStructure(), and updateViewDefinition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getProperties()

ilDataCollectionField::getProperties ( )

Get all properties of a field.

Returns
array

Definition at line 908 of file class.ilDataCollectionField.php.

908 {
909 if ($this->property == NULL) {
910 $this->loadProperties();
911 }
912
913 return $this->property;
914 }

References $property, and loadProperties().

Referenced by cloneProperties(), ilDataCollectionDatatype\getInputField(), getTextArea(), and ilDataCollectionDatatype\passThroughFilter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPropertyvalues()

ilDataCollectionField::getPropertyvalues ( )

Get Property Values.

Parameters
int$a_id
Returns
array

Definition at line 318 of file class.ilDataCollectionField.php.

318 {
319 if ($this->property == NULL) {
320 $this->loadProperties();
321 }
322
323 return $this->property;
324 }

References $property, and loadProperties().

Referenced by checkValidity(), getFieldRef(), getFieldReflist(), getLearningProgress(), getLength(), and isNRef().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRequired()

ilDataCollectionField::getRequired ( )

Get Required Required.

Returns
boolean

Definition at line 279 of file class.ilDataCollectionField.php.

References $required.

Referenced by ilDataCollectionStandardField\cloneStructure(), doCreate(), doUpdate(), and ilDataCollectionFieldListTableGUI\fillRow().

+ Here is the caller graph for this function:

◆ getStorageLocation()

ilDataCollectionField::getStorageLocation ( )

Definition at line 411 of file class.ilDataCollectionField.php.

411 {
412 $this->loadDatatype();
413
414 return $this->datatype->getStorageLocation();
415 }

References loadDatatype().

+ Here is the call graph for this function:

◆ getTableId()

ilDataCollectionField::getTableId ( )

Get table id.

Returns
int

Definition at line 189 of file class.ilDataCollectionField.php.

189 {
190 return $this->table_id;
191 }

References $table_id.

Referenced by checkValidity(), deleteViewDefinition(), doCreate(), doUpdate(), and updateViewDefinition().

+ Here is the caller graph for this function:

◆ getTextArea()

ilDataCollectionField::getTextArea ( )
Returns
bool

Definition at line 379 of file class.ilDataCollectionField.php.

379 {
380 $props = $this->getProperties();
382
383 return $props[$t];
384 }

References $t, getProperties(), and PROPERTYID_TEXTAREA.

Referenced by ilDataCollectionDatatype\getInputField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTitle()

ilDataCollectionField::getTitle ( )

Get title.

Returns
string

Definition at line 213 of file class.ilDataCollectionField.php.

213 {
214 return $this->title;
215 }

References $title.

Referenced by ilDataCollectionDatatype\addFilterInputFieldToTable(), doCreate(), doUpdate(), ilDataCollectionFieldListTableGUI\fillRow(), and ilDataCollectionDatatype\getInputField().

+ Here is the caller graph for this function:

◆ isEditable()

ilDataCollectionField::isEditable ( )

isEditable

Returns
int

Definition at line 503 of file class.ilDataCollectionField.php.

503 {
504 if (! isset($this->editable)) {
505 $this->loadEditability();
506 }
507
508 return $this->editable;
509 }

References $editable, and loadEditability().

Referenced by ilDataCollectionStandardField\cloneStructure(), and updateViewDefinition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isFilterable()

ilDataCollectionField::isFilterable ( )
Returns
bool

Definition at line 447 of file class.ilDataCollectionField.php.

447 {
448 if (! isset($this->filterable)) {
449 $this->loadFilterability();
450 }
451
452 return $this->filterable;
453 }

References $filterable, and loadFilterability().

Referenced by ilDataCollectionStandardField\cloneStructure(), ilDataCollectionFieldListTableGUI\fillRow(), getFilterable(), and updateViewDefinition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isNRef()

ilDataCollectionField::isNRef ( )
Returns
bool returns true iff this is a reference field AND the reference field has multiple input possibilities.

Definition at line 872 of file class.ilDataCollectionField.php.

872 {
873 $props = $this->getPropertyvalues();
875
876 return $props[$id];
877 }

References $id, getPropertyvalues(), and PROPERTYID_N_REFERENCE.

Referenced by ilDataCollectionDatatype\getInputField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isStandardField()

ilDataCollectionField::isStandardField ( )

Reimplemented in ilDataCollectionStandardField.

Definition at line 560 of file class.ilDataCollectionField.php.

560 {
561 return false;
562 }

Referenced by ilDataCollectionFieldListTableGUI\fillRow(), and getDatatypeId().

+ Here is the caller graph for this function:

◆ isUnique()

ilDataCollectionField::isUnique ( )
Returns
bool

Reimplemented in ilDataCollectionStandardField.

Definition at line 298 of file class.ilDataCollectionField.php.

References $unique.

Referenced by checkValidity(), doCreate(), doUpdate(), and ilDataCollectionFieldListTableGUI\fillRow().

+ Here is the caller graph for this function:

◆ isVisible()

ilDataCollectionField::isVisible ( )
Returns
bool

Definition at line 428 of file class.ilDataCollectionField.php.

428 {
429 if (! isset($this->visible)) {
430 $this->loadVisibility();
431 }
432
433 return $this->visible;
434 }

References $visible, and loadVisibility().

Referenced by ilDataCollectionStandardField\cloneStructure(), ilDataCollectionFieldListTableGUI\fillRow(), and updateViewDefinition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadDatatype()

ilDataCollectionField::loadDatatype ( )
protected

Definition at line 418 of file class.ilDataCollectionField.php.

418 {
419 if ($this->datatype == NULL) {
420 $this->datatype = new ilDataCollectionDatatype($this->datatypeId);
421 }
422 }
Class ilDataCollectionDatatype.

Referenced by getDatatype(), getDatatypeTitle(), and getStorageLocation().

+ Here is the caller graph for this function:

◆ loadEditability()

ilDataCollectionField::loadEditability ( )
private

Definition at line 532 of file class.ilDataCollectionField.php.

532 {
533 if ($this->editable == NULL) {
534 $this->loadViewDefinition(self::EDIT_VIEW);
535 }
536 }
loadViewDefinition($view)
loadViewDefinition

References loadViewDefinition().

Referenced by isEditable().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadExportability()

ilDataCollectionField::loadExportability ( )
private

Definition at line 542 of file class.ilDataCollectionField.php.

542 {
543 if ($this->exportable == NULL) {
544 $this->loadViewDefinition(self::EXPORTABLE_VIEW);
545 }
546 }

References loadViewDefinition().

Referenced by getExportable().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadFilterability()

ilDataCollectionField::loadFilterability ( )
protected

Definition at line 456 of file class.ilDataCollectionField.php.

456 {
457 if ($this->filterable == NULL) {
458 $this->loadViewDefinition(self::FILTER_VIEW);
459 }
460 }

References loadViewDefinition().

Referenced by isFilterable().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadProperties()

ilDataCollectionField::loadProperties ( )
private

Get all properties of a field.

Returns
array

Definition at line 885 of file class.ilDataCollectionField.php.

885 {
886 global $ilDB;
887
888 $query = "SELECT datatype_prop_id,
889 title,
890 value
891 FROM il_dcl_field_prop fp
892 LEFT JOIN il_dcl_datatype_prop AS p ON p.id = fp.datatype_prop_id
893 WHERE fp.field_id = " . $ilDB->quote($this->getId(), "integer");
894
895 $set = $ilDB->query($query);
896
897 while ($rec = $ilDB->fetchAssoc($set)) {
898 $this->setPropertyvalue($rec['value'], $rec['datatype_prop_id']);
899 }
900 }
setPropertyvalue($a_value, $a_id)
Set Property Value.

References $ilDB, $query, getId(), and setPropertyvalue().

Referenced by doRead(), getProperties(), and getPropertyvalues().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadViewDefinition()

ilDataCollectionField::loadViewDefinition (   $view)
protected

loadViewDefinition

Parameters
$viewint use VIEW_VIEW or EDIT_VIEW

Definition at line 468 of file class.ilDataCollectionField.php.

468 {
469 global $ilDB;
470 $query = " SELECT view.table_id, def.field_order, def.is_set FROM il_dcl_viewdefinition def
471 INNER JOIN il_dcl_view view ON view.id = def.view_id AND view.type = " . $ilDB->quote($view, "integer") . "
472 WHERE def.field LIKE '" . $this->id . "' AND view.table_id = " . $ilDB->quote($this->table_id, "integer");
473 $set = $ilDB->query($query);
474 $rec = $ilDB->fetchAssoc($set);
475 $prop = $rec['is_set'];
476
477 switch ($view) {
478 case self::VIEW_VIEW:
479 $this->visible = $prop;
480 break;
481 case self::EDIT_VIEW:
482 $this->editable = $prop;
483 break;
485 $this->filterable = $prop;
486 break;
488 $this->exportable = $prop;
489 break;
490 }
491
492 if (! $this->order) {
493 $this->order = $rec['field_order'];
494 }
495 }

References $ilDB, $query, EDIT_VIEW, EXPORTABLE_VIEW, FILTER_VIEW, and VIEW_VIEW.

Referenced by loadEditability(), loadExportability(), loadFilterability(), and loadVisibility().

+ Here is the caller graph for this function:

◆ loadVisibility()

ilDataCollectionField::loadVisibility ( )
protected

Definition at line 437 of file class.ilDataCollectionField.php.

437 {
438 if ($this->visible == NULL) {
439 $this->loadViewDefinition(self::VIEW_VIEW);
440 }
441 }

References loadViewDefinition().

Referenced by getOrder(), and isVisible().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ normalizeValue()

ilDataCollectionField::normalizeValue (   $value)
protected
Parameters
$value
Returns
string

Definition at line 1029 of file class.ilDataCollectionField.php.

1029 {
1030 if (is_string($value)) {
1031 $value = trim(preg_replace("/\\s+/uism", " ", $value));
1032 }
1033
1034 return $value;
1035 }

Referenced by checkValidity().

+ Here is the caller graph for this function:

◆ setDatatypeId()

ilDataCollectionField::setDatatypeId (   $a_id)

Set datatype id.

Parameters
int$a_id

Definition at line 243 of file class.ilDataCollectionField.php.

243 {
244 //unset the cached datatype.
245 $this->datatype = NULL;
246 $this->datatypeId = $a_id;
247 }

Referenced by buildFromDBRecord(), cloneStructure(), and doRead().

+ Here is the caller graph for this function:

◆ setDescription()

ilDataCollectionField::setDescription (   $a_desc)

Set description.

Parameters
string$a_desc

Definition at line 223 of file class.ilDataCollectionField.php.

223 {
224 $this->description = $a_desc;
225 }

Referenced by buildFromDBRecord(), cloneStructure(), and doRead().

+ Here is the caller graph for this function:

◆ setEditable()

ilDataCollectionField::setEditable (   $editable)

Definition at line 515 of file class.ilDataCollectionField.php.

515 {
516 $this->editable = $editable;
517 }

References $editable.

Referenced by cloneStructure(), and ilDataCollectionStandardField\cloneStructure().

+ Here is the caller graph for this function:

◆ setExportable()

ilDataCollectionField::setExportable (   $exportable)
Parameters
boolean$exportable

Definition at line 1088 of file class.ilDataCollectionField.php.

1088 {
1089 $this->exportable = $exportable;
1090 }

References $exportable.

Referenced by cloneStructure(), and ilDataCollectionStandardField\cloneStructure().

+ Here is the caller graph for this function:

◆ setFilterable()

ilDataCollectionField::setFilterable (   $filterable)

setFilterable

Parameters
$filterablebool

Definition at line 346 of file class.ilDataCollectionField.php.

346 {
347 if ($filterable == true && $this->order === NULL) {
348 $this->setOrder(0);
349 }
350
351 $this->filterable = $filterable;
352 }

References $filterable, and setOrder().

Referenced by cloneStructure(), and ilDataCollectionStandardField\cloneStructure().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setId()

ilDataCollectionField::setId (   $a_id)

Set field id.

Parameters
int$a_id

Definition at line 159 of file class.ilDataCollectionField.php.

159 {
160 $this->id = $a_id;
161 }

Referenced by buildFromDBRecord(), and doCreate().

+ Here is the caller graph for this function:

◆ setLocked()

ilDataCollectionField::setLocked (   $locked)
Parameters
boolean$locked

Definition at line 925 of file class.ilDataCollectionField.php.

925 {
926 $this->locked = $locked;
927 }

References $locked.

Referenced by buildFromDBRecord(), cloneStructure(), ilDataCollectionStandardField\cloneStructure(), doCreate(), and doRead().

+ Here is the caller graph for this function:

◆ setOrder()

ilDataCollectionField::setOrder (   $order)

Definition at line 842 of file class.ilDataCollectionField.php.

842 {
843 $this->order = $order;
844 }

References $order.

Referenced by cloneStructure(), ilDataCollectionStandardField\cloneStructure(), setFilterable(), and setVisible().

+ Here is the caller graph for this function:

◆ setProperties()

ilDataCollectionField::setProperties (   $data)

Definition at line 917 of file class.ilDataCollectionField.php.

917 {
918 $this->property = $data;
919 }
$data

References $data.

◆ setPropertyvalue()

ilDataCollectionField::setPropertyvalue (   $a_value,
  $a_id 
)

Set Property Value.

Parameters
string$a_value
int$a_id

Definition at line 290 of file class.ilDataCollectionField.php.

290 {
291 $this->property[$a_id] = $a_value;
292 }

Referenced by loadProperties().

+ Here is the caller graph for this function:

◆ setRequired()

ilDataCollectionField::setRequired (   $a_required)

Set Required.

Parameters
boolean$a_requiredRequired

Definition at line 269 of file class.ilDataCollectionField.php.

269 {
270 $this->required = $a_required;
271 }

Referenced by buildFromDBRecord(), cloneStructure(), ilDataCollectionStandardField\cloneStructure(), and doRead().

+ Here is the caller graph for this function:

◆ setTableId()

ilDataCollectionField::setTableId (   $a_id)

Set table id.

Parameters
int$a_id

Definition at line 179 of file class.ilDataCollectionField.php.

179 {
180 $this->table_id = $a_id;
181 }

Referenced by buildFromDBRecord(), and doRead().

+ Here is the caller graph for this function:

◆ setTitle()

ilDataCollectionField::setTitle (   $a_title)

Set title.

Parameters
string$a_title

Definition at line 199 of file class.ilDataCollectionField.php.

199 {
200 //title cannot begin with _ as this is saved for other purposes. make __ instead.
201 if (substr($a_title, 0, 1) == "_" && substr($a_title, 0, 2) != "__") {
202 $a_title = "_" . $a_title;
203 }
204 $this->title = $a_title;
205 }

Referenced by buildFromDBRecord(), cloneStructure(), and doRead().

+ Here is the caller graph for this function:

◆ setUnique()

ilDataCollectionField::setUnique (   $unique)
Parameters
bool$unique

Definition at line 306 of file class.ilDataCollectionField.php.

306 {
307 $this->unique = $unique ? 1 : 0;
308 }

References $unique.

Referenced by buildFromDBRecord(), cloneStructure(), ilDataCollectionStandardField\cloneStructure(), and doRead().

+ Here is the caller graph for this function:

◆ setVisible()

ilDataCollectionField::setVisible (   $visible)

setVisible

Parameters
$visiblebool

Definition at line 332 of file class.ilDataCollectionField.php.

332 {
333 if ($visible == true && $this->order === NULL) {
334 $this->setOrder(0);
335 }
336
337 $this->visible = $visible;
338 }

References $visible, and setOrder().

Referenced by cloneStructure(), and ilDataCollectionStandardField\cloneStructure().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toArray()

ilDataCollectionField::toArray ( )

Definition at line 552 of file class.ilDataCollectionField.php.

552 {
553 return (array)$this;
554 }

◆ updateEditability()

ilDataCollectionField::updateEditability ( )
protected

Definition at line 727 of file class.ilDataCollectionField.php.

727 {
728 $this->updateViewDefinition(self::EDIT_VIEW);
729 }
updateViewDefinition($view)
updateViewDefinition

References updateViewDefinition().

Referenced by doCreate(), and doUpdate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateExportability()

ilDataCollectionField::updateExportability ( )
protected

Definition at line 732 of file class.ilDataCollectionField.php.

732 {
733 $this->updateViewDefinition(self::EXPORTABLE_VIEW);
734 }

References updateViewDefinition().

Referenced by doCreate(), doUpdate(), and ilDataCollectionStandardField\doUpdate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateFilterability()

ilDataCollectionField::updateFilterability ( )
protected

Definition at line 722 of file class.ilDataCollectionField.php.

722 {
723 $this->updateViewDefinition(self::FILTER_VIEW);
724 }

References updateViewDefinition().

Referenced by doCreate(), doUpdate(), and ilDataCollectionStandardField\doUpdate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateProperties()

ilDataCollectionField::updateProperties ( )
protected

Update properties of this field in Database.

Definition at line 681 of file class.ilDataCollectionField.php.

681 {
682 global $ilDB;
683 foreach ($this->property as $key => $value) {
684 $ilDB->update('il_dcl_field_prop', array(
685 'value' => array(
686 'integer',
687 $value
688 ),
689 ), array(
690 'field_id' => array(
691 'integer',
692 $this->getId()
693 ),
694 'datatype_prop_id' => array(
695 'integer',
696 $key
697 ),
698 ));
699 }
700 }

References $ilDB, and getId().

Referenced by doUpdate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateViewDefinition()

ilDataCollectionField::updateViewDefinition (   $view)
private

updateViewDefinition

Parameters
$viewint use constant VIEW_VIEW or EDIT_VIEW

Definition at line 742 of file class.ilDataCollectionField.php.

742 {
743 global $ilDB;
744
745 switch ($view) {
746 case self::EDIT_VIEW:
747 $set = $this->isEditable();
748 break;
749 case self::VIEW_VIEW:
750 $set = $this->isVisible();
751 if ($set && $this->order === NULL) {
752 $this->order = 0;
753 }
754 break;
756 $set = $this->isFilterable();
757 if ($set && $this->order === NULL) {
758 $this->order = 0;
759 }
760 break;
762 $set = $this->getExportable();
763 if ($set && $this->order === NULL) {
764 $this->order = 0;
765 }
766 break;
767 }
768
769 if (! $set) {
770 $set = 0;
771 } else {
772 $set = 1;
773 }
774
775 if (! isset($this->order)) {
776 $this->order = 0;
777 }
778
779 $query = "DELETE def FROM il_dcl_viewdefinition def INNER JOIN il_dcl_view ON il_dcl_view.type = " . $ilDB->quote($view, "integer")
780 . " AND il_dcl_view.table_id = " . $ilDB->quote($this->getTableId(), "integer") . " WHERE def.view_id = il_dcl_view.id AND def.field = "
781 . $ilDB->quote($this->getId(), "text");
782
783 $ilDB->manipulate($query);
784
785 $query = "INSERT INTO il_dcl_viewdefinition (view_id, field, field_order, is_set) SELECT id, " . $ilDB->quote($this->getId(), "text") . ", "
786 . $ilDB->quote($this->getOrder(), "integer") . ", " . $ilDB->quote($set, "integer") . " FROM il_dcl_view WHERE il_dcl_view.type = "
787 . $ilDB->quote($view, "integer") . " AND il_dcl_view.table_id = " . $ilDB->quote($this->getTableId(), "integer");
788
789 $ilDB->manipulate($query);
790 }

References $ilDB, $query, EDIT_VIEW, EXPORTABLE_VIEW, FILTER_VIEW, getExportable(), getId(), getOrder(), getTableId(), isEditable(), isFilterable(), isVisible(), and VIEW_VIEW.

Referenced by updateEditability(), updateExportability(), updateFilterability(), and updateVisibility().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateVisibility()

ilDataCollectionField::updateVisibility ( )
protected

Definition at line 714 of file class.ilDataCollectionField.php.

714 {
715 $this->updateViewDefinition(self::VIEW_VIEW);
716 }

References updateViewDefinition().

Referenced by doCreate(), doUpdate(), and ilDataCollectionStandardField\doUpdate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $datatype

ilDataCollectionField::$datatype
protected

◆ $datatypeId

ilDataCollectionField::$datatypeId
protected

Definition at line 41 of file class.ilDataCollectionField.php.

Referenced by getDatatypeId().

◆ $description

ilDataCollectionField::$description
protected

Definition at line 37 of file class.ilDataCollectionField.php.

Referenced by getDescription().

◆ $editable

ilDataCollectionField::$editable
protected

Definition at line 61 of file class.ilDataCollectionField.php.

Referenced by isEditable(), and setEditable().

◆ $exportable

ilDataCollectionField::$exportable
protected

Definition at line 77 of file class.ilDataCollectionField.php.

Referenced by getExportable(), and setExportable().

◆ $filterable

ilDataCollectionField::$filterable
protected

Definition at line 65 of file class.ilDataCollectionField.php.

Referenced by isFilterable(), and setFilterable().

◆ $id

◆ $locked

ilDataCollectionField::$locked
protected

Definition at line 69 of file class.ilDataCollectionField.php.

Referenced by getLocked(), and setLocked().

◆ $order

ilDataCollectionField::$order
protected

Definition at line 49 of file class.ilDataCollectionField.php.

Referenced by getOrder(), and setOrder().

◆ $property

ilDataCollectionField::$property = array()
protected

Definition at line 73 of file class.ilDataCollectionField.php.

Referenced by getProperties(), and getPropertyvalues().

◆ $required

ilDataCollectionField::$required
protected

Definition at line 45 of file class.ilDataCollectionField.php.

Referenced by getRequired().

◆ $table_id

ilDataCollectionField::$table_id
protected

◆ $title

ilDataCollectionField::$title
protected

Definition at line 33 of file class.ilDataCollectionField.php.

Referenced by _getFieldIdByTitle(), and getTitle().

◆ $unique

ilDataCollectionField::$unique
protected

Definition at line 53 of file class.ilDataCollectionField.php.

Referenced by isUnique(), and setUnique().

◆ $visible

ilDataCollectionField::$visible
protected

Definition at line 57 of file class.ilDataCollectionField.php.

Referenced by isVisible(), and setVisible().

◆ EDIT_VIEW

const ilDataCollectionField::EDIT_VIEW = 2

◆ EXPORTABLE_VIEW

const ilDataCollectionField::EXPORTABLE_VIEW = 4

◆ FILTER_VIEW

const ilDataCollectionField::FILTER_VIEW = 3

◆ PROPERTYID_DISPLAY_COPY_LINK_ACTION_MENU

const ilDataCollectionField::PROPERTYID_DISPLAY_COPY_LINK_ACTION_MENU = 13

◆ PROPERTYID_FORMULA_EXPRESSION

const ilDataCollectionField::PROPERTYID_FORMULA_EXPRESSION = 12

◆ PROPERTYID_HEIGHT

const ilDataCollectionField::PROPERTYID_HEIGHT = 8

◆ PROPERTYID_ILIAS_REFERENCE_LINK

const ilDataCollectionField::PROPERTYID_ILIAS_REFERENCE_LINK = 10

◆ PROPERTYID_LEARNING_PROGRESS

const ilDataCollectionField::PROPERTYID_LEARNING_PROGRESS = 9

Definition at line 93 of file class.ilDataCollectionField.php.

Referenced by getLearningProgress().

◆ PROPERTYID_LENGTH

const ilDataCollectionField::PROPERTYID_LENGTH = 1

◆ PROPERTYID_LINK_DETAIL_PAGE_MOB

const ilDataCollectionField::PROPERTYID_LINK_DETAIL_PAGE_MOB = 15

Definition at line 99 of file class.ilDataCollectionField.php.

Referenced by ilDataCollectionDatatype\parseHTML().

◆ PROPERTYID_LINK_DETAIL_PAGE_TEXT

const ilDataCollectionField::PROPERTYID_LINK_DETAIL_PAGE_TEXT = 14

Definition at line 98 of file class.ilDataCollectionField.php.

Referenced by ilDataCollectionDatatype\parseHTML().

◆ PROPERTYID_N_REFERENCE

◆ PROPERTYID_REFERENCE

const ilDataCollectionField::PROPERTYID_REFERENCE = 3

◆ PROPERTYID_REFERENCE_LINK

const ilDataCollectionField::PROPERTYID_REFERENCE_LINK = 6

Definition at line 90 of file class.ilDataCollectionField.php.

◆ PROPERTYID_REGEX

const ilDataCollectionField::PROPERTYID_REGEX = 2

Definition at line 83 of file class.ilDataCollectionField.php.

Referenced by checkValidity().

◆ PROPERTYID_SUPPORTED_FILE_TYPES

const ilDataCollectionField::PROPERTYID_SUPPORTED_FILE_TYPES = 16

Definition at line 100 of file class.ilDataCollectionField.php.

◆ PROPERTYID_TEXTAREA

const ilDataCollectionField::PROPERTYID_TEXTAREA = 5

◆ PROPERTYID_URL

◆ PROPERTYID_WIDTH

const ilDataCollectionField::PROPERTYID_WIDTH = 7

◆ VIEW_VIEW

const ilDataCollectionField::VIEW_VIEW = 1

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