|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilDclBaseRecordModel:Public Member Functions | |
| __construct (?int $a_id=0) | |
| doUpdate (bool $omit_notification=false) | |
| doRead () | |
| doCreate () | |
| deleteField (int $field_id) | |
| setId (int $a_id) | |
| getId () | |
| setTableId (int $a_id) | |
| getTableId () | |
| setCreateDate (ilDateTime $a_datetime) | |
| getCreateDate () | |
| setLastUpdate (ilDateTime $a_datetime) | |
| getLastUpdate () | |
| setOwner (int $a_id) | |
| getOwner () | |
| getLastEditBy () | |
| setLastEditBy (?int $last_edit_by) | |
| setRecordFieldValue ($field_id, $value) | |
| setRecordFieldValueFromForm (int $field_id, ilPropertyFormGUI $form) | |
| Set a field value. More... | |
| getRecordFieldValueFromExcel (ilExcel $excel, int $row, int $col, ilDclBaseFieldModel $field) | |
| setStandardFieldValueFromExcel (ilExcel $excel, int $row, int $col, ilDclBaseFieldModel $field) | |
| getRecordFieldValues () | |
| getRecordFieldValue (?int $field_id) | |
| Get Field Value. More... | |
| getRecordFieldRepresentationValue ($field_id) | |
| Get Field Value for Representation in a Form. More... | |
| getRecordFieldExportValue ($field_id) | |
| Get Field Export Value. More... | |
| getRecordFieldPlainText ($field_id) | |
| Get Field Export Value. More... | |
| fillRecordFieldExcelExport (ilExcel $worksheet, int &$row, int &$col, $field_id) | |
| getRecordFieldFormulaValue ($field_id) | |
| getRecordFieldHTML ($field_id, array $options=[]) | |
| getRecordFieldSortingValue ($field_id, array $options=[]) | |
| fillRecordFieldFormInput ($field_id, ilPropertyFormGUI $form) | |
| getStandardFieldFormulaValue ($field_id) | |
| getStandardFieldHTML (string $field_id, array $options=[]) | |
| getStandardFieldPlainText (string $field_id) | |
| getRecordField (int $field_id) | |
| doDelete (bool $omit_notification=false) | |
| cloneStructure (int $original_id, array $new_fields) | |
| deleteFile (int $obj_id) | |
| deleteMob (int $obj_id) | |
| hasPermissionToEdit (int $ref_id) | |
| hasPermissionToDelete (int $ref_id) | |
| hasPermissionToView (int $ref_id) | |
| getRecordFields () | |
| getTable () | |
| getNrOfComments () | |
| Get nr of comments of this record. More... | |
Protected Member Functions | |
| setStandardFieldFromForm ($field_id, ilPropertyFormGUI $form) | |
| setStandardField ($field_id, $value) | |
| fillStandardFieldFormInput ($field_id, ilPropertyFormGUI $form) | |
| getStandardField ($field_id) | |
Protected Attributes | |
| ILIAS UI Factory | $ui_factory |
| ILIAS UI Renderer | $renderer |
| Service | $notes |
| array | $recordfields = null |
| int | $id = 0 |
| int | $table_id |
| ilDclTable | $table = null |
| int | $last_edit_by = null |
| int | $owner = 0 |
| ilDateTime | $last_update |
| ilDateTime | $create_date |
| int | $nr_of_comments = null |
| ILIAS HTTP Services | $http |
| ILIAS Refinery Factory | $refinery |
| ilDBInterface | $db |
| ilAppEventHandler | $event |
Private Member Functions | |
| loadRecordFields () | |
| loadTable () | |
Private Attributes | |
| ilObjUser | $user |
Definition at line 21 of file class.ilDclBaseRecordModel.php.
| ilDclBaseRecordModel::__construct | ( | ?int | $a_id = 0 | ) |
Definition at line 45 of file class.ilDclBaseRecordModel.php.
References $DIC, doRead(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilDclBaseRecordModel::cloneStructure | ( | int | $original_id, |
| array | $new_fields | ||
| ) |
Definition at line 672 of file class.ilDclBaseRecordModel.php.
References ILIAS\Survey\Mode\getId(), ilDclCache\getRecordCache(), ilDclCache\getRecordFieldCache(), ilDclCache\setCloneOf(), and ilDclCache\TYPE_RECORD.
Here is the call graph for this function:| ilDclBaseRecordModel::deleteField | ( | int | $field_id | ) |
Definition at line 175 of file class.ilDclBaseRecordModel.php.
References doDelete(), and loadRecordFields().
Here is the call graph for this function:| ilDclBaseRecordModel::deleteFile | ( | int | $obj_id | ) |
Definition at line 691 of file class.ilDclBaseRecordModel.php.
References ilObject\_exists().
Here is the call graph for this function:| ilDclBaseRecordModel::deleteMob | ( | int | $obj_id | ) |
Definition at line 699 of file class.ilDclBaseRecordModel.php.
References ilObject\_lookupObjId().
Here is the call graph for this function:| ilDclBaseRecordModel::doCreate | ( | ) |
| ilException |
Definition at line 139 of file class.ilDclBaseRecordModel.php.
References $id, $query, ilDclTable\_tableExists(), getCreateDate(), getId(), getLastEditBy(), getLastUpdate(), getOwner(), getRecordFields(), getTable(), getTableId(), IL_CAL_DATETIME, loadRecordFields(), and setId().
Referenced by ilDclRecordEditGUI\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::doDelete | ( | bool | $omit_notification = false | ) |
Definition at line 633 of file class.ilDclBaseRecordModel.php.
References $query, $ref_id, ILIAS\Survey\Mode\getId(), ilDclCache\getTableCache(), ILIAS\FileDelivery\http(), ilDclDatatype\INPUTFORMAT_FILE, ilDclDatatype\INPUTFORMAT_MOB, and ILIAS\Repository\refinery().
Referenced by ilDclRecordEditGUI\delete(), and deleteField().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::doRead | ( | ) |
Definition at line 107 of file class.ilDclBaseRecordModel.php.
References $query, getId(), IL_CAL_DATETIME, loadTable(), setCreateDate(), setLastEditBy(), setLastUpdate(), setOwner(), and setTableId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::doUpdate | ( | bool | $omit_notification = false | ) |
Definition at line 64 of file class.ilDclBaseRecordModel.php.
References $ref_id, getLastEditBy(), getLastUpdate(), getOwner(), getRecordFields(), getTableId(), ILIAS\FileDelivery\http(), IL_CAL_DATETIME, and ILIAS\Repository\refinery().
Referenced by ilDclRecordEditGUI\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::fillRecordFieldExcelExport | ( | ilExcel | $worksheet, |
| int & | $row, | ||
| int & | $col, | ||
| $field_id | |||
| ) |
| int | string | $field_id |
Definition at line 376 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), IL_CAL_DATETIME, ilExcel\setCell(), and ILIAS\Repository\user().
Referenced by ilDclContentExporter\fillRowExcel().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::fillRecordFieldFormInput | ( | $field_id, | |
| ilPropertyFormGUI | $form | ||
| ) |
| int | string | $field_id |
Definition at line 481 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField().
Referenced by ilDclRecordEditGUI\sendFailure().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| int | string | $field_id |
Definition at line 517 of file class.ilDclBaseRecordModel.php.
References ilPropertyFormGUI\getItemByPostVar().
Here is the call graph for this function:| ilDclBaseRecordModel::getCreateDate | ( | ) |
Definition at line 209 of file class.ilDclBaseRecordModel.php.
References $create_date.
Referenced by doCreate().
Here is the caller graph for this function:| ilDclBaseRecordModel::getId | ( | ) |
Definition at line 189 of file class.ilDclBaseRecordModel.php.
References $id.
Referenced by ilDclRecordEditGUI\confirmDelete(), doCreate(), doRead(), ilDclReferenceRecordRepresentation\getLinkHTML(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclRecordEditGUI\save(), and ilDclRecordEditGUI\sendFailure().
Here is the caller graph for this function:| ilDclBaseRecordModel::getLastEditBy | ( | ) |
Definition at line 234 of file class.ilDclBaseRecordModel.php.
References $last_edit_by.
Referenced by doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclBaseRecordModel::getLastUpdate | ( | ) |
Definition at line 219 of file class.ilDclBaseRecordModel.php.
References $last_update.
Referenced by doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclBaseRecordModel::getNrOfComments | ( | ) |
Get nr of comments of this record.
Definition at line 742 of file class.ilDclBaseRecordModel.php.
References $context.
| ilDclBaseRecordModel::getOwner | ( | ) |
Definition at line 229 of file class.ilDclBaseRecordModel.php.
References $owner.
Referenced by doCreate(), ilDclTable\doesRecordBelongToUser(), doUpdate(), and ilDclTable\hasPermissionToViewRecord().
Here is the caller graph for this function:| ilDclBaseRecordModel::getRecordField | ( | int | $field_id | ) |
Definition at line 626 of file class.ilDclBaseRecordModel.php.
Referenced by ilDclReferenceRecordFieldModel\getReferenceFromValue().
Here is the caller graph for this function:| ilDclBaseRecordModel::getRecordFieldExportValue | ( | $field_id | ) |
Get Field Export Value.
| ?int|string | $field_id |
Definition at line 348 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField().
Here is the call graph for this function:| ilDclBaseRecordModel::getRecordFieldFormulaValue | ( | $field_id | ) |
| int | string | $field_id |
Definition at line 403 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField().
Here is the call graph for this function:| ilDclBaseRecordModel::getRecordFieldHTML | ( | $field_id, | |
| array | $options = [] |
||
| ) |
| int | string | $field_id |
Definition at line 422 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField().
Here is the call graph for this function:| ilDclBaseRecordModel::getRecordFieldPlainText | ( | $field_id | ) |
Get Field Export Value.
| int | string | $field_id |
Definition at line 363 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField().
Here is the call graph for this function:| ilDclBaseRecordModel::getRecordFieldRepresentationValue | ( | $field_id | ) |
Get Field Value for Representation in a Form.
| ?int|string | $field_id |
Definition at line 330 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField().
Here is the call graph for this function:| ilDclBaseRecordModel::getRecordFields | ( | ) |
Definition at line 725 of file class.ilDclBaseRecordModel.php.
Referenced by doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclBaseRecordModel::getRecordFieldSortingValue | ( | $field_id, | |
| array | $options = [] |
||
| ) |
| int | string | $field_id |
Definition at line 441 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField().
Here is the call graph for this function:| ilDclBaseRecordModel::getRecordFieldValue | ( | ?int | $field_id | ) |
Get Field Value.
Definition at line 312 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField().
Referenced by ilDclReferenceRecordRepresentation\getLinkHTML(), ilDclBaseFieldRepresentation\passThroughFilter(), ilDclBooleanFieldRepresentation\passThroughFilter(), ilDclCopyFieldRepresentation\passThroughFilter(), ilDclDatetimeFieldRepresentation\passThroughFilter(), ilDclFileuploadFieldRepresentation\passThroughFilter(), ilDclIliasReferenceFieldRepresentation\passThroughFilter(), ilDclMobFieldRepresentation\passThroughFilter(), ilDclNumberFieldRepresentation\passThroughFilter(), ilDclRatingFieldRepresentation\passThroughFilter(), ilDclReferenceFieldRepresentation\passThroughFilter(), and ilDclTextFieldRepresentation\passThroughFilter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::getRecordFieldValueFromExcel | ( | ilExcel | $excel, |
| int | $row, | ||
| int | $col, | ||
| ilDclBaseFieldModel | $field | ||
| ) |
Definition at line 278 of file class.ilDclBaseRecordModel.php.
References ilDclBaseFieldModel\getId(), and loadRecordFields().
Here is the call graph for this function:| ilDclBaseRecordModel::getRecordFieldValues | ( | ) |
Definition at line 297 of file class.ilDclBaseRecordModel.php.
References $id.
Referenced by ilDclRecordEditGUI\getRecordData().
Here is the caller graph for this function:
|
protected |
| int | string | $field_id |
Definition at line 527 of file class.ilDclBaseRecordModel.php.
References ilObjUser\_lookupName().
Here is the call graph for this function:| ilDclBaseRecordModel::getStandardFieldFormulaValue | ( | $field_id | ) |
| int | string | $field_id |
Definition at line 543 of file class.ilDclBaseRecordModel.php.
| ilDclBaseRecordModel::getStandardFieldHTML | ( | string | $field_id, |
| array | $options = [] |
||
| ) |
Definition at line 548 of file class.ilDclBaseRecordModel.php.
References $id, $ref_id, ilCommonActionDispatcherGUI\buildAjaxHash(), ilDatePresentation\formatDate(), ILIAS\Survey\Mode\getId(), ilNoteGUI\getListCommentsJSCall(), ilUserUtil\getNamePresentation(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilDclBaseRecordModel::getStandardFieldPlainText | ( | string | $field_id | ) |
| string | $field_id |
Definition at line 594 of file class.ilDclBaseRecordModel.php.
| ilDclBaseRecordModel::getTable | ( | ) |
Definition at line 732 of file class.ilDclBaseRecordModel.php.
Referenced by doCreate(), and ilDclRecordListGUI\recordBelongsToCollection().
Here is the caller graph for this function:| ilDclBaseRecordModel::getTableId | ( | ) |
Definition at line 199 of file class.ilDclBaseRecordModel.php.
References $table_id.
Referenced by doCreate(), doUpdate(), and ilDclReferenceRecordRepresentation\getLinkHTML().
Here is the caller graph for this function:| ilDclBaseRecordModel::hasPermissionToDelete | ( | int | $ref_id | ) |
Definition at line 712 of file class.ilDclBaseRecordModel.php.
References $ref_id.
| ilDclBaseRecordModel::hasPermissionToEdit | ( | int | $ref_id | ) |
Definition at line 707 of file class.ilDclBaseRecordModel.php.
References $ref_id.
Referenced by ilDclRecordEditGUI\save().
Here is the caller graph for this function:| ilDclBaseRecordModel::hasPermissionToView | ( | int | $ref_id | ) |
Definition at line 717 of file class.ilDclBaseRecordModel.php.
References $ref_id.
|
private |
Definition at line 604 of file class.ilDclBaseRecordModel.php.
References ilDclCache\getRecordFieldCache().
Referenced by deleteField(), doCreate(), getRecordFieldValueFromExcel(), setRecordFieldValue(), and setRecordFieldValueFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 619 of file class.ilDclBaseRecordModel.php.
References ilDclCache\getTableCache().
Referenced by doRead(), setRecordFieldValue(), and setRecordFieldValueFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::setCreateDate | ( | ilDateTime | $a_datetime | ) |
Definition at line 204 of file class.ilDclBaseRecordModel.php.
Referenced by doRead(), and ilDclRecordEditGUI\save().
Here is the caller graph for this function:| ilDclBaseRecordModel::setId | ( | int | $a_id | ) |
Definition at line 184 of file class.ilDclBaseRecordModel.php.
Referenced by doCreate().
Here is the caller graph for this function:| ilDclBaseRecordModel::setLastEditBy | ( | ?int | $last_edit_by | ) |
Definition at line 239 of file class.ilDclBaseRecordModel.php.
References $last_edit_by.
Referenced by doRead(), and ilDclRecordEditGUI\save().
Here is the caller graph for this function:| ilDclBaseRecordModel::setLastUpdate | ( | ilDateTime | $a_datetime | ) |
Definition at line 214 of file class.ilDclBaseRecordModel.php.
Referenced by doRead(), and ilDclRecordEditGUI\save().
Here is the caller graph for this function:| ilDclBaseRecordModel::setOwner | ( | int | $a_id | ) |
Definition at line 224 of file class.ilDclBaseRecordModel.php.
Referenced by doRead(), and ilDclRecordEditGUI\save().
Here is the caller graph for this function:| ilDclBaseRecordModel::setRecordFieldValue | ( | $field_id, | |
| $value | |||
| ) |
| int | string | $field_id | |
| int | string | $value |
Definition at line 249 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField(), loadRecordFields(), loadTable(), and setStandardField().
Referenced by ilDclRecordEditGUI\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::setRecordFieldValueFromForm | ( | int | $field_id, |
| ilPropertyFormGUI | $form | ||
| ) |
Set a field value.
| int | string | $field_id |
Definition at line 264 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField(), loadRecordFields(), loadTable(), and setStandardFieldFromForm().
Referenced by ilDclRecordEditGUI\save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| int | string | $field_id | |
| int | string | $value |
Definition at line 505 of file class.ilDclBaseRecordModel.php.
Referenced by setRecordFieldValue().
Here is the caller graph for this function:
|
protected |
| int | string | $field_id |
Definition at line 494 of file class.ilDclBaseRecordModel.php.
References ilPropertyFormGUI\getItemByPostVar().
Referenced by setRecordFieldValueFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::setStandardFieldValueFromExcel | ( | ilExcel | $excel, |
| int | $row, | ||
| int | $col, | ||
| ilDclBaseFieldModel | $field | ||
| ) |
Definition at line 285 of file class.ilDclBaseRecordModel.php.
References ilDclBaseFieldModel\getId().
Here is the call graph for this function:| ilDclBaseRecordModel::setTableId | ( | int | $a_id | ) |
Definition at line 194 of file class.ilDclBaseRecordModel.php.
Referenced by doRead(), and ilDclRecordEditGUI\save().
Here is the caller graph for this function:
|
protected |
Definition at line 37 of file class.ilDclBaseRecordModel.php.
Referenced by getCreateDate().
|
protected |
Definition at line 41 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 42 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 39 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 31 of file class.ilDclBaseRecordModel.php.
Referenced by doCreate(), and getId().
|
protected |
Definition at line 34 of file class.ilDclBaseRecordModel.php.
Referenced by getLastEditBy(), and setLastEditBy().
|
protected |
Definition at line 36 of file class.ilDclBaseRecordModel.php.
Referenced by getLastUpdate().
|
protected |
Definition at line 25 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 38 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 35 of file class.ilDclBaseRecordModel.php.
Referenced by getOwner().
|
protected |
Definition at line 30 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 40 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 24 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 33 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 32 of file class.ilDclBaseRecordModel.php.
Referenced by getTableId().
|
protected |
Definition at line 23 of file class.ilDclBaseRecordModel.php.
|
private |
Definition at line 43 of file class.ilDclBaseRecordModel.php.