|
| getValidFieldProperties () |
|
| getRecordQueryFilterObject ( $filter_value="", ?ilDclBaseFieldModel $sort_field=null) |
| Returns a query-object for building the record-loader-sql-query. More...
|
|
| isMulti () |
|
| checkFieldCreationInput (ilPropertyFormGUI $form) |
|
| storePropertiesFromForm (ilPropertyFormGUI $form) |
| called when saving the 'edit field' form More...
|
|
| fillPropertiesForm (ilPropertyFormGUI &$form) |
|
| setProperty (string $key, $value) |
|
| reorderExistingValues () |
| sorts record field values by the new order More...
|
|
| getProperty (string $key) |
|
| getRecordQuerySortObject (string $direction="asc", bool $sort_by_status=false) |
|
| cloneProperties (ilDclBaseFieldModel $originalField) |
|
| doDelete () |
|
| isConfirmationRequired (ilPropertyFormGUI $form) |
|
| getConfirmationGUI (ilPropertyFormGUI $form) |
|
| __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 | _getTitleInvalidChars (bool $a_as_regex=true) |
| All valid chars for filed titles. More...
|
|
static | _getFieldIdByTitle (string $title, int $table_id) |
|
| multiPropertyChanged (bool $is_multi_now) |
| changes the values of all record fields, since the property "multi" has changed More...
|
|
| 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 (mixed $value) |
|
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 |
|