|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 (int $order) | |
| hasProperty (string $key) | |
| Checks if a certain property for a field is set. More... | |
| getProperty (string $key) | |
| getPropertyInstance (string $key) | |
| setProperty (string $key, $value) | |
| 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... | |
| areEqual ($value_1, $value_2) | |
| normalizeValue (mixed $value) | |
Protected Attributes | |
| string | $id = "" |
| int | $table_id = 0 |
| string | $title = "" |
| string | $description = "" |
| int | $datatype_id = 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... | |
Definition at line 21 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::__construct | ( | int | $a_id = 0 | ) |
Definition at line 65 of file class.ilDclBaseFieldModel.php.
References $DIC, doRead(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
static |
|
static |
All valid chars for filed titles.
Definition at line 80 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 594 of file class.ilDclBaseFieldModel.php.
References ilDclCache\getRecordFieldCache().
Referenced by ilDclReferenceFieldModel\getFieldRef(), and ilDclCopyFieldModel\getValidFieldProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::allowFilterInListView | ( | ) |
Definition at line 636 of file class.ilDclBaseFieldModel.php.
|
protected |
Definition at line 561 of file class.ilDclBaseFieldModel.php.
References normalizeValue().
Referenced by checkValidity().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::buildFromDBRecord | ( | array | $rec | ) |
Builds model from db record.
Definition at line 322 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 |
Definition at line 700 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::checkTitlesForImport | ( | array & | $titles, |
| array & | $import_fields | ||
| ) |
Definition at line 727 of file class.ilDclBaseFieldModel.php.
References getTitle().
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 |
Definition at line 539 of file class.ilDclBaseFieldModel.php.
References areEqual(), ilDclCache\getTableCache(), getTableId(), isUnique(), 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 |
||
| ) |
Definition at line 528 of file class.ilDclBaseFieldModel.php.
References checkValidity(), getId(), and ilPropertyFormGUI\getInput().
Here is the call graph for this function:| ilDclBaseFieldModel::cloneProperties | ( | ilDclBaseFieldModel | $originalField | ) |
Definition at line 601 of file class.ilDclBaseFieldModel.php.
References getDatatypeId(), getId(), getProperty(), getValidFieldProperties(), ilDclDatatype\INPUTFORMAT_COPY, 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 578 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 | ( | ) |
Definition at line 332 of file class.ilDclBaseFieldModel.php.
References 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.
Definition at line 425 of file class.ilDclBaseFieldModel.php.
References getId(), ilDclTableFieldSetting\getInstance(), getTableId(), and getViewSettings().
Here is the call graph for this function:| ilDclBaseFieldModel::doRead | ( | ) |
Definition at line 296 of file class.ilDclBaseFieldModel.php.
References 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 | ( | ) |
Definition at line 364 of file class.ilDclBaseFieldModel.php.
References 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 | ||
| ) |
Definition at line 721 of file class.ilDclBaseFieldModel.php.
References getTitle(), and ilExcel\setCell().
Here is the call graph for this function:| ilDclBaseFieldModel::fillPropertiesForm | ( | ilPropertyFormGUI & | $form | ) |
called to fill the 'edit field' form
Definition at line 760 of file class.ilDclBaseFieldModel.php.
References getDatatypeId(), getDescription(), getId(), getProperty(), getTableId(), getTitle(), getValidFieldProperties(), isUnique(), and ilPropertyFormGUI\setValuesByArray().
Here is the call graph for this function:| ilDclBaseFieldModel::getConfirmationGUI | ( | ilPropertyFormGUI | $form | ) |
called by ilDclFieldEditGUI if isConfirmationRequired returns true
Definition at line 793 of file class.ilDclBaseFieldModel.php.
References ilFormGUI\getFormAction(), ilPropertyFormGUI\getInput(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilDclBaseFieldModel::getDatatype | ( | ) |
Definition at line 207 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 188 of file class.ilDclBaseFieldModel.php.
References $datatype_id, ilDclStandardField\_getDatatypeForId(), getId(), and isStandardField().
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclContentImporter\checkImportType(), cloneProperties(), doCreate(), doUpdate(), fillPropertiesForm(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclFieldFactory\getClassPathByInstance(), ilDclFieldFactory\getFieldModelInstanceByClass(), ilDclFieldFactory\getFieldTypeByInstance(), 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 214 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 170 of file class.ilDclBaseFieldModel.php.
References $description.
Referenced by doCreate(), doUpdate(), fillPropertiesForm(), ilDclFieldListTableGUI\fillRowFromObject(), and ilDclBaseFieldRepresentation\setupInputField().
Here is the caller graph for this function:| ilDclBaseFieldModel::getExportable | ( | ) |
Definition at line 267 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 118 of file class.ilDclBaseFieldModel.php.
References $id.
Referenced by ilDclTable\addField(), ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkValidityFromForm(), checkValidityFromForm(), ilDclSelectionFieldModel\cloneProperties(), cloneProperties(), cloneStructure(), doCreate(), ilDclSelectionFieldModel\doDelete(), doDelete(), doRead(), doUpdate(), ilDclStandardField\fillHeaderExcel(), fillPropertiesForm(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclFieldFactory\getClassPathByInstance(), getDatatypeId(), ilDclFieldFactory\getFieldModelInstanceByClass(), ilDclReferenceFieldModel\getFieldRef(), ilDclCache\getFieldRepresentation(), ilDclFieldFactory\getFieldRepresentationInstance(), ilDclSelectionFieldModel\getProperty(), ilDclBaseRecordModel\getRecordFieldValueFromExcel(), ilDclCopyFieldModel\getRecordQueryFilterObject(), ilDclTextFieldModel\getRecordQueryFilterObject(), ilDclDateFieldModel\getRecordQueryFilterObject(), ilDclNumberFieldModel\getRecordQueryFilterObject(), ilDclBooleanFieldModel\getRecordQueryFilterObject(), ilDclSelectionFieldModel\getRecordQueryFilterObject(), ilDclIliasReferenceFieldModel\getRecordQueryFilterObject(), ilDclReferenceFieldModel\getRecordQueryFilterObject(), ilDclIliasReferenceFieldModel\getRecordQuerySortObject(), ilDclReferenceFieldModel\getRecordQuerySortObject(), ilDclStandardField\getRecordQuerySortObject(), getRecordQuerySortObject(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclStandardField\getSortField(), ilDclCopyFieldModel\getValidFieldProperties(), getViewSetting(), getViewSettings(), ilDclStandardField\hasNumericSorting(), loadProperties(), loadTableFieldSetting(), ilDclSelectionFieldModel\setProperty(), setProperty(), ilDclBaseRecordModel\setStandardFieldValueFromExcel(), and updateTableFieldSetting().
Here is the caller graph for this function:| ilDclBaseFieldModel::getOrder | ( | ) |
Definition at line 454 of file class.ilDclBaseFieldModel.php.
References $order, and loadTableFieldSetting().
Referenced by ilDclStandardField\clone(), ilDclTable\compareOrder(), and updateTableFieldSetting().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getPresentationDescription | ( | ) |
Definition at line 225 of file class.ilDclBaseFieldModel.php.
References getDatatypeTitle(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilDclBaseFieldModel::getPresentationTitle | ( | ) |
Definition at line 220 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 | ) |
Definition at line 486 of file class.ilDclBaseFieldModel.php.
References getPropertyInstance().
Referenced by ilDclTextFieldModel\checkRegexAndLength(), ilDclTextFieldModel\checkValidityFromForm(), cloneProperties(), ilDclTextFieldModel\fillHeaderExcel(), fillPropertiesForm(), ilDclReferenceFieldModel\getFieldRef(), ilDclReferenceFieldModel\getRecordQueryFilterObject(), ilDclReferenceFieldModel\getRecordQuerySortObject(), and ilDclFileFieldModel\getSupportedExtensions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getPropertyInstance | ( | string | $key | ) |
Definition at line 493 of file class.ilDclBaseFieldModel.php.
References ILIAS\LTI\ToolProvider\$key, hasProperty(), and loadProperties().
Referenced by getProperty(), and storePropertiesFromForm().
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 |
Definition at line 668 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 |
Definition at line 645 of file class.ilDclBaseFieldModel.php.
References getId().
Here is the call graph for this function:| ilDclBaseFieldModel::getSortField | ( | ) |
Returns the sort-field id.
Definition at line 678 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 233 of file class.ilDclBaseFieldModel.php.
References getStorageLocationOverride(), and loadDatatype().
Here is the call graph for this function:| ilDclBaseFieldModel::getStorageLocationOverride | ( | ) |
Definition at line 708 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 134 of file class.ilDclBaseFieldModel.php.
References $table_id.
Referenced by ilDclStandardField\allowFilterInListView(), checkValidity(), doCreate(), doDelete(), doUpdate(), fillPropertiesForm(), ilDclReferenceFieldModel\getRecordQuerySortObject(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), loadTableFieldSetting(), and updateTableFieldSetting().
Here is the caller graph for this function:| ilDclBaseFieldModel::getTitle | ( | ) |
Get title.
Definition at line 154 of file class.ilDclBaseFieldModel.php.
References $title.
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclContentImporter\checkImportType(), ilDclTextFieldModel\checkTitlesForImport(), checkTitlesForImport(), doCreate(), doUpdate(), ilDclTextFieldModel\fillHeaderExcel(), fillHeaderExcel(), fillPropertiesForm(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclPluginFieldModel\getPresentationDescription(), ilDclPluginFieldModel\getPresentationTitle(), ilDclStandardField\getSortField(), and getSortField().
Here is the caller graph for this function:| ilDclBaseFieldModel::getValidFieldProperties | ( | ) |
Returns all valid properties for a field-type.
Definition at line 523 of file class.ilDclBaseFieldModel.php.
Referenced by cloneProperties(), fillPropertiesForm(), and storePropertiesFromForm().
Here is the caller graph for this function:| ilDclBaseFieldModel::getViewSetting | ( | int | $tableview_id | ) |
Definition at line 449 of file class.ilDclBaseFieldModel.php.
References getId(), and ilDclTableViewFieldSetting\getTableViewFieldSetting().
Here is the call graph for this function:| ilDclBaseFieldModel::getViewSettings | ( | ) |
Definition at line 444 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.
Definition at line 686 of file class.ilDclBaseFieldModel.php.
References getDatatypeId(), and ilDclDatatype\INPUTFORMAT_NUMBER.
Here is the call graph for this function:| ilDclBaseFieldModel::hasProperty | ( | string | $key | ) |
Checks if a certain property for a field is set.
Definition at line 479 of file class.ilDclBaseFieldModel.php.
References ILIAS\UI\Implementation\Component\Input\getValue(), and loadProperties().
Referenced by ilDclTextFieldModel\checkTitlesForImport(), getPropertyInstance(), ilDclReferenceFieldModel\getRecordQuerySortObject(), and ilDclFileFieldModel\getSupportedExtensions().
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
Definition at line 785 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::isStandardField | ( | ) |
Definition at line 291 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFieldListTableGUI\fillRowFromObject(), and getDatatypeId().
Here is the caller graph for this function:| ilDclBaseFieldModel::isUnique | ( | ) |
Definition at line 197 of file class.ilDclBaseFieldModel.php.
References $unique.
Referenced by checkValidity(), doCreate(), doUpdate(), fillPropertiesForm(), and ilDclFieldListTableGUI\fillRowFromObject().
Here is the caller graph for this function:
|
protected |
Load datatype for model.
Definition at line 247 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 279 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 471 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 257 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 |
Definition at line 566 of file class.ilDclBaseFieldModel.php.
Referenced by areEqual().
Here is the caller graph for this function:| ilDclBaseFieldModel::setDatatypeId | ( | int | $a_id | ) |
Set datatype id.
Definition at line 178 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 162 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 631 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 110 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), and doCreate().
Here is the caller graph for this function:| ilDclBaseFieldModel::setOrder | ( | int | $order | ) |
Definition at line 463 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 | |||
| ) |
Definition at line 503 of file class.ilDclBaseFieldModel.php.
References ILIAS\LTI\ToolProvider\$key, $property, getId(), and loadProperties().
Referenced by ilDclReferenceFieldModel\getFieldRef(), ilDclCopyFieldModel\getValidFieldProperties(), and storePropertiesFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::setStorageLocationOverride | ( | ?int | $storage_location_override | ) |
Definition at line 716 of file class.ilDclBaseFieldModel.php.
References $storage_location_override.
| ilDclBaseFieldModel::setTableId | ( | int | $a_id | ) |
Set table id.
Definition at line 126 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 142 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 202 of file class.ilDclBaseFieldModel.php.
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
Definition at line 742 of file class.ilDclBaseFieldModel.php.
References ilDclFieldFactory\getFieldRepresentationInstance(), ilPropertyFormGUI\getInput(), getPropertyInstance(), getValidFieldProperties(), and setProperty().
Here is the call graph for this function:| ilDclBaseFieldModel::toArray | ( | ) |
Definition at line 286 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::updateProperties | ( | ) |
Update properties of this field in Database.
Definition at line 404 of file class.ilDclBaseFieldModel.php.
Referenced by doUpdate(), ilDclReferenceFieldModel\getFieldRef(), and ilDclCopyFieldModel\getValidFieldProperties().
Here is the caller graph for this function:
|
protected |
update exportable and fieldorder
Definition at line 414 of file class.ilDclBaseFieldModel.php.
References getId(), ilDclTableFieldSetting\getInstance(), getOrder(), and getTableId().
Referenced by doCreate(), ilDclStandardField\doUpdate(), and doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 33 of file class.ilDclBaseFieldModel.php.
Referenced by getDatatype().
|
protected |
Definition at line 27 of file class.ilDclBaseFieldModel.php.
Referenced by getDatatypeId().
|
protected |
Definition at line 62 of file class.ilDclBaseFieldModel.php.
|
protected |
Definition at line 26 of file class.ilDclBaseFieldModel.php.
Referenced by getDescription().
|
protected |
Definition at line 32 of file class.ilDclBaseFieldModel.php.
Referenced by getExportable(), and setExportable().
|
protected |
Definition at line 23 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getDatatypeForId(), _getFieldIdByTitle(), ilDclStandardField\_getImportableStandardFieldTitle(), ilDclStandardField\_getNonImportableStandardFieldTitles(), getId(), and ilDclSelectionFieldModel\setProperty().
|
protected |
Definition at line 63 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), and ilDclStandardField\fillHeaderExcel().
|
protected |
Definition at line 28 of file class.ilDclBaseFieldModel.php.
Referenced by getOrder(), and setOrder().
|
protected |
Definition at line 31 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 37 of file class.ilDclBaseFieldModel.php.
Referenced by getStorageLocationOverride(), and setStorageLocationOverride().
|
protected |
Definition at line 24 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getStandardFields(), and getTableId().
|
protected |
Definition at line 25 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldModel\checkTitlesForImport(), and getTitle().
|
protected |
Definition at line 29 of file class.ilDclBaseFieldModel.php.
Referenced by isUnique().
| const ilDclBaseFieldModel::EDIT_VIEW = 2 |
Definition at line 59 of file class.ilDclBaseFieldModel.php.
| const ilDclBaseFieldModel::EXPORTABLE_VIEW = 4 |
Definition at line 60 of file class.ilDclBaseFieldModel.php.
| const ilDclBaseFieldModel::PROP_DISPLAY_COPY_LINK_ACTION_MENU = "display_action_menu" |
Definition at line 53 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), ilDclIliasReferenceRecordRepresentation\getHTML(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_FORMULA_EXPRESSION = "expression" |
Definition at line 52 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFormulaRecordFieldModel\__construct(), ilDclFormulaFieldRepresentation\buildFieldCreationInput(), and ilDclFormulaFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_HEIGHT = "height" |
Definition at line 48 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclMobFieldRepresentation\buildFieldCreationInput(), ilDclMobRecordRepresentation\getHTML(), and ilDclMobFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_ILIAS_REFERENCE_LINK = "ILIAS_reference_link" |
Definition at line 50 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), ilDclIliasReferenceRecordRepresentation\getHTML(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LEARNING_PROGRESS = "learning_progress" |
Definition at line 49 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclRecordListTableGUI\buildData(), ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LENGTH = "lenght" |
General properties.
Definition at line 41 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 55 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 54 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextRecordRepresentation\getHTML(), and ilDclTextFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_N_REFERENCE = "multiple_selection" |
Definition at line 51 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclCopyRecordRepresentation\getHTML(), ilDclReferenceFieldRepresentation\getInputField(), ilDclCopyFieldRepresentation\getInputField(), ilDclReferenceFieldModel\getRecordQueryFilterObject(), ilDclCopyFieldModel\getValidFieldProperties(), ilDclReferenceFieldModel\getValidFieldProperties(), ilDclReferenceRecordFieldModel\getValueFromExcel(), ilDclCopyRecordRepresentation\parseFormInput(), and ilDclReferenceFieldRepresentation\passThroughFilter().
| const ilDclBaseFieldModel::PROP_PLUGIN_HOOK_NAME = "plugin_hook_name" |
Definition at line 57 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclPluginFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REFERENCE = "table_id" |
Definition at line 43 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), cloneProperties(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclReferenceFieldModel\getFieldRef(), ilDclReferenceRecordRepresentation\getHTML(), ilDclReferenceFieldRepresentation\getInputField(), ilDclCopyFieldRepresentation\getInputField(), ilDclReferenceRecordRepresentation\getLinkHTML(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclCopyFieldModel\getValidFieldProperties(), and ilDclReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REFERENCE_LINK = "reference_link" |
Definition at line 46 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclReferenceRecordRepresentation\getHTML(), and ilDclReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REGEX = "regex" |
Definition at line 42 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 56 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFileFieldRepresentation\buildFieldCreationInput(), ilDclFileFieldModel\getSupportedExtensions(), and ilDclFileFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_TEXTAREA = "text_area" |
Definition at line 45 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkFieldCreationInput(), ilDclTextFieldRepresentation\getInputField(), and ilDclTextFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_URL = "url" |
Definition at line 44 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextRecordFieldModel\addHiddenItemsToConfirmation(), ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkTitlesForImport(), ilDclTextFieldModel\checkValidityFromForm(), ilDclTextRecordFieldModel\deserializeData(), ilDclTextRecordFieldModel\fillExcelExport(), ilDclTextRecordRepresentation\fillFormInput(), ilDclTextFieldModel\fillHeaderExcel(), ilDclTextRecordFieldModel\getExportValue(), ilDclTextRecordRepresentation\getHTML(), ilDclReferenceFieldRepresentation\getInputField(), ilDclTextFieldRepresentation\getInputField(), ilDclTextFieldModel\getValidFieldProperties(), ilDclTextRecordFieldModel\getValueFromExcel(), ilDclTextRecordFieldModel\parseSortingValue(), and ilDclTextRecordFieldModel\setValueFromForm().
| const ilDclBaseFieldModel::PROP_WIDTH = "width" |
Definition at line 47 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclMobFieldRepresentation\buildFieldCreationInput(), ilDclMobRecordRepresentation\getHTML(), and ilDclMobFieldModel\getValidFieldProperties().