ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilDataCollectionField. More...
Public Member Functions | |
doRead () | |
Read field. | |
doCreate () | |
Create new field. | |
doUpdate () | |
Update field. | |
cloneStructure (ilDataCollectionStandardField $original_record) | |
getLocked () | |
isStandardField () | |
isUnique () | |
Public Member Functions inherited from ilDataCollectionField | |
__construct ($a_id=0) | |
setId ($a_id) | |
Set field id. | |
getId () | |
Get field id. | |
setTableId ($a_id) | |
Set table id. | |
getTableId () | |
Get table id. | |
setTitle ($a_title) | |
Set title. | |
getTitle () | |
Get title. | |
setDescription ($a_desc) | |
Set description. | |
getDescription () | |
Get description. | |
setDatatypeId ($a_id) | |
Set datatype id. | |
getDatatypeId () | |
Get datatype_id. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required Required. | |
setPropertyvalue ($a_value, $a_id) | |
Set Property Value. | |
setUnique ($unique) | |
getPropertyvalues () | |
Get Property Values. | |
setVisible ($visible) | |
setVisible | |
setFilterable ($filterable) | |
setFilterable | |
getDatatype () | |
getLength () | |
getTextArea () | |
getLearningProgress () | |
getDatatypeTitle () | |
getStorageLocation () | |
isVisible () | |
isFilterable () | |
isEditable () | |
isEditable | |
setEditable ($editable) | |
getExportable () | |
toArray () | |
buildFromDBRecord ($rec) | |
getFilterable () | |
doDelete () | |
getOrder () | |
setOrder ($order) | |
getFieldRef () | |
getFieldReflist () | |
isNRef () | |
getProperties () | |
Get all properties of a field. | |
setProperties ($data) | |
setLocked ($locked) | |
checkValidity ($value, $record_id=NULL) | |
cloneStructure ($original_id) | |
cloneProperties (ilDataCollectionField $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. | |
Static Public Member Functions inherited from ilDataCollectionField | |
static | _getTitleValidChars ($a_as_regex=true) |
All valid chars for filed titles. | |
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 134 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 116 of file class.ilDataCollectionStandardField.php.
Referenced by ilDataCollectionRecord\getRecordFieldExportValue(), ilDataCollectionRecord\getRecordFieldFormInput(), ilDataCollectionRecord\getRecordFieldHTML(), ilDataCollectionRecord\getRecordFieldSortingValue(), ilDataCollectionRecord\getRecordFieldValue(), and ilDataCollectionRecord\setRecordFieldValue().
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 149 of file class.ilDataCollectionStandardField.php.
ilDataCollectionStandardField::isUnique | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 157 of file class.ilDataCollectionStandardField.php.
Referenced by cloneStructure().