|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilDclBaseFieldModel. More...
Inheritance diagram for ilDclBaseFieldModel:
Collaboration diagram for ilDclBaseFieldModel:Public Member Functions | |
| __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... | |
| isUnique () | |
| setUnique ($unique) | |
| getDatatype () | |
| getDatatypeTitle () | |
| getStorageLocation () | |
| Get storage location for the model. More... | |
| getExportable () | |
| toArray () | |
| isStandardField () | |
| doRead () | |
| Read field. More... | |
| buildFromDBRecord ($rec) | |
| Builds model from db record. More... | |
| doCreate () | |
| Create new field. More... | |
| doUpdate () | |
| Update field. More... | |
| updateProperties () | |
| Update properties of this field in Database. More... | |
| doDelete () | |
| Remove field and properties. More... | |
| getFieldSettings () | |
| getOrder () | |
| setOrder ($order) | |
| hasProperty ($key) | |
| Checks if a certain property for a field is set. More... | |
| getProperty ($key) | |
| Returns a certain property of a field. More... | |
| getPropertyInstance ($key) | |
| Return ActiveRecord of property. More... | |
| setProperty ($key, $value) | |
| Set a property for a field (does not save) More... | |
| getValidFieldProperties () | |
| Returns all valid properties for a field-type. More... | |
| setLocked ($locked) | |
| getLocked () | |
| checkValidityFromForm (ilPropertyFormGUI &$form, $record_id=NULL) | |
| checkValidity ($value, $record_id=NULL) | |
| Check if input is valid. More... | |
| cloneStructure ($original_id) | |
| afterClone ($records) | |
| cloneProperties (ilDclBaseFieldModel $originalField) | |
| setExportable ($exportable) | |
| allowFilterInListView () | |
| getRecordQuerySortObject ($direction="asc", $sort_by_status=false) | |
| Returns a query-object for building the record-loader-sql-query. More... | |
| getRecordQueryFilterObject ($filter_value="", ilDclBaseFieldModel $sort_field=null) | |
| Returns a query-object for building the record-loader-sql-query. More... | |
| getSortField () | |
| Returns the sort-field id. More... | |
| hasNumericSorting () | |
| Set to true, when the sorting should be handled numerical. More... | |
| checkFieldCreationInput (ilPropertyFormGUI $form) | |
| Checks input of specific fields befor saving. More... | |
| getStorageLocationOverride () | |
| setStorageLocationOverride ($storage_location_override) | |
| fillHeaderExcel (ilExcel $worksheet, &$row, &$col) | |
| checkTitlesForImport (array &$titles, array &$import_fields) | |
Static Public Member Functions | |
| static | _getTitleInvalidChars ($a_as_regex=true) |
| All valid chars for filed titles. More... | |
| static | _getFieldIdByTitle ($title, $table_id) |
Data Fields | |
| const | PROP_LENGTH = "lenght" |
| General properties. More... | |
| const | PROP_REGEX = "regex" |
| const | PROP_REFERENCE = "table_id" |
| const | PROP_URL = "url" |
| const | PROP_TEXTAREA = "text_area" |
| const | PROP_REFERENCE_LINK = "reference_link" |
| const | PROP_WIDTH = "width" |
| const | PROP_HEIGHT = "height" |
| const | PROP_LEARNING_PROGRESS = "learning_progress" |
| const | PROP_ILIAS_REFERENCE_LINK = "ILIAS_reference_link" |
| const | PROP_N_REFERENCE = "multiple_selection" |
| const | PROP_FORMULA_EXPRESSION = "expression" |
| const | PROP_DISPLAY_COPY_LINK_ACTION_MENU = "display_action_menu" |
| const | PROP_LINK_DETAIL_PAGE_TEXT = "link_detail_page" |
| const | PROP_SUPPORTED_FILE_TYPES = "supported_file_types" |
| const | PROP_PLUGIN_HOOK_NAME = "plugin_hook_name" |
| const | EDIT_VIEW = 2 |
| const | EXPORTABLE_VIEW = 4 |
Protected Member Functions | |
| loadDatatype () | |
| Load datatype for model. More... | |
| loadTableFieldSetting () | |
| loadTableFieldSetting More... | |
| addToTableViews () | |
| create ilDclTableViewFieldSettings for this field in each tableview More... | |
| updateTableFieldSetting () | |
| update exportable and fieldorder More... | |
| loadProperties () | |
| Get all properties of a field. More... | |
| normalizeValue ($value) | |
Protected Attributes | |
| $id | |
| $table_id | |
| $title | |
| $description | |
| $datatypeId | |
| $required | |
| $order | |
| $unique | |
| $locked | |
| $property = array() | |
| $exportable | |
| $datatype | |
| $storage_location_override = null | |
Private Member Functions | |
| loadExportability () | |
| Load exportability. More... | |
Class ilDclBaseFieldModel.
Definition at line 21 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::__construct | ( | $a_id = 0 | ) |
| int | $a_id |
Definition at line 105 of file class.ilDclBaseFieldModel.php.
References doRead().
Here is the call graph for this function:
|
static |
| $title | Title of the field |
| $table_id | ID of table where the field belongs to |
Definition at line 135 of file class.ilDclBaseFieldModel.php.
References $DIC, $id, $ilDB, $result, $table_id, and $title.
|
static |
All valid chars for filed titles.
| bool | $a_as_regex |
Definition at line 120 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFieldEditGUI\initForm().
Here is the caller graph for this function:
|
protected |
create ilDclTableViewFieldSettings for this field in each tableview
Definition at line 451 of file class.ilDclBaseFieldModel.php.
References ilDclTableView\getAllForTableId().
Referenced by doCreate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::afterClone | ( | $records | ) |
| $records |
Reimplemented in ilDclStandardField.
Definition at line 747 of file class.ilDclBaseFieldModel.php.
References $records, and ilDclCache\getRecordFieldCache().
Here is the call graph for this function:| ilDclBaseFieldModel::allowFilterInListView | ( | ) |
Reimplemented in ilDclStandardField, ilDclFileuploadFieldModel, ilDclFormulaFieldModel, ilDclMobFieldModel, ilDclPluginFieldModel, and ilDclReferenceFieldModel.
Definition at line 789 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::buildFromDBRecord | ( | $rec | ) |
Builds model from db record.
| $rec |
Definition at line 410 of file class.ilDclBaseFieldModel.php.
References setDatatypeId(), setDescription(), setId(), setLocked(), setRequired(), setTableId(), setTitle(), and setUnique().
Here is the call graph for this function:| ilDclBaseFieldModel::checkFieldCreationInput | ( | ilPropertyFormGUI | $form | ) |
Checks input of specific fields befor saving.
| ilPropertyFormGUI | $form |
Reimplemented in ilDclTextFieldModel.
Definition at line 860 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::checkTitlesForImport | ( | array & | $titles, |
| array & | $import_fields | ||
| ) |
| array | $titles | |
| array | $import_fields |
Reimplemented in ilDclTextFieldModel.
Definition at line 896 of file class.ilDclBaseFieldModel.php.
References $title, getTitle(), and ilStr\isUtf8().
Here is the call graph for this function:| ilDclBaseFieldModel::checkValidity | ( | $value, | |
$record_id = NULL |
|||
| ) |
Check if input is valid.
| $value | ||
| null | $record_id |
| ilDclInputException |
Reimplemented in ilDclDatetimeFieldModel, ilDclFileuploadFieldModel, ilDclNumberFieldModel, and ilDclTextFieldModel.
Definition at line 687 of file class.ilDclBaseFieldModel.php.
References ilDclCache\getTableCache(), getTableId(), isUnique(), normalizeValue(), and ilDclInputException\UNIQUE_EXCEPTION.
Referenced by checkValidityFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::checkValidityFromForm | ( | ilPropertyFormGUI & | $form, |
$record_id = NULL |
|||
| ) |
| ilPropertyFormGUI | $form | |
| null | $record_id |
Reimplemented in ilDclTextFieldModel.
Definition at line 675 of file class.ilDclBaseFieldModel.php.
References checkValidity(), getId(), and ilPropertyFormGUI\getInput().
Here is the call graph for this function:| ilDclBaseFieldModel::cloneProperties | ( | ilDclBaseFieldModel | $originalField | ) |
| ilDclBaseFieldModel | $originalField |
Definition at line 756 of file class.ilDclBaseFieldModel.php.
References getDatatypeId(), getId(), getProperty(), getValidFieldProperties(), ilDclDatatype\INPUTFORMAT_REFERENCE, and PROP_REFERENCE.
Referenced by cloneStructure().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::cloneStructure | ( | $original_id | ) |
| $original_id |
| ilException |
Reimplemented in ilDclStandardField.
Definition at line 726 of file class.ilDclBaseFieldModel.php.
References cloneProperties(), doCreate(), ilDclCache\getFieldCache(), getId(), ilDclCache\setCloneOf(), setDatatypeId(), setDescription(), setExportable(), setLocked(), setOrder(), setRequired(), setTitle(), setUnique(), and ilDclCache\TYPE_FIELD.
Here is the call graph for this function:| ilDclBaseFieldModel::doCreate | ( | ) |
Create new field.
Reimplemented in ilDclStandardField.
Definition at line 425 of file class.ilDclBaseFieldModel.php.
References $DIC, $id, $ilDB, $query, ilDclTable\_tableExists(), addToTableViews(), getDatatypeId(), getDescription(), getId(), getLocked(), getRequired(), getTableId(), getTitle(), isUnique(), setId(), setLocked(), and updateTableFieldSetting().
Referenced by cloneStructure().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::doDelete | ( | ) |
Remove field and properties.
Definition at line 531 of file class.ilDclBaseFieldModel.php.
References $DIC, $ilDB, $query, getFieldSettings(), getId(), ilDclTableFieldSetting\getInstance(), and getTableId().
Here is the call graph for this function:| ilDclBaseFieldModel::doRead | ( | ) |
Read field.
Reimplemented in ilDclStandardField.
Definition at line 385 of file class.ilDclBaseFieldModel.php.
References $DIC, $ilDB, $query, getId(), loadProperties(), loadTableFieldSetting(), setDatatypeId(), setDescription(), setLocked(), setRequired(), setTableId(), setTitle(), and setUnique().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::doUpdate | ( | ) |
Update field.
Reimplemented in ilDclStandardField.
Definition at line 463 of file class.ilDclBaseFieldModel.php.
References $DIC, $ilDB, getDatatypeId(), getDescription(), getId(), getLocked(), getRequired(), getTableId(), getTitle(), isUnique(), updateProperties(), and updateTableFieldSetting().
Here is the call graph for this function:| ilDclBaseFieldModel::fillHeaderExcel | ( | ilExcel | $worksheet, |
| & | $row, | ||
| & | $col | ||
| ) |
| ilExcel | $worksheet | |
| $row | ||
| $col |
Reimplemented in ilDclTextFieldModel.
Definition at line 886 of file class.ilDclBaseFieldModel.php.
References $row, $worksheet, and getTitle().
Here is the call graph for this function:| ilDclBaseFieldModel::getDatatype | ( | ) |
Definition at line 296 of file class.ilDclBaseFieldModel.php.
References $datatype, and loadDatatype().
Referenced by ilDclFieldFactory\getClassPathByInstance(), and ilDclFieldFactory\getFieldTypeByInstance().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getDatatypeId | ( | ) |
Get datatype_id.
Definition at line 250 of file class.ilDclBaseFieldModel.php.
References $datatypeId, ilDclStandardField\_getDatatypeForId(), getId(), and isStandardField().
Referenced by cloneProperties(), doCreate(), doUpdate(), ilDclStandardField\getRecordQueryFilterObject(), and hasNumericSorting().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getDatatypeTitle | ( | ) |
Definition at line 306 of file class.ilDclBaseFieldModel.php.
References loadDatatype().
Here is the call graph for this function:| ilDclBaseFieldModel::getDescription | ( | ) |
Get description.
Definition at line 228 of file class.ilDclBaseFieldModel.php.
References $description.
Referenced by doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclBaseFieldModel::getExportable | ( | ) |
Definition at line 348 of file class.ilDclBaseFieldModel.php.
References $exportable, and loadExportability().
Here is the call graph for this function:| ilDclBaseFieldModel::getFieldSettings | ( | ) |
Definition at line 550 of file class.ilDclBaseFieldModel.php.
References getId(), and ActiveRecord\where().
Referenced by doDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getId | ( | ) |
Get field id.
Definition at line 164 of file class.ilDclBaseFieldModel.php.
References $id.
Referenced by ilDclTextFieldModel\checkValidity(), checkValidityFromForm(), ilDclTextFieldModel\checkValidityOfURLField(), cloneProperties(), cloneStructure(), doCreate(), doDelete(), doRead(), doUpdate(), ilDclFieldFactory\getClassPathByInstance(), getDatatypeId(), ilDclFieldFactory\getFieldModelInstanceByClass(), ilDclCache\getFieldRepresentation(), ilDclFieldFactory\getFieldRepresentationInstance(), getFieldSettings(), ilDclFieldFactory\getFieldTypeByInstance(), ilDclFieldFactory\getRecordFieldInstance(), ilDclBooleanFieldModel\getRecordQueryFilterObject(), ilDclDatetimeFieldModel\getRecordQueryFilterObject(), ilDclFileuploadFieldModel\getRecordQueryFilterObject(), ilDclIliasReferenceFieldModel\getRecordQueryFilterObject(), ilDclNumberFieldModel\getRecordQueryFilterObject(), ilDclReferenceFieldModel\getRecordQueryFilterObject(), ilDclTextFieldModel\getRecordQueryFilterObject(), getRecordQuerySortObject(), ilDclStandardField\getRecordQuerySortObject(), ilDclFileuploadFieldModel\getRecordQuerySortObject(), ilDclIliasReferenceFieldModel\getRecordQuerySortObject(), ilDclReferenceFieldModel\getRecordQuerySortObject(), ilDclStandardField\getSortField(), ilDclStandardField\hasNumericSorting(), loadProperties(), loadTableFieldSetting(), setProperty(), and updateTableFieldSetting().
Here is the caller graph for this function:| ilDclBaseFieldModel::getLocked | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 666 of file class.ilDclBaseFieldModel.php.
References $locked.
Referenced by doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclBaseFieldModel::getOrder | ( | ) |
Definition at line 557 of file class.ilDclBaseFieldModel.php.
References $order, and loadTableFieldSetting().
Here is the call graph for this function:| ilDclBaseFieldModel::getProperty | ( | $key | ) |
Returns a certain property of a field.
| $key |
Definition at line 600 of file class.ilDclBaseFieldModel.php.
References getPropertyInstance().
Referenced by ilDclTextFieldModel\checkRegexAndLength(), ilDclTextFieldModel\checkValidity(), ilDclTextFieldModel\checkValidityFromForm(), cloneProperties(), ilDclTextFieldModel\fillHeaderExcel(), ilDclFieldFactory\getClassPathByInstance(), ilDclReferenceFieldModel\getFieldRef(), ilDclFieldFactory\getFieldTypeByInstance(), ilDclReferenceFieldModel\getRecordQueryFilterObject(), ilDclReferenceFieldModel\getRecordQuerySortObject(), and ilDclFileuploadFieldModel\getSupportedExtensions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getPropertyInstance | ( | $key | ) |
Return ActiveRecord of property.
| $key |
Definition at line 614 of file class.ilDclBaseFieldModel.php.
References hasProperty(), and loadProperties().
Referenced by getProperty().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getRecordQueryFilterObject | ( | $filter_value = "", |
|
| ilDclBaseFieldModel | $sort_field = null |
||
| ) |
Returns a query-object for building the record-loader-sql-query.
| string | $filter_value | |
| ilDclBaseFieldModel | null | $sort_field |
Reimplemented in ilDclStandardField, ilDclBooleanFieldModel, ilDclDatetimeFieldModel, ilDclFileuploadFieldModel, ilDclIliasReferenceFieldModel, ilDclNumberFieldModel, ilDclRatingFieldModel, ilDclReferenceFieldModel, and ilDclTextFieldModel.
Definition at line 828 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::getRecordQuerySortObject | ( | $direction = "asc", |
|
$sort_by_status = false |
|||
| ) |
Returns a query-object for building the record-loader-sql-query.
| string | $direction | |
| boolean | $sort_by_status | The specific sort object is a status field |
Reimplemented in ilDclStandardField, ilDclFileuploadFieldModel, ilDclFormulaFieldModel, ilDclIliasReferenceFieldModel, ilDclRatingFieldModel, ilDclReferenceFieldModel, and ilDclTextFieldModel.
Definition at line 802 of file class.ilDclBaseFieldModel.php.
References $DIC, $ilDB, and getId().
Here is the call graph for this function:| ilDclBaseFieldModel::getRequired | ( | ) |
Get Required Required.
Definition at line 274 of file class.ilDclBaseFieldModel.php.
References $required.
Referenced by doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclBaseFieldModel::getSortField | ( | ) |
Returns the sort-field id.
Reimplemented in ilDclStandardField.
Definition at line 837 of file class.ilDclBaseFieldModel.php.
References getTitle().
Here is the call graph for this function:| ilDclBaseFieldModel::getStorageLocation | ( | ) |
Get storage location for the model.
Definition at line 317 of file class.ilDclBaseFieldModel.php.
References getStorageLocationOverride(), and loadDatatype().
Here is the call graph for this function:| ilDclBaseFieldModel::getStorageLocationOverride | ( | ) |
Definition at line 868 of file class.ilDclBaseFieldModel.php.
References $storage_location_override.
Referenced by getStorageLocation().
Here is the caller graph for this function:| ilDclBaseFieldModel::getTableId | ( | ) |
Get table id.
Definition at line 184 of file class.ilDclBaseFieldModel.php.
References $table_id.
Referenced by ilDclStandardField\allowFilterInListView(), checkValidity(), ilDclDatetimeFieldModel\checkValidity(), ilDclFileuploadFieldModel\checkValidity(), ilDclTextFieldModel\checkValidity(), ilDclTextFieldModel\checkValidityOfURLField(), doCreate(), doDelete(), doUpdate(), loadTableFieldSetting(), and updateTableFieldSetting().
Here is the caller graph for this function:| ilDclBaseFieldModel::getTitle | ( | ) |
Get title.
Definition at line 208 of file class.ilDclBaseFieldModel.php.
References $title.
Referenced by checkTitlesForImport(), ilDclTextFieldModel\checkTitlesForImport(), doCreate(), doUpdate(), fillHeaderExcel(), ilDclTextFieldModel\fillHeaderExcel(), ilDclFieldFactory\getClassPathByInstance(), and getSortField().
Here is the caller graph for this function:| ilDclBaseFieldModel::getValidFieldProperties | ( | ) |
Returns all valid properties for a field-type.
Reimplemented in ilDclFileuploadFieldModel, ilDclFormulaFieldModel, ilDclIliasReferenceFieldModel, ilDclMobFieldModel, ilDclPluginFieldModel, ilDclReferenceFieldModel, and ilDclTextFieldModel.
Definition at line 651 of file class.ilDclBaseFieldModel.php.
Referenced by cloneProperties().
Here is the caller graph for this function:| ilDclBaseFieldModel::hasNumericSorting | ( | ) |
Set to true, when the sorting should be handled numerical.
Reimplemented in ilDclStandardField, and ilDclNumberFieldModel.
Definition at line 846 of file class.ilDclBaseFieldModel.php.
References getDatatypeId(), and ilDclDatatype\INPUTFORMAT_NUMBER.
Here is the call graph for this function:| ilDclBaseFieldModel::hasProperty | ( | $key | ) |
Checks if a certain property for a field is set.
| $key |
Definition at line 588 of file class.ilDclBaseFieldModel.php.
References loadProperties().
Referenced by ilDclTextFieldModel\checkTitlesForImport(), ilDclFieldFactory\getClassPathByInstance(), ilDclFieldFactory\getFieldTypeByInstance(), getPropertyInstance(), ilDclReferenceFieldModel\getRecordQuerySortObject(), ilDclTextFieldModel\getRecordQuerySortObject(), and ilDclFileuploadFieldModel\getSupportedExtensions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::isStandardField | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 377 of file class.ilDclBaseFieldModel.php.
Referenced by getDatatypeId().
Here is the caller graph for this function:| ilDclBaseFieldModel::isUnique | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 281 of file class.ilDclBaseFieldModel.php.
References $unique.
Referenced by checkValidity(), ilDclDatetimeFieldModel\checkValidity(), ilDclFileuploadFieldModel\checkValidity(), ilDclTextFieldModel\checkValidity(), ilDclTextFieldModel\checkValidityOfURLField(), doCreate(), and doUpdate().
Here is the caller graph for this function:
|
protected |
Load datatype for model.
Definition at line 330 of file class.ilDclBaseFieldModel.php.
References ilDclCache\getDatatype().
Referenced by getDatatype(), getDatatypeTitle(), and getStorageLocation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Load exportability.
Definition at line 359 of file class.ilDclBaseFieldModel.php.
References loadTableFieldSetting().
Referenced by getExportable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get all properties of a field.
Definition at line 578 of file class.ilDclBaseFieldModel.php.
References ilDclCache\getFieldProperties(), and getId().
Referenced by doRead(), getPropertyInstance(), hasProperty(), and setProperty().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
loadTableFieldSetting
Definition at line 339 of file class.ilDclBaseFieldModel.php.
References getId(), ilDclTableFieldSetting\getInstance(), and getTableId().
Referenced by doRead(), getOrder(), and loadExportability().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $value |
Definition at line 712 of file class.ilDclBaseFieldModel.php.
Referenced by checkValidity(), ilDclFileuploadFieldModel\checkValidity(), and ilDclTextFieldModel\checkValidity().
Here is the caller graph for this function:| ilDclBaseFieldModel::setDatatypeId | ( | $a_id | ) |
Set datatype id.
| int | $a_id |
Definition at line 238 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setDescription | ( | $a_desc | ) |
Set description.
| string | $a_desc |
Definition at line 218 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setExportable | ( | $exportable | ) |
| boolean | $exportable |
Definition at line 782 of file class.ilDclBaseFieldModel.php.
References $exportable.
Referenced by cloneStructure(), and ilDclStandardField\cloneStructure().
Here is the caller graph for this function:| ilDclBaseFieldModel::setId | ( | $a_id | ) |
Set field id.
| int | $a_id |
Definition at line 154 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), and doCreate().
Here is the caller graph for this function:| ilDclBaseFieldModel::setLocked | ( | $locked | ) |
| boolean | $locked |
Definition at line 658 of file class.ilDclBaseFieldModel.php.
References $locked.
Referenced by buildFromDBRecord(), cloneStructure(), ilDclStandardField\cloneStructure(), doCreate(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setOrder | ( | $order | ) |
| $order |
Definition at line 569 of file class.ilDclBaseFieldModel.php.
References $order.
Referenced by cloneStructure(), and ilDclStandardField\cloneStructure().
Here is the caller graph for this function:| ilDclBaseFieldModel::setProperty | ( | $key, | |
| $value | |||
| ) |
Set a property for a field (does not save)
| $key | |
| $value |
Definition at line 630 of file class.ilDclBaseFieldModel.php.
References $property, getId(), and loadProperties().
Here is the call graph for this function:| ilDclBaseFieldModel::setRequired | ( | $a_required | ) |
Set Required.
| boolean | $a_required | Required |
Definition at line 264 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), cloneStructure(), ilDclStandardField\cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setStorageLocationOverride | ( | $storage_location_override | ) |
| int | null | $storage_location_override |
Definition at line 876 of file class.ilDclBaseFieldModel.php.
References $storage_location_override.
| ilDclBaseFieldModel::setTableId | ( | $a_id | ) |
Set table id.
| int | $a_id |
Definition at line 174 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setTitle | ( | $a_title | ) |
Set title.
| string | $a_title |
Definition at line 194 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setUnique | ( | $unique | ) |
| bool | $unique |
Definition at line 289 of file class.ilDclBaseFieldModel.php.
References $unique.
Referenced by buildFromDBRecord(), cloneStructure(), ilDclStandardField\cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::toArray | ( | ) |
Definition at line 369 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::updateProperties | ( | ) |
Update properties of this field in Database.
Definition at line 510 of file class.ilDclBaseFieldModel.php.
Referenced by doUpdate().
Here is the caller graph for this function:
|
protected |
update exportable and fieldorder
Definition at line 521 of file class.ilDclBaseFieldModel.php.
References getId(), ilDclTableFieldSetting\getInstance(), and getTableId().
Referenced by doCreate(), doUpdate(), and ilDclStandardField\doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 70 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getDatatypeForId(), and getDatatype().
|
protected |
Definition at line 42 of file class.ilDclBaseFieldModel.php.
Referenced by getDatatypeId().
|
protected |
Definition at line 38 of file class.ilDclBaseFieldModel.php.
Referenced by getDescription().
|
protected |
Definition at line 66 of file class.ilDclBaseFieldModel.php.
Referenced by getExportable(), and setExportable().
|
protected |
Definition at line 26 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getAllStandardFieldTitles(), ilDclStandardField\_getDatatypeForId(), _getFieldIdByTitle(), doCreate(), and getId().
|
protected |
Definition at line 58 of file class.ilDclBaseFieldModel.php.
Referenced by getLocked(), and setLocked().
|
protected |
Definition at line 50 of file class.ilDclBaseFieldModel.php.
Referenced by getOrder(), and setOrder().
|
protected |
Definition at line 62 of file class.ilDclBaseFieldModel.php.
Referenced by setProperty().
|
protected |
Definition at line 46 of file class.ilDclBaseFieldModel.php.
Referenced by getRequired().
|
protected |
Definition at line 75 of file class.ilDclBaseFieldModel.php.
Referenced by getStorageLocationOverride(), and setStorageLocationOverride().
|
protected |
Definition at line 30 of file class.ilDclBaseFieldModel.php.
Referenced by _getFieldIdByTitle(), ilDclStandardField\_getStandardFields(), and getTableId().
|
protected |
Definition at line 34 of file class.ilDclBaseFieldModel.php.
Referenced by _getFieldIdByTitle(), checkTitlesForImport(), ilDclTextFieldModel\checkTitlesForImport(), ilDclFileuploadFieldModel\checkValidity(), and getTitle().
|
protected |
Definition at line 54 of file class.ilDclBaseFieldModel.php.
Referenced by isUnique(), and setUnique().
| const ilDclBaseFieldModel::EDIT_VIEW = 2 |
Definition at line 99 of file class.ilDclBaseFieldModel.php.
| const ilDclBaseFieldModel::EXPORTABLE_VIEW = 4 |
Definition at line 100 of file class.ilDclBaseFieldModel.php.
| const ilDclBaseFieldModel::PROP_DISPLAY_COPY_LINK_ACTION_MENU = "display_action_menu" |
Definition at line 92 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclIliasReferenceRecordRepresentation\getHTML(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_FORMULA_EXPRESSION = "expression" |
Definition at line 91 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFormulaRecordFieldModel\__construct(), ilDclFormulaFieldRepresentation\buildFieldCreationInput(), and ilDclFormulaFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_HEIGHT = "height" |
Definition at line 87 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclMobRecordRepresentation\getHTML(), ilDclMobFieldModel\getValidFieldProperties(), and ilDclMobRecordFieldModel\parseValue().
| const ilDclBaseFieldModel::PROP_ILIAS_REFERENCE_LINK = "ILIAS_reference_link" |
| const ilDclBaseFieldModel::PROP_LEARNING_PROGRESS = "learning_progress" |
Definition at line 88 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclRecordListTableGUI\buildData(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LENGTH = "lenght" |
General properties.
Definition at line 80 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkFieldCreationInput(), ilDclTextFieldModel\checkRegexAndLength(), ilDclTextFieldRepresentation\getInputField(), and ilDclTextFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LINK_DETAIL_PAGE_TEXT = "link_detail_page" |
Definition at line 93 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclMobRecordRepresentation\getHTML(), ilDclTextRecordRepresentation\getHTML(), ilDclMobFieldModel\getValidFieldProperties(), and ilDclTextFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_N_REFERENCE = "multiple_selection" |
Definition at line 90 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclReferenceRecordFieldModel\getExportValue(), ilDclReferenceFieldRepresentation\getInputField(), ilDclReferenceFieldModel\getRecordQueryFilterObject(), ilDclReferenceFieldModel\getValidFieldProperties(), ilDclReferenceRecordFieldModel\getValueFromExcel(), and ilDclReferenceFieldRepresentation\passThroughFilter().
| const ilDclBaseFieldModel::PROP_PLUGIN_HOOK_NAME = "plugin_hook_name" |
| const ilDclBaseFieldModel::PROP_REFERENCE = "table_id" |
Definition at line 82 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), cloneProperties(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclReferenceFieldModel\getFieldRef(), ilDclReferenceRecordRepresentation\getHTML(), ilDclReferenceFieldRepresentation\getInputField(), ilDclReferenceRecordRepresentation\getLinkHTML(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), and ilDclReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REFERENCE_LINK = "reference_link" |
Definition at line 85 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclReferenceRecordRepresentation\getHTML(), and ilDclReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REGEX = "regex" |
Definition at line 81 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextInputGUI\checkInput(), ilDclTextFieldModel\checkRegexAndLength(), and ilDclTextFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_SUPPORTED_FILE_TYPES = "supported_file_types" |
Definition at line 94 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFileuploadFieldModel\getSupportedExtensions(), and ilDclFileuploadFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_TEXTAREA = "text_area" |
Definition at line 84 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkFieldCreationInput(), ilDclTextRecordRepresentation\fillFormInput(), ilDclTextFieldRepresentation\getInputField(), ilDclTextFieldModel\getValidFieldProperties(), and ilDclTextRecordFieldModel\parseValue().
| const ilDclBaseFieldModel::PROP_URL = "url" |
Definition at line 83 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextRecordFieldModel\addHiddenItemsToConfirmation(), ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkTitlesForImport(), ilDclTextFieldModel\checkValidity(), ilDclTextFieldModel\checkValidityFromForm(), ilDclTextRecordFieldModel\fillExcelExport(), ilDclTextRecordRepresentation\fillFormInput(), ilDclTextFieldModel\fillHeaderExcel(), ilDclTextRecordFieldModel\getExportValue(), ilDclTextRecordRepresentation\getHTML(), ilDclReferenceFieldRepresentation\getInputField(), ilDclTextFieldRepresentation\getInputField(), ilDclTextFieldModel\getRecordQuerySortObject(), ilDclTextFieldModel\getValidFieldProperties(), ilDclTextRecordFieldModel\getValueFromExcel(), ilDclTextRecordFieldModel\parseSortingValue(), ilDclTextRecordFieldModel\parseValue(), and ilDclTextRecordFieldModel\setValueFromForm().
| const ilDclBaseFieldModel::PROP_WIDTH = "width" |
Definition at line 86 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclMobRecordRepresentation\getHTML(), ilDclMobFieldModel\getValidFieldProperties(), and ilDclMobRecordFieldModel\parseValue().