|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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... | |
| 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) | |
| checkValidity ($value, ?int $record_id) | |
| 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... | |
| checkUniqueProp (ilPropertyFormGUI $form) | |
| checkUnique ($value, ?int $record_id) | |
| 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_REFERENCE_LINK = "reference_link" |
| const | PROP_UNIQUE = "unique" |
| 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 |
| 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 | ) |
Reimplemented in ilDclFileFieldModel, and ilDclMobFieldModel.
Definition at line 64 of file class.ilDclBaseFieldModel.php.
References $DIC, doRead(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
static |
Definition at line 88 of file class.ilDclBaseFieldModel.php.
|
static |
All valid chars for filed titles.
Definition at line 79 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 344 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 559 of file class.ilDclBaseFieldModel.php.
References ilDclCache\getRecordFieldCache().
Here is the call graph for this function:| ilDclBaseFieldModel::allowFilterInListView | ( | ) |
Reimplemented in ilDclStandardField, ilDclFileFieldModel, ilDclFormulaFieldModel, ilDclPluginFieldModel, and ilDclReferenceFieldModel.
Definition at line 601 of file class.ilDclBaseFieldModel.php.
|
protected |
Reimplemented in ilDclTextFieldModel.
Definition at line 527 of file class.ilDclBaseFieldModel.php.
References normalizeValue().
Here is the call graph for this function:| ilDclBaseFieldModel::buildFromDBRecord | ( | array | $rec | ) |
Builds model from db record.
Definition at line 310 of file class.ilDclBaseFieldModel.php.
References setDatatypeId(), setDescription(), setId(), setTableId(), and setTitle().
Here is the call graph for this function:| ilDclBaseFieldModel::checkFieldCreationInput | ( | ilPropertyFormGUI | $form | ) |
Checks input of specific fields befor saving.
| ilPropertyFormGUI | $form |
Reimplemented in ilDclIliasReferenceFieldModel, ilDclSelectionFieldModel, and ilDclTextFieldModel.
Definition at line 665 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::checkTitlesForImport | ( | array & | $titles, |
| array & | $import_fields | ||
| ) |
Reimplemented in ilDclTextFieldModel.
Definition at line 726 of file class.ilDclBaseFieldModel.php.
References ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle().
Here is the call graph for this function:| ilDclBaseFieldModel::checkUnique | ( | $value, | |
| ?int | $record_id | ||
| ) |
Definition at line 688 of file class.ilDclBaseFieldModel.php.
References ILIAS\Survey\Mode\getId(), ilDclCache\getTableCache(), PROP_UNIQUE, and ilDclInputException\UNIQUE_EXCEPTION.
Here is the call graph for this function:| ilDclBaseFieldModel::checkUniqueProp | ( | ilPropertyFormGUI | $form | ) |
Definition at line 670 of file class.ilDclBaseFieldModel.php.
References ILIAS\Survey\Mode\getId(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilDclCache\getTableCache(), ILIAS\Repository\lng(), and PROP_UNIQUE.
Here is the call graph for this function:| ilDclBaseFieldModel::checkValidity | ( | $value, | |
| ?int | $record_id | ||
| ) |
Check if input is valid.
| float | int | string | array | null | $value |
| ilDclInputException |
Reimplemented in ilDclIliasReferenceFieldModel, ilDclNumberFieldModel, ilDclSelectionFieldModel, and ilDclTextFieldModel.
Definition at line 522 of file class.ilDclBaseFieldModel.php.
Referenced by checkValidityFromForm().
Here is the caller graph for this function:| ilDclBaseFieldModel::checkValidityFromForm | ( | ilPropertyFormGUI & | $form, |
| ?int | $record_id | ||
| ) |
Reimplemented in ilDclBooleanFieldModel, and ilDclTextFieldModel.
Definition at line 511 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 566 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 544 of file class.ilDclBaseFieldModel.php.
References cloneProperties(), doCreate(), ilDclCache\getFieldCache(), getId(), ilDclCache\setCloneOf(), setDatatypeId(), setDescription(), setExportable(), setOrder(), setTitle(), and ilDclCache\TYPE_FIELD.
Here is the call graph for this function:| ilDclBaseFieldModel::doCreate | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 319 of file class.ilDclBaseFieldModel.php.
References $id, ilDclTable\_tableExists(), addToTableViews(), getDatatypeId(), getDescription(), getId(), getTableId(), getTitle(), 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 408 of file class.ilDclBaseFieldModel.php.
References getId(), ilDclTableFieldSetting\getInstance(), getTableId(), and getViewSettings().
Here is the call graph for this function:| ilDclBaseFieldModel::doRead | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 285 of file class.ilDclBaseFieldModel.php.
References getId(), loadProperties(), loadTableFieldSetting(), setDatatypeId(), setDescription(), setTableId(), and setTitle().
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 351 of file class.ilDclBaseFieldModel.php.
References getDatatypeId(), getDescription(), getId(), getTableId(), getTitle(), 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 720 of file class.ilDclBaseFieldModel.php.
References ILIAS\GlobalScreen\Scope\Footer\Factory\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 759 of file class.ilDclBaseFieldModel.php.
References ILIAS\Survey\Mode\getId(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), 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 791 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 196 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 187 of file class.ilDclBaseFieldModel.php.
References $datatype_id, ilDclStandardField\_getDatatypeForId(), getId(), and isStandardField().
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclContentImporter\checkImportType(), cloneProperties(), doCreate(), doUpdate(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclFieldFactory\getClassPathByInstance(), and ilDclFieldFactory\getFieldTypeByInstance().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getDatatypeTitle | ( | ) |
Definition at line 203 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 169 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 256 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 117 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(), loadProperties(), loadTableFieldSetting(), setProperty(), ilDclBaseRecordModel\setStandardFieldValueFromExcel(), and updateTableFieldSetting().
Here is the caller graph for this function:| ilDclBaseFieldModel::getOrder | ( | ) |
Definition at line 437 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 214 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 209 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 | ) |
Reimplemented in ilDclSelectionFieldModel.
Definition at line 469 of file class.ilDclBaseFieldModel.php.
References getPropertyInstance().
Referenced by cloneProperties(), and ilDclFileFieldModel\getExtensions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseFieldModel::getPropertyInstance | ( | string | $key | ) |
Definition at line 476 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 | int | $filter_value |
Reimplemented in ilDclStandardField, ilDclBooleanFieldModel, ilDclCopyFieldModel, ilDclDateFieldModel, ilDclIliasReferenceFieldModel, ilDclNumberFieldModel, ilDclRatingFieldModel, ilDclReferenceFieldModel, ilDclSelectionFieldModel, and ilDclTextFieldModel.
Definition at line 633 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, ilDclFormulaFieldModel, ilDclIliasReferenceFieldModel, ilDclRatingFieldModel, and ilDclReferenceFieldModel.
Definition at line 610 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::getSortField | ( | ) |
Returns the sort-field id.
Reimplemented in ilDclStandardField.
Definition at line 643 of file class.ilDclBaseFieldModel.php.
References ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle().
Here is the call graph for this function:| ilDclBaseFieldModel::getStorageLocation | ( | ) |
Get storage location for the model.
Definition at line 222 of file class.ilDclBaseFieldModel.php.
References getStorageLocationOverride(), and loadDatatype().
Here is the call graph for this function:| ilDclBaseFieldModel::getStorageLocationOverride | ( | ) |
Definition at line 707 of file class.ilDclBaseFieldModel.php.
Referenced by getStorageLocation().
Here is the caller graph for this function:| ilDclBaseFieldModel::getTableId | ( | ) |
Get table id.
Definition at line 133 of file class.ilDclBaseFieldModel.php.
References $table_id.
Referenced by doCreate(), doDelete(), doUpdate(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), loadTableFieldSetting(), and updateTableFieldSetting().
Here is the caller graph for this function:| ilDclBaseFieldModel::getTitle | ( | ) |
Get title.
Definition at line 153 of file class.ilDclBaseFieldModel.php.
References $title.
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclContentImporter\checkImportType(), doCreate(), doUpdate(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclPluginFieldModel\getPresentationDescription(), and ilDclPluginFieldModel\getPresentationTitle().
Here is the caller graph for this function:| ilDclBaseFieldModel::getValidFieldProperties | ( | ) |
Returns all valid properties for a field-type.
Reimplemented in ilDclCopyFieldModel, ilDclFileFieldModel, ilDclFormulaFieldModel, ilDclIliasReferenceFieldModel, ilDclMobFieldModel, ilDclPluginFieldModel, ilDclReferenceFieldModel, ilDclSelectionFieldModel, and ilDclTextFieldModel.
Definition at line 506 of file class.ilDclBaseFieldModel.php.
Referenced by cloneProperties().
Here is the caller graph for this function:| ilDclBaseFieldModel::getViewSetting | ( | int | $tableview_id | ) |
Definition at line 432 of file class.ilDclBaseFieldModel.php.
References getId(), and ilDclTableViewFieldSetting\getTableViewFieldSetting().
Here is the call graph for this function:| ilDclBaseFieldModel::getViewSettings | ( | ) |
Definition at line 427 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 651 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 462 of file class.ilDclBaseFieldModel.php.
References 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
Definition at line 783 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::isStandardField | ( | ) |
Reimplemented in ilDclStandardField.
Definition at line 280 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFieldListTableGUI\fillRowFromObject(), and getDatatypeId().
Here is the caller graph for this function:
|
protected |
Load datatype for model.
Definition at line 236 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 268 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 454 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 246 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 532 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 177 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 161 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 596 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 109 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 446 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 | |||
| ) |
Reimplemented in ilDclSelectionFieldModel.
Definition at line 486 of file class.ilDclBaseFieldModel.php.
References $property, getId(), and loadProperties().
Here is the call graph for this function:| ilDclBaseFieldModel::setStorageLocationOverride | ( | ?int | $storage_location_override | ) |
Definition at line 715 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::setTableId | ( | int | $a_id | ) |
Set table id.
Definition at line 125 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 141 of file class.ilDclBaseFieldModel.php.
Referenced by buildFromDBRecord(), 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 741 of file class.ilDclBaseFieldModel.php.
References ilDclFieldFactory\getFieldRepresentationInstance(), and ilPropertyFormGUI\getInput().
Here is the call graph for this function:| ilDclBaseFieldModel::toArray | ( | ) |
Definition at line 275 of file class.ilDclBaseFieldModel.php.
| ilDclBaseFieldModel::updateProperties | ( | ) |
Update properties of this field in Database.
Definition at line 387 of file class.ilDclBaseFieldModel.php.
Referenced by doUpdate().
Here is the caller graph for this function:
|
protected |
update exportable and fieldorder
Definition at line 397 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 32 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 61 of file class.ilDclBaseFieldModel.php.
|
protected |
Definition at line 26 of file class.ilDclBaseFieldModel.php.
Referenced by getDescription().
|
protected |
Definition at line 31 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(), doCreate(), and getId().
|
protected |
Definition at line 62 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray().
|
protected |
Definition at line 28 of file class.ilDclBaseFieldModel.php.
Referenced by getOrder(), and setOrder().
|
protected |
Definition at line 30 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 36 of file class.ilDclBaseFieldModel.php.
|
protected |
Definition at line 24 of file class.ilDclBaseFieldModel.php.
Referenced by _getFieldIdByTitle(), ilDclStandardField\_getStandardFields(), and getTableId().
|
protected |
Definition at line 25 of file class.ilDclBaseFieldModel.php.
Referenced by _getFieldIdByTitle(), and getTitle().
| const ilDclBaseFieldModel::EDIT_VIEW = 2 |
Definition at line 58 of file class.ilDclBaseFieldModel.php.
| const ilDclBaseFieldModel::EXPORTABLE_VIEW = 4 |
Definition at line 59 of file class.ilDclBaseFieldModel.php.
| const ilDclBaseFieldModel::PROP_DISPLAY_COPY_LINK_ACTION_MENU = "display_action_menu" |
Definition at line 52 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), ilDclIliasReferenceRecordRepresentation\getHTML(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_FORMULA_EXPRESSION = "expression" |
Definition at line 51 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFormulaRecordFieldModel\__construct(), ilDclFormulaFieldRepresentation\buildFieldCreationInput(), and ilDclFormulaFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_HEIGHT = "height" |
Definition at line 47 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 49 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), ilDclIliasReferenceRecordRepresentation\getHTML(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LEARNING_PROGRESS = "learning_progress" |
Definition at line 48 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclRecordListTableGUI\buildData(), ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), and ilDclIliasReferenceFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_LENGTH = "lenght" |
General properties.
Definition at line 40 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldModel\checkRegexAndLength(), ilDclTextFieldRepresentation\getInputField(), ilDclTextFieldModel\getValidFieldProperties(), and ilDataCollectionDBUpdateSteps10\step_1().
| const ilDclBaseFieldModel::PROP_LINK_DETAIL_PAGE_MOB = "link_detail_page_mob" |
Definition at line 54 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 53 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput(), ilDclTextRecordRepresentation\getHTML(), and ilDclTextFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_N_REFERENCE = "multiple_selection" |
Definition at line 50 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclCopyRecordRepresentation\getHTML(), 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 56 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclPluginFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_REFERENCE = "table_id" |
Definition at line 42 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 41 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 55 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclFileFieldModel\getExtensions(), and ilDclFileFieldModel\getValidFieldProperties().
| const ilDclBaseFieldModel::PROP_UNIQUE = "unique" |
Definition at line 45 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclIliasReferenceFieldRepresentation\buildFieldCreationInput(), ilDclSelectionFieldRepresentation\buildFieldCreationInput(), ilDclTextFieldRepresentation\buildFieldCreationInput(), checkUnique(), checkUniqueProp(), ilDclIliasReferenceFieldModel\getValidFieldProperties(), ilDclTextFieldModel\getValidFieldProperties(), and ilDataCollectionDBUpdateSteps11\step_1().
| const ilDclBaseFieldModel::PROP_URL = "url" |
Definition at line 43 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 46 of file class.ilDclBaseFieldModel.php.
Referenced by ilDclMobFieldRepresentation\buildFieldCreationInput(), ilDclMobRecordRepresentation\getHTML(), and ilDclMobFieldModel\getValidFieldProperties().