ILIAS
release_4-4 Revision
|
Class ilDataCollectionField. More...
Public Member Functions | |
doRead () | |
doCreate () | |
doUpdate () | |
getLocked () | |
isStandardField () | |
isUnique () | |
![]() | |
__construct ($a_id=0) | |
Constructor public. More... | |
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 ($originalField) | |
setExportable ($exportable) | |
Static Public Member Functions | |
static | _getStandardFieldsAsArray () |
static | _getStandardFields ($table_id) |
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 |
gives you the datatype id of a specified standard field.
$id | the id of the standardfield eg. "create_date" |
Definition at line 116 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\$id, ilDataCollectionDatatype\INPUTFORMAT_DATETIME, ilDataCollectionDatatype\INPUTFORMAT_NUMBER, and ilDataCollectionDatatype\INPUTFORMAT_TEXT.
Referenced by ilDataCollectionField\getDatatypeId().
|
static |
Definition at line 81 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\$table_id.
Referenced by ilDataCollectionTable\getFields(), and ilDataCollectionTable\getStandardFields().
|
static |
Definition at line 63 of file class.ilDataCollectionStandardField.php.
References $lng, ilDataCollectionDatatype\INPUTFORMAT_DATETIME, ilDataCollectionDatatype\INPUTFORMAT_NUMBER, and ilDataCollectionDatatype\INPUTFORMAT_TEXT.
|
static |
Definition at line 98 of file class.ilDataCollectionStandardField.php.
Referenced by ilDataCollectionRecord\getRecordFieldExportValue(), ilDataCollectionRecord\getRecordFieldFormInput(), ilDataCollectionRecord\getRecordFieldHTML(), ilDataCollectionRecord\getRecordFieldSingleHTML(), ilDataCollectionRecord\getRecordFieldValue(), and ilDataCollectionRecord\setRecordFieldValue().
ilDataCollectionStandardField::doCreate | ( | ) |
Definition at line 34 of file class.ilDataCollectionStandardField.php.
References $ilLog, and ilUtil\sendFailure().
ilDataCollectionStandardField::doRead | ( | ) |
Definition at line 23 of file class.ilDataCollectionStandardField.php.
References $ilLog, and ilUtil\sendFailure().
ilDataCollectionStandardField::doUpdate | ( | ) |
Definition at line 45 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\updateExportability(), ilDataCollectionField\updateFilterability(), and ilDataCollectionField\updateVisibility().
ilDataCollectionStandardField::getLocked | ( | ) |
Definition at line 55 of file class.ilDataCollectionStandardField.php.
ilDataCollectionStandardField::isStandardField | ( | ) |
Definition at line 139 of file class.ilDataCollectionStandardField.php.
ilDataCollectionStandardField::isUnique | ( | ) |
Definition at line 147 of file class.ilDataCollectionStandardField.php.