ILIAS
release_4-3 Revision
|
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) | |
toArray () | |
buildFromDBRecord ($rec) | |
doDelete () | |
getOrder () | |
setOrder ($order) | |
getFieldRef () | |
getProperties () | |
Get all properties of a field. | |
setProperties ($data) | |
setLocked ($locked) | |
checkValidity ($value, $record_id=null) | |
cloneStructure ($original_id) | |
cloneProperties ($originalField) |
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 field 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_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 | VIEW_VIEW = 1 |
const | EDIT_VIEW = 2 |
const | FILTER_VIEW = 3 |
Protected Member Functions inherited from ilDataCollectionField | |
updateProperties () | |
Update properties of this field in Database. | |
updateVisibility () | |
updateFilterability () | |
updateEditability () | |
Protected Attributes inherited from ilDataCollectionField | |
$id | |
$table_id | |
$title | |
$description | |
$datatypeId | |
$required | |
$order | |
$unique | |
$visible | |
$editable | |
$filterable | |
$locked | |
$property = array() | |
$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 113 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 78 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionField\$table_id, and _getDatatypeForId().
Referenced by ilDataCollectionTable\getFields().
|
static |
Definition at line 62 of file class.ilDataCollectionStandardField.php.
References ilDataCollectionDatatype\INPUTFORMAT_DATETIME, ilDataCollectionDatatype\INPUTFORMAT_NUMBER, and ilDataCollectionDatatype\INPUTFORMAT_TEXT.
|
static |
Definition at line 95 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\updateFilterability(), and ilDataCollectionField\updateVisibility().
ilDataCollectionStandardField::getLocked | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 54 of file class.ilDataCollectionStandardField.php.
ilDataCollectionStandardField::isStandardField | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 136 of file class.ilDataCollectionStandardField.php.
ilDataCollectionStandardField::isUnique | ( | ) |
Reimplemented from ilDataCollectionField.
Definition at line 144 of file class.ilDataCollectionStandardField.php.