ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilDataCollectionField. More...
Public Member Functions | |
doRead () | |
Read field. | |
doCreate () | |
Create new field. | |
doUpdate () | |
Update field. | |
getLocked () | |
isStandardField () | |
isUnique () | |
Public Member Functions inherited from ilDataCollectionField | |
__construct ($a_id=0) | |
Constructor public. | |
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 ($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) |
Additional Inherited Members | |
Data Fields inherited from ilDataCollectionField | |
const | PROPERTYID_LENGTH = 1 |
const | PROPERTYID_REGEX = 2 |
const | PROPERTYID_REFERENCE = 3 |
const | PROPERTYID_REFERENCELIST = 11 |
const | PROPERTYID_URL = 4 |
LINK OR EMAIL! | |
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 | VIEW_VIEW = 1 |
const | EDIT_VIEW = 2 |
const | FILTER_VIEW = 3 |
const | EXPORTABLE_VIEW = 4 |
Protected Member Functions inherited from ilDataCollectionField | |
updateProperties () | |
Update properties of this field in Database. | |
updateVisibility () | |
updateFilterability () | |
updateEditability () | |
updateExportability () | |
Protected Attributes inherited from ilDataCollectionField | |
$id | |
$table_id | |
$title | |
$description | |
$datatypeId | |
$required | |
$order | |
$unique | |
$visible | |
$editable | |
$filterable | |
$locked | |
$property = array() | |
$exportable | |
$datatype |
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 _getStandardFields(), and ilDataCollectionField\getDatatypeId().
|
static |
Definition at line 81 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\$table_id, and _getDatatypeForId().
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 | ( | ) |
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().
ilDataCollectionStandardField::getLocked | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 55 of file class.ilDataCollectionStandardField.php.
ilDataCollectionStandardField::isStandardField | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 139 of file class.ilDataCollectionStandardField.php.
ilDataCollectionStandardField::isUnique | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 147 of file class.ilDataCollectionStandardField.php.