ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilDataCollectionField. More...
Public Member Functions | |
doRead () | |
Read field. More... | |
doCreate () | |
Create new field. More... | |
doUpdate () | |
Update field. More... | |
cloneStructure (ilDataCollectionStandardField $original_record) | |
getLocked () | |
isStandardField () | |
isUnique () | |
![]() | |
__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 | _getStandardFieldsAsArray () |
static | _getStandardFields ($table_id) |
static | _getAllStandardFieldTitles () |
static | _isStandardField ($field_id) |
static | _getDatatypeForId ($id) |
gives you the datatype id of a specified standard field. More... | |
![]() | |
static | _getTitleValidChars ($a_as_regex=true) |
All valid chars for filed titles. More... | |
static | _getFieldIdByTitle ($title, $table_id) |
Class ilDataCollectionField.
Definition at line 18 of file class.ilDataCollectionStandardField.php.
|
static |
Definition at line 117 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\$id, and $ilDB.
Referenced by ilDataCollectionRecordListGUI\getImportFieldsFromTitles().
|
static |
gives you the datatype id of a specified standard field.
$id | the id of the standardfield eg. "create_date" |
Definition at line 153 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\$datatype, and ilDataCollectionField\$id.
Referenced by ilDataCollectionField\getDatatypeId().
|
static |
Definition at line 99 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\$table_id.
|
static |
Definition at line 80 of file class.ilDataCollectionStandardField.php.
References $lng, ilDataCollectionDatatype\INPUTFORMAT_DATETIME, ilDataCollectionDatatype\INPUTFORMAT_NONE, ilDataCollectionDatatype\INPUTFORMAT_NUMBER, and ilDataCollectionDatatype\INPUTFORMAT_TEXT.
|
static |
Definition at line 135 of file class.ilDataCollectionStandardField.php.
Referenced by ilDataCollectionRecord\fillRecordFieldExcelExport(), ilDataCollectionRecord\fillRecordFieldFormInput(), ilDataCollectionRecord\getRecordFieldExportValue(), ilDataCollectionRecord\getRecordFieldHTML(), ilDataCollectionRecord\getRecordFieldSortingValue(), ilDataCollectionRecord\getRecordFieldValue(), ilDataCollectionRecord\setRecordFieldValue(), and ilDataCollectionRecord\setRecordFieldValueFromForm().
ilDataCollectionStandardField::cloneStructure | ( | ilDataCollectionStandardField | $original_record | ) |
ilDataCollectionStandardField | $original_record |
Definition at line 56 of file class.ilDataCollectionStandardField.php.
References doUpdate(), ilDataCollectionField\getExportable(), getLocked(), ilDataCollectionField\getOrder(), ilDataCollectionField\getRequired(), ilDataCollectionField\isEditable(), ilDataCollectionField\isFilterable(), isUnique(), ilDataCollectionField\isVisible(), ilDataCollectionField\setEditable(), ilDataCollectionField\setExportable(), ilDataCollectionField\setFilterable(), ilDataCollectionField\setLocked(), ilDataCollectionField\setOrder(), ilDataCollectionField\setRequired(), ilDataCollectionField\setUnique(), and ilDataCollectionField\setVisible().
ilDataCollectionStandardField::doCreate | ( | ) |
Create new field.
Reimplemented from ilDataCollectionField.
Definition at line 34 of file class.ilDataCollectionStandardField.php.
References $ilLog, and ilUtil\sendFailure().
ilDataCollectionStandardField::doRead | ( | ) |
Read field.
Reimplemented from ilDataCollectionField.
Definition at line 23 of file class.ilDataCollectionStandardField.php.
References $ilLog, and ilUtil\sendFailure().
ilDataCollectionStandardField::doUpdate | ( | ) |
Update field.
Reimplemented from ilDataCollectionField.
Definition at line 45 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\updateExportability(), ilDataCollectionField\updateFilterability(), and ilDataCollectionField\updateVisibility().
Referenced by cloneStructure().
ilDataCollectionStandardField::getLocked | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 72 of file class.ilDataCollectionStandardField.php.
Referenced by cloneStructure().
ilDataCollectionStandardField::isStandardField | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 168 of file class.ilDataCollectionStandardField.php.
ilDataCollectionStandardField::isUnique | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 176 of file class.ilDataCollectionStandardField.php.
Referenced by cloneStructure().