|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilDclBaseFieldModel:
Collaboration diagram for ilDclBaseFieldModel:Public Member Functions | |
| __construct (int $a_id=0) | |
| setId ($a_id) | |
| Set field id. More... | |
| getId () | |
| Get field id. More... | |
| setTableId (int $a_id) | |
| Set table id. More... | |
| getTableId () | |
| Get table id. More... | |
| setTitle (string $a_title) | |
| Set title. More... | |
| getTitle () | |
| Get title. More... | |
| setDescription (string $a_desc) | |
| Set description. More... | |
| getDescription () | |
| Get description. More... | |
| setDatatypeId (int $a_id) | |
| Set datatype id. More... | |
| getDatatypeId () | |
| Get datatype_id. More... | |
| isUnique () | |
| setUnique (?bool $unique) | |
| getDatatype () | |
| getDatatypeTitle () | |
| getPresentationTitle () | |
| getPresentationDescription () | |
| getStorageLocation () | |
| Get storage location for the model. More... | |
| getExportable () | |
| toArray () | |
| isStandardField () | |
| doRead () | |
| buildFromDBRecord (array $rec) | |
| Builds model from db record. More... | |
| doCreate () | |
| doUpdate () | |
| updateProperties () | |
| Update properties of this field in Database. More... | |
| doDelete () | |
| Remove field and properties. More... | |
| getViewSettings () | |
| getViewSetting (int $tableview_id) | |
| getOrder () | |
| setOrder (string $order) | |
| hasProperty (string $key) | |
| Checks if a certain property for a field is set. More... | |
| getProperty (string $key) | |
| Returns a certain property of a field. More... | |
| getPropertyInstance (string $key) | |
| Return ActiveRecord of property. More... | |
| setProperty (string $key, $value) | |
| Set a property for a field (does not save) More... | |
| getValidFieldProperties () | |
| Returns all valid properties for a field-type. More... | |
| checkValidityFromForm (ilPropertyFormGUI &$form, ?int $record_id=null) | |
| checkValidity ($value, ?int $record_id=null) | |
| Check if input is valid. More... | |
| cloneStructure (int $original_id) | |
| afterClone (array $records) | |
| cloneProperties (ilDclBaseFieldModel $originalField) | |
| setExportable (bool $exportable) | |
| allowFilterInListView () | |
| getRecordQuerySortObject (string $direction="asc", bool $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 (?int $storage_location_override) | |
| fillHeaderExcel (ilExcel $worksheet, int &$row, int &$col) | |
| checkTitlesForImport (array &$titles, array &$import_fields) | |
| storePropertiesFromForm (ilPropertyFormGUI $form) | |
| called when saving the 'edit field' form More... | |
| fillPropertiesForm (ilPropertyFormGUI &$form) | |
| called to fill the 'edit field' form More... | |
| isConfirmationRequired (ilPropertyFormGUI $form) | |
| called by ilDclFieldEditGUI when updating field properties if you overwrite this method, remember to also overwrite getConfirmationGUI More... | |
| getConfirmationGUI (ilPropertyFormGUI $form) | |
| called by ilDclFieldEditGUI if isConfirmationRequired returns true More... | |
Static Public Member Functions | |
| static | _getTitleInvalidChars (bool $a_as_regex=true) |
| All valid chars for filed titles. More... | |
| static | _getFieldIdByTitle (string $title, int $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_text" |
| const | PROP_LINK_DETAIL_PAGE_MOB = "link_detail_page_mob" |
| 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 | |
| string | $id = "" |
| int | $table_id = 0 |
| string | $title = "" |
| string | $description = "" |
| int | $datatypeId = 0 |
| int | $order = null |
| bool | $unique = false |
| array | $property = [] |
| bool | $exportable = false |
| ilDclDatatype | $datatype = null |
| int | $storage_location_override = null |
| With this property the datatype-storage-location can be overwritten. More... | |
| ilDBInterface | $db |
| ilLanguage | $lng |
Private Member Functions | |
| loadExportability () | |
| Load exportability. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::__construct | ( | int | $a_id = 0 | ) |
Definition at line 63 of file class.ilDclBaseFieldModel.php.
References $DIC, doRead(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
static |
Definition at line 87 of file class.ilDclBaseFieldModel.php.
|
static |
All valid chars for filed titles.
Definition at line 78 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 357 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 | ( | array | $records | ) |
Definition at line 610 of file class.ilDclBaseFieldModel.php.
References ilDclCache\getRecordFieldCache().
Here is the call graph for this function:| ilDclBaseFieldModel::allowFilterInListView | ( | ) |
Reimplemented in ilDclStandardField, ilDclFileuploadFieldModel, ilDclFormulaFieldModel, ilDclMobFieldModel, ilDclPluginFieldModel, and ilDclReferenceFieldModel.
Definition at line 647 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::buildFromDBRecord | ( | array | $rec | ) |
Builds model from db record.
Definition at line 319 of file class.ilDclBaseFieldModel.php.
References setDatatypeId(), setDescription(), setId(), 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 ilDclSelectionFieldModel, and ilDclTextFieldModel.
Definition at line 714 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::checkTitlesForImport | ( | array & | $titles, |
| array & | $import_fields | ||
| ) |
Reimplemented in ilDclTextFieldModel.
Definition at line 741 of file class.ilDclBaseFieldModel.php.
References ilStr\isUtf8().
Here is the call graph for this function:| ilDclBaseFieldModel::checkValidity | ( | $value, | |
| ?int | $record_id = null |
||
| ) |
Check if input is valid.
| float | int | string | array | null | $value |
| ilDclInputException |
Reimplemented in ilDclDatetimeFieldModel, ilDclFileuploadFieldModel, ilDclNumberFieldModel, and ilDclTextFieldModel.
Definition at line 560 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, |
| ?int | $record_id = null |
||
| ) |
Reimplemented in ilDclTextFieldModel.
Definition at line 549 of file class.ilDclBaseFieldModel.php.
References checkValidity(), getId(), and ilPropertyFormGUI\getInput().
Here is the call graph for this function:| ilDclBaseFieldModel::cloneProperties | ( | ilDclBaseFieldModel | $originalField | ) |
Reimplemented in ilDclSelectionFieldModel.
Definition at line 617 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 | ( | int | $original_id | ) |
| ilException |
Definition at line 594 of file class.ilDclBaseFieldModel.php.
References cloneProperties(), doCreate(), ilDclCache\getFieldCache(), getId(), ilDclCache\setCloneOf(), setDatatypeId(), setDescription(), setExportable(), setOrder(), setTitle(), setUnique(), and ilDclCache\TYPE_FIELD.
Here is the call graph for this function:| ilDclBaseFieldModel::doCreate | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 329 of file class.ilDclBaseFieldModel.php.
References $DIC, $id, $ilDB, $query, ilDclTable\_tableExists(), addToTableViews(), getDatatypeId(), getDescription(), getId(), getTableId(), getTitle(), isUnique(), setId(), 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.
Reimplemented in ilDclSelectionFieldModel.
Definition at line 428 of file class.ilDclBaseFieldModel.php.
References $DIC, $ilDB, $query, getId(), ilDclTableFieldSetting\getInstance(), getTableId(), and getViewSettings().
Here is the call graph for this function:| ilDclBaseFieldModel::doRead | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 293 of file class.ilDclBaseFieldModel.php.
References $query, getId(), loadProperties(), loadTableFieldSetting(), setDatatypeId(), setDescription(), 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 | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 364 of file class.ilDclBaseFieldModel.php.
References $DIC, $ilDB, getDatatypeId(), getDescription(), getId(), getTableId(), getTitle(), isUnique(), updateProperties(), and updateTableFieldSetting().
Here is the call graph for this function:| ilDclBaseFieldModel::fillHeaderExcel | ( | ilExcel | $worksheet, |
| int & | $row, | ||
| int & | $col | ||
| ) |
Reimplemented in ilDclStandardField, and ilDclTextFieldModel.
Definition at line 735 of file class.ilDclBaseFieldModel.php.
References ilExcel\setCell().
Here is the call graph for this function:| ilDclBaseFieldModel::fillPropertiesForm | ( | ilPropertyFormGUI & | $form | ) |
called to fill the 'edit field' form
Reimplemented in ilDclSelectionFieldModel.
Definition at line 773 of file class.ilDclBaseFieldModel.php.
References ILIAS\Survey\Mode\getId(), and ilPropertyFormGUI\setValuesByArray().
Here is the call graph for this function:| ilDclBaseFieldModel::getConfirmationGUI | ( | ilPropertyFormGUI | $form | ) |
called by ilDclFieldEditGUI if isConfirmationRequired returns true
Reimplemented in ilDclSelectionFieldModel.
Definition at line 806 of file class.ilDclBaseFieldModel.php.
References $DIC, ilFormGUI\getFormAction(), and ilPropertyFormGUI\getInput().
Here is the call graph for this function:| ilDclBaseFieldModel::getDatatype | ( | ) |
Definition at line 204 of file class.ilDclBaseFieldModel.php.
References $datatype, and loadDatatype().
Referenced by ilDclFieldFactory\getClassPathByInstance(), ilDclFieldFactory\getFieldTypeByInstance(), ilDclPluginFieldModel\getPresentationDescription(), and ilDclPluginFieldModel\getPresentationTitle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getDatatypeId | ( | ) |
Get datatype_id.
Definition at line 185 of file class.ilDclBaseFieldModel.php.
References $datatypeId, ilDclStandardField\_getDatatypeForId(), getId(), and isStandardField().
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclContentImporter\checkImportType(), cloneProperties(), doCreate(), doUpdate(), and ilDclFieldListTableGUI\fillRowFromObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getDatatypeTitle | ( | ) |
Definition at line 211 of file class.ilDclBaseFieldModel.php.
References loadDatatype().
Referenced by getPresentationDescription(), and getPresentationTitle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getDescription | ( | ) |
Get description.
Definition at line 167 of file class.ilDclBaseFieldModel.php.
References $description.
Referenced by doCreate(), doUpdate(), ilDclFieldListTableGUI\fillRowFromObject(), and ilDclBaseFieldRepresentation\setupInputField().
Here is the caller graph for this function:| ilDclBaseFieldModel::getExportable | ( | ) |
Definition at line 264 of file class.ilDclBaseFieldModel.php.
References $exportable, and loadExportability().
Referenced by ilDclStandardField\clone(), and ilDclFieldListTableGUI\fillRowFromObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getId | ( | ) |
Get field id.
Definition at line 115 of file class.ilDclBaseFieldModel.php.
References $id.
Referenced by ilDclTable\addField(), ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), checkValidityFromForm(), cloneProperties(), ilDclSelectionFieldModel\cloneProperties(), cloneStructure(), doCreate(), doDelete(), doRead(), doUpdate(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclFieldFactory\getClassPathByInstance(), getDatatypeId(), ilDclFieldFactory\getFieldModelInstanceByClass(), ilDclCache\getFieldRepresentation(), ilDclFieldFactory\getFieldRepresentationInstance(), ilDclBaseRecordModel\getRecordFieldValueFromExcel(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), getViewSetting(), getViewSettings(), ilDclTableEditGUI\initForm(), loadProperties(), loadTableFieldSetting(), setProperty(), ilDclBaseRecordModel\setStandardFieldValueFromExcel(), and updateTableFieldSetting().
Here is the caller graph for this function:| ilDclBaseFieldModel::getOrder | ( | ) |
Definition at line 461 of file class.ilDclBaseFieldModel.php.
References $order, and loadTableFieldSetting().
Referenced by ilDclStandardField\clone(), and updateTableFieldSetting().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getPresentationDescription | ( | ) |
Reimplemented in ilDclCopyFieldModel, and ilDclPluginFieldModel.
Definition at line 222 of file class.ilDclBaseFieldModel.php.
References getDatatypeTitle(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilDclBaseFieldModel::getPresentationTitle | ( | ) |
Reimplemented in ilDclCopyFieldModel, and ilDclPluginFieldModel.
Definition at line 217 of file class.ilDclBaseFieldModel.php.
References getDatatypeTitle(), and ILIAS\Repository\lng().
Referenced by ilDclFieldListTableGUI\fillRowFromObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getProperty | ( | string | $key | ) |
Returns a certain property of a field.
Reimplemented in ilDclSelectionFieldModel.
Definition at line 497 of file class.ilDclBaseFieldModel.php.
References getPropertyInstance().
Referenced by cloneProperties(), and ilDclMobRecordFieldModel\parseValue().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getPropertyInstance | ( | string | $key | ) |
Return ActiveRecord of property.
Definition at line 508 of file class.ilDclBaseFieldModel.php.
References ILIAS\LTI\ToolProvider\$key, 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 | int | $filter_value |
Reimplemented in ilDclStandardField, ilDclBooleanFieldModel, ilDclCopyFieldModel, ilDclDatetimeFieldModel, ilDclFileuploadFieldModel, ilDclIliasReferenceFieldModel, ilDclNumberFieldModel, ilDclRatingFieldModel, ilDclReferenceFieldModel, ilDclSelectionFieldModel, and ilDclTextFieldModel.
Definition at line 682 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::getRecordQuerySortObject | ( | string | $direction = "asc", |
| bool | $sort_by_status = false |
||
| ) |
Returns a query-object for building the record-loader-sql-query.
| bool | $sort_by_status | The specific sort object is a status field |
Reimplemented in ilDclStandardField, ilDclFileuploadFieldModel, ilDclFormulaFieldModel, ilDclIliasReferenceFieldModel, ilDclRatingFieldModel, ilDclReferenceFieldModel, ilDclSelectionFieldModel, and ilDclTextFieldModel.
Definition at line 656 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTableEditGUI\initForm().
Here is the caller graph for this function:| ilDclBaseFieldModel::getSortField | ( | ) |
Returns the sort-field id.
Reimplemented in ilDclStandardField.
Definition at line 692 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::getStorageLocation | ( | ) |
Get storage location for the model.
Definition at line 230 of file class.ilDclBaseFieldModel.php.
References getStorageLocationOverride(), and loadDatatype().
Here is the call graph for this function:| ilDclBaseFieldModel::getStorageLocationOverride | ( | ) |
Definition at line 722 of file class.ilDclBaseFieldModel.php.
Referenced by getStorageLocation().
Here is the caller graph for this function:| ilDclBaseFieldModel::getTableId | ( | ) |
Get table id.
Definition at line 131 of file class.ilDclBaseFieldModel.php.
References $table_id.
Referenced by checkValidity(), doCreate(), doDelete(), doUpdate(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), loadTableFieldSetting(), and updateTableFieldSetting().
Here is the caller graph for this function:| ilDclBaseFieldModel::getTitle | ( | ) |
Get title.
Definition at line 151 of file class.ilDclBaseFieldModel.php.
References $title.
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclContentImporter\checkImportType(), doCreate(), doUpdate(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclPluginFieldModel\getPresentationDescription(), ilDclPluginFieldModel\getPresentationTitle(), and ilDclTableEditGUI\initForm().
Here is the caller graph for this function:| ilDclBaseFieldModel::getValidFieldProperties | ( | ) |
Returns all valid properties for a field-type.
Reimplemented in ilDclCopyFieldModel, ilDclFileuploadFieldModel, ilDclFormulaFieldModel, ilDclIliasReferenceFieldModel, ilDclMobFieldModel, ilDclPluginFieldModel, ilDclReferenceFieldModel, ilDclSelectionFieldModel, and ilDclTextFieldModel.
Definition at line 544 of file class.ilDclBaseFieldModel.php.
Referenced by cloneProperties().
Here is the caller graph for this function:| ilDclBaseFieldModel::getViewSetting | ( | int | $tableview_id | ) |
Definition at line 455 of file class.ilDclBaseFieldModel.php.
References getId(), and ilDclTableViewFieldSetting\getTableViewFieldSetting().
Here is the call graph for this function:| ilDclBaseFieldModel::getViewSettings | ( | ) |
Definition at line 450 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::hasNumericSorting | ( | ) |
Set to true, when the sorting should be handled numerical.
Reimplemented in ilDclStandardField, and ilDclNumberFieldModel.
Definition at line 700 of file class.ilDclBaseFieldModel.php.
References ilDclDatatype\INPUTFORMAT_NUMBER.
| ilDclBaseFieldModel::hasProperty | ( | string | $key | ) |
Checks if a certain property for a field is set.
Definition at line 486 of file class.ilDclBaseFieldModel.php.
References ILIAS\LTI\ToolProvider\$key, ILIAS\UI\Implementation\Component\Input\getValue(), and loadProperties().
Referenced by getPropertyInstance().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::isConfirmationRequired | ( | ilPropertyFormGUI | $form | ) |
called by ilDclFieldEditGUI when updating field properties if you overwrite this method, remember to also overwrite getConfirmationGUI
Reimplemented in ilDclSelectionFieldModel.
Definition at line 798 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::isStandardField | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 288 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFieldListTableGUI\fillRowFromObject(), and getDatatypeId().
Here is the caller graph for this function:| ilDclBaseFieldModel::isUnique | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 194 of file class.ilDclBaseFieldModel.php.
References $unique.
Referenced by checkValidity(), doCreate(), doUpdate(), and ilDclFieldListTableGUI\fillRowFromObject().
Here is the caller graph for this function:
|
protected |
Load datatype for model.
Definition at line 244 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 276 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 478 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 254 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 |
| mixed | $value |
Definition at line 582 of file class.ilDclBaseFieldModel.php.
Referenced by checkValidity().
Here is the caller graph for this function:| ilDclBaseFieldModel::setDatatypeId | ( | int | $a_id | ) |
Set datatype id.
Definition at line 175 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setDescription | ( | string | $a_desc | ) |
Set description.
Definition at line 159 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setExportable | ( | bool | $exportable | ) |
Definition at line 642 of file class.ilDclBaseFieldModel.php.
References $exportable.
Referenced by ilDclStandardField\clone(), and cloneStructure().
Here is the caller graph for this function:| ilDclBaseFieldModel::setId | ( | $a_id | ) |
Set field id.
| int|string |
Definition at line 107 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), and doCreate().
Here is the caller graph for this function:| ilDclBaseFieldModel::setOrder | ( | string | $order | ) |
Definition at line 470 of file class.ilDclBaseFieldModel.php.
References $order.
Referenced by ilDclStandardField\clone(), and cloneStructure().
Here is the caller graph for this function:| ilDclBaseFieldModel::setProperty | ( | string | $key, |
| $value | |||
| ) |
Set a property for a field (does not save)
| string | array | int | $value |
Reimplemented in ilDclSelectionFieldModel.
Definition at line 524 of file class.ilDclBaseFieldModel.php.
References ILIAS\LTI\ToolProvider\$key, $property, getId(), and loadProperties().
Here is the call graph for this function:| ilDclBaseFieldModel::setStorageLocationOverride | ( | ?int | $storage_location_override | ) |
Definition at line 730 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::setTableId | ( | int | $a_id | ) |
Set table id.
Definition at line 123 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setTitle | ( | string | $a_title | ) |
Set title.
Definition at line 139 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::setUnique | ( | ?bool | $unique | ) |
Definition at line 199 of file class.ilDclBaseFieldModel.php.
References $unique.
Referenced by buildFromDBRecord(), ilDclStandardField\clone(), cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclBaseFieldModel::storePropertiesFromForm | ( | ilPropertyFormGUI | $form | ) |
called when saving the 'edit field' form
Reimplemented in ilDclSelectionFieldModel.
Definition at line 756 of file class.ilDclBaseFieldModel.php.
References ilDclFieldFactory\getFieldRepresentationInstance(), and ilPropertyFormGUI\getInput().
Here is the call graph for this function:| ilDclBaseFieldModel::toArray | ( | ) |
Definition at line 283 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::updateProperties | ( | ) |
Update properties of this field in Database.
Definition at line 407 of file class.ilDclBaseFieldModel.php.
Referenced by doUpdate().
Here is the caller graph for this function:
|
protected |
update exportable and fieldorder
Definition at line 417 of file class.ilDclBaseFieldModel.php.
References getId(), ilDclTableFieldSetting\getInstance(), getOrder(), 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 31 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getDatatypeForId(), and getDatatype().
|
protected |
Definition at line 25 of file class.ilDclBaseFieldModel.php.
Referenced by getDatatypeId().
|
protected |
Definition at line 60 of file class.ilDclBaseFieldModel.php.
|
protected |
Definition at line 24 of file class.ilDclBaseFieldModel.php.
Referenced by getDescription().
|
protected |
Definition at line 30 of file class.ilDclBaseFieldModel.php.
Referenced by getExportable(), and setExportable().
|
protected |
Definition at line 21 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getDatatypeForId(), _getFieldIdByTitle(), ilDclStandardField\_getImportableStandardFieldTitle(), ilDclStandardField\_getNonImportableStandardFieldTitles(), doCreate(), and getId().
|
protected |
Definition at line 61 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray().
|
protected |
Definition at line 26 of file class.ilDclBaseFieldModel.php.
Referenced by getOrder(), and setOrder().
|
protected |
Definition at line 29 of file class.ilDclBaseFieldModel.php.
Referenced by setProperty().
|
protected |
With this property the datatype-storage-location can be overwritten.
This need to be done in plugins.
Definition at line 35 of file class.ilDclBaseFieldModel.php.
|
protected |
Definition at line 22 of file class.ilDclBaseFieldModel.php.
Referenced by _getFieldIdByTitle(), ilDclStandardField\_getStandardFields(), and getTableId().
|
protected |
Definition at line 23 of file class.ilDclBaseFieldModel.php.
Referenced by _getFieldIdByTitle(), and getTitle().
|
protected |
Definition at line 27 of file class.ilDclBaseFieldModel.php.
Referenced by isUnique(), and setUnique().
| const ilDclBaseFieldModel::EDIT_VIEW = 2 |
Definition at line 57 of file class.ilDclBaseFieldModel.php.
| const ilDclBaseFieldModel::EXPORTABLE_VIEW = 4 |
Definition at line 58 of file class.ilDclBaseFieldModel.php.
| const ilDclBaseFieldModel::PROP_DISPLAY_COPY_LINK_ACTION_MENU = "display_action_menu" |
Definition at line 51 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), ilDclIliasReferenceRecordRepresentation\getHTML(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_FORMULA_EXPRESSION = "expression" |
Definition at line 50 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFormulaRecordFieldModel\__construct(), ilDclFormulaFieldRepresentation\buildFieldCreationInput(), and ilDclFormulaFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_HEIGHT = "height" |
Definition at line 46 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclMobFieldRepresentation\buildFieldCreationInput(), ilDclMobRecordRepresentation\getHTML(), ilDclMobFieldModel\getValidFieldProperties(), and ilDclMobRecordFieldModel\parseValue().
| const ilDclBaseFieldModel::PROP_ILIAS_REFERENCE_LINK = "ILIAS_reference_link" |
Definition at line 48 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), ilDclIliasReferenceRecordRepresentation\getHTML(), ilDclIliasReferenceRecordRepresentation\getLinkHTML(), ilDclIliasReferenceRecordRepresentation\getSingleHTML(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LEARNING_PROGRESS = "learning_progress" |
Definition at line 47 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclRecordListTableGUI\buildData(), ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LENGTH = "lenght" |
General properties.
Definition at line 39 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkFieldCreationInput(), ilDclTextFieldModel\checkRegexAndLength(), ilDclTextFieldRepresentation\getInputField(), and ilDclTextFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LINK_DETAIL_PAGE_MOB = "link_detail_page_mob" |
Definition at line 53 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclMobFieldRepresentation\buildFieldCreationInput(), ilDclMobRecordRepresentation\getHTML(), and ilDclMobFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LINK_DETAIL_PAGE_TEXT = "link_detail_page_text" |
Definition at line 52 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextRecordRepresentation\getHTML(), and ilDclTextFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_N_REFERENCE = "multiple_selection" |
Definition at line 49 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclCopyFieldRepresentation\getInputField(), ilDclReferenceFieldRepresentation\getInputField(), ilDclCopyFieldModel\getValidFieldProperties(), ilDclReferenceFieldModel\getValidFieldProperties(), ilDclReferenceRecordFieldModel\getValueFromExcel(), ilDclCopyRecordRepresentation\parseFormInput(), and ilDclReferenceFieldRepresentation\passThroughFilter().
| const ilDclBaseFieldModel::PROP_PLUGIN_HOOK_NAME = "plugin_hook_name" |
Definition at line 55 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclPluginFieldRepresentation\buildFieldCreationInput(), and ilDclPluginFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REFERENCE = "table_id" |
Definition at line 41 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), cloneProperties(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclReferenceFieldModel\getFieldRef(), ilDclReferenceRecordRepresentation\getHTML(), ilDclCopyFieldRepresentation\getInputField(), ilDclReferenceFieldRepresentation\getInputField(), ilDclReferenceRecordRepresentation\getLinkHTML(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclCopyFieldModel\getValidFieldProperties(), and ilDclReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REFERENCE_LINK = "reference_link" |
Definition at line 44 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclReferenceRecordRepresentation\getHTML(), and ilDclReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REGEX = "regex" |
Definition at line 40 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 54 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFileuploadFieldRepresentation\buildFieldCreationInput(), ilDclFileuploadFieldModel\getSupportedExtensions(), and ilDclFileuploadFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_TEXTAREA = "text_area" |
Definition at line 43 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 42 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextRecordFieldModel\addHiddenItemsToConfirmation(), ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkTitlesForImport(), ilDclTextFieldModel\checkValidity(), ilDclTextFieldModel\checkValidityFromForm(), ilDclTextRecordFieldModel\deserializeData(), ilDclTextRecordFieldModel\fillExcelExport(), ilDclTextRecordRepresentation\fillFormInput(), ilDclTextFieldModel\fillHeaderExcel(), ilDclTextRecordFieldModel\getExportValue(), ilDclTextRecordRepresentation\getHTML(), ilDclReferenceFieldRepresentation\getInputField(), ilDclTextFieldRepresentation\getInputField(), ilDclTextFieldModel\getValidFieldProperties(), ilDclTextRecordFieldModel\getValueFromExcel(), ilDclTextRecordFieldModel\parseSortingValue(), ilDclTextRecordFieldModel\parseValue(), and ilDclTextRecordFieldModel\setValueFromForm().
| const ilDclBaseFieldModel::PROP_WIDTH = "width" |
Definition at line 45 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclMobFieldRepresentation\buildFieldCreationInput(), ilDclMobRecordRepresentation\getHTML(), ilDclMobFieldModel\getValidFieldProperties(), and ilDclMobRecordFieldModel\parseValue().