|
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 ilDclStandardField:
Collaboration diagram for ilDclStandardField:Public Member Functions | |
| __construct ($a_id=0) | |
| doRead () | |
| doCreate () | |
| doUpdate () | |
| clone (ilDclStandardField $original_record) | |
| getLocked () | |
| isStandardField () | |
| isUnique () | |
| 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... | |
| allowFilterInListView () | |
| fillHeaderExcel (ilExcel $worksheet, int &$row, int &$col) | |
| getValueFromExcel (ilExcel $excel, int $row, int $col) | |
| afterClone ($records) | |
Public Member Functions inherited from ilDclBaseFieldModel | |
| __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 | _getStandardFieldsAsArray () |
| static | _getStandardFields (int $table_id) |
| static | _getNonImportableStandardFieldTitles () |
| static | _getImportableStandardFieldTitle () |
| static | _isStandardField ($field_id) |
| static | _getDatatypeForId (string $id) |
| gives you the datatype id of a specified standard field. More... | |
Static Public Member Functions inherited from ilDclBaseFieldModel | |
| static | _getTitleInvalidChars (bool $a_as_regex=true) |
| All valid chars for filed titles. More... | |
| static | _getFieldIdByTitle (string $title, int $table_id) |
Private Attributes | |
| ilGlobalTemplateInterface | $main_tpl |
Additional Inherited Members | |
Data Fields inherited from ilDclBaseFieldModel | |
| 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 inherited from ilDclBaseFieldModel | |
| 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 inherited from ilDclBaseFieldModel | |
| 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 |
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.ilDclStandardField.php.
| ilDclStandardField::__construct | ( | $a_id = 0 | ) |
Definition at line 23 of file class.ilDclStandardField.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
static |
gives you the datatype id of a specified standard field.
| string | $id | the id of the standardfield eg. "create_date" |
Definition at line 206 of file class.ilDclStandardField.php.
References ilDclBaseFieldModel\$datatype, and ilDclBaseFieldModel\$id.
Referenced by ilDclBaseFieldModel\getDatatypeId(), and ilDclTableViewFieldSetting\getFieldObject().
Here is the caller graph for this function:
|
static |
Definition at line 165 of file class.ilDclStandardField.php.
References $DIC, ilDclBaseFieldModel\$id, and $ilDB.
Referenced by ilDclContentImporter\getImportFieldsFromTitles().
Here is the caller graph for this function:
|
static |
Definition at line 132 of file class.ilDclStandardField.php.
References $DIC, ilDclBaseFieldModel\$id, and $ilDB.
Referenced by ilDclContentImporter\getImportFieldsFromTitles().
Here is the caller graph for this function:
|
static |
Definition at line 115 of file class.ilDclStandardField.php.
References ilDclBaseFieldModel\$table_id.
|
static |
Definition at line 67 of file class.ilDclStandardField.php.
References $DIC, ilDclBaseFieldModel\$lng, ilDclDatatype\INPUTFORMAT_DATETIME, ilDclDatatype\INPUTFORMAT_NUMBER, ilDclDatatype\INPUTFORMAT_TEXT, and ilLanguage\txt().
Here is the call graph for this function:
|
static |
| int | string | $field_id |
Definition at line 190 of file class.ilDclStandardField.php.
Referenced by ilDclTableView\createFieldSetting(), ilDclBaseRecordModel\fillRecordFieldExcelExport(), ilDclBaseRecordModel\fillRecordFieldFormInput(), ilDclBaseRecordModel\getRecordFieldExportValue(), ilDclBaseRecordModel\getRecordFieldFormulaValue(), ilDclBaseRecordModel\getRecordFieldHTML(), ilDclBaseRecordModel\getRecordFieldPlainText(), ilDclBaseRecordModel\getRecordFieldRepresentationValue(), ilDclBaseRecordModel\getRecordFieldSortingValue(), ilDclBaseRecordModel\getRecordFieldValue(), ilDclBaseRecordModel\setRecordFieldValue(), and ilDclBaseRecordModel\setRecordFieldValueFromForm().
Here is the caller graph for this function:| ilDclStandardField::afterClone | ( | $records | ) |
| ilDclStandardField::allowFilterInListView | ( | ) |
Reimplemented from ilDclBaseFieldModel.
Definition at line 329 of file class.ilDclStandardField.php.
References ilDclCache\getTableCache().
Here is the call graph for this function:| ilDclStandardField::clone | ( | ilDclStandardField | $original_record | ) |
Definition at line 53 of file class.ilDclStandardField.php.
References doUpdate(), ilDclBaseFieldModel\getExportable(), ilDclBaseFieldModel\getOrder(), isUnique(), ilDclBaseFieldModel\setExportable(), ilDclBaseFieldModel\setOrder(), and ilDclBaseFieldModel\setUnique().
Referenced by ILIAS\UI\Implementation\Component\Table\PresentationRow\withAction(), ILIAS\UI\Implementation\Component\Table\Data\withActions(), ILIAS\UI\Implementation\Component\Table\Data\withAdditionalParameters(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withContent(), ILIAS\UI\Implementation\Component\Table\Presentation\withData(), ILIAS\UI\Implementation\Component\Table\DataRow\withDisabledAction(), ILIAS\UI\Implementation\Component\Table\Presentation\withEnvironment(), ILIAS\UI\Implementation\Component\Table\Data\withFilter(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withFurtherFields(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withFurtherFieldsHeadline(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withHeadline(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withImportantFields(), ILIAS\UI\Implementation\Component\Table\DataRowBuilder\withMultiActionsPresent(), ILIAS\UI\Implementation\Component\Table\Data\withNumberOfRows(), ILIAS\UI\Implementation\Component\Table\Data\withOrder(), ILIAS\UI\Implementation\Component\Table\Data\withRange(), ILIAS\UI\Implementation\Component\Table\Data\withRequest(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withResetSignals(), ILIAS\UI\Implementation\Component\Table\Presentation\withRowMapping(), ILIAS\UI\Implementation\Component\Table\Data\withSelectedOptionalColumns(), ILIAS\UI\Implementation\Component\Table\DataRowBuilder\withSingleActions(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withSubheadline(), ILIAS\UI\Implementation\Component\Table\Table\withTitle(), and ILIAS\UI\Implementation\Component\Table\DataRowBuilder\withVisibleColumns().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclStandardField::doCreate | ( | ) |
Reimplemented from ilDclBaseFieldModel.
Definition at line 39 of file class.ilDclStandardField.php.
| ilDclStandardField::doRead | ( | ) |
Reimplemented from ilDclBaseFieldModel.
Definition at line 30 of file class.ilDclStandardField.php.
| ilDclStandardField::doUpdate | ( | ) |
Reimplemented from ilDclBaseFieldModel.
Definition at line 48 of file class.ilDclStandardField.php.
References ilDclBaseFieldModel\updateTableFieldSetting().
Referenced by clone().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclStandardField::fillHeaderExcel | ( | ilExcel | $worksheet, |
| int & | $row, | ||
| int & | $col | ||
| ) |
Reimplemented from ilDclBaseFieldModel.
Definition at line 336 of file class.ilDclStandardField.php.
References $DIC, $lng, ILIAS\Survey\Mode\getId(), and ilExcel\setCell().
Here is the call graph for this function:| ilDclStandardField::getLocked | ( | ) |
Definition at line 62 of file class.ilDclStandardField.php.
| ilDclStandardField::getRecordQueryFilterObject | ( | $filter_value = "", |
|
| ?ilDclBaseFieldModel | $sort_field = null |
||
| ) |
Returns a query-object for building the record-loader-sql-query.
Reimplemented from ilDclBaseFieldModel.
Definition at line 259 of file class.ilDclStandardField.php.
References $ilDB.
| ilDclStandardField::getRecordQuerySortObject | ( | string | $direction = "asc", |
| bool | $sort_by_status = false |
||
| ) |
Returns a query-object for building the record-loader-sql-query.
Reimplemented from ilDclBaseFieldModel.
Definition at line 232 of file class.ilDclStandardField.php.
| ilDclStandardField::getSortField | ( | ) |
Returns the sort-field id.
Reimplemented from ilDclBaseFieldModel.
Definition at line 311 of file class.ilDclStandardField.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilDclStandardField::getValueFromExcel | ( | ilExcel | $excel, |
| int | $row, | ||
| int | $col | ||
| ) |
Definition at line 350 of file class.ilDclStandardField.php.
References ilObjUser\_lookupId(), and ilExcel\getCell().
Here is the call graph for this function:| ilDclStandardField::hasNumericSorting | ( | ) |
Set to true, when the sorting should be handled numerical.
Reimplemented from ilDclBaseFieldModel.
Definition at line 320 of file class.ilDclStandardField.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilDclStandardField::isStandardField | ( | ) |
Reimplemented from ilDclBaseFieldModel.
Definition at line 219 of file class.ilDclStandardField.php.
| ilDclStandardField::isUnique | ( | ) |
Reimplemented from ilDclBaseFieldModel.
Definition at line 224 of file class.ilDclStandardField.php.
Referenced by clone().
Here is the caller graph for this function:
|
private |
Definition at line 21 of file class.ilDclStandardField.php.