|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 (?string $field_id) | |
| Get Field Value. More... | |
| fillRecordFieldExcelExport (ilExcel $worksheet, int &$row, int &$col, $field_id) | |
| getRecordFieldFormulaValue ($field_id) | |
| getRecordFieldHTML ($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) | |
| 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 23 of file class.ilDclBaseRecordModel.php.
| ilDclBaseRecordModel::__construct | ( | ?int | $a_id = 0 | ) |
Definition at line 47 of file class.ilDclBaseRecordModel.php.
References $DIC, doRead(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), renderer(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilDclBaseRecordModel::cloneStructure | ( | int | $original_id, |
| array | $new_fields | ||
| ) |
Definition at line 596 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 177 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 615 of file class.ilDclBaseRecordModel.php.
References ilObject\_exists().
Here is the call graph for this function:| ilDclBaseRecordModel::doCreate | ( | ) |
| ilException |
Definition at line 141 of file class.ilDclBaseRecordModel.php.
References $id, 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 565 of file class.ilDclBaseRecordModel.php.
References $ref_id, ILIAS\Survey\Mode\getId(), ilDclCache\getTableCache(), ILIAS\FileDelivery\http(), RECORD_DELETE, 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 109 of file class.ilDclBaseRecordModel.php.
References 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 66 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 329 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 415 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 451 of file class.ilDclBaseRecordModel.php.
References ilPropertyFormGUI\getItemByPostVar().
Here is the call graph for this function:| ilDclBaseRecordModel::getCreateDate | ( | ) |
Definition at line 211 of file class.ilDclBaseRecordModel.php.
References $create_date.
Referenced by doCreate().
Here is the caller graph for this function:| ilDclBaseRecordModel::getId | ( | ) |
Definition at line 191 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 236 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 221 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 658 of file class.ilDclBaseRecordModel.php.
References $context.
| ilDclBaseRecordModel::getOwner | ( | ) |
Definition at line 231 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 558 of file class.ilDclBaseRecordModel.php.
Referenced by ilDclReferenceRecordFieldModel\getReferenceFromValue().
Here is the caller graph for this function:| ilDclBaseRecordModel::getRecordFieldFormulaValue | ( | $field_id | ) |
| int | string | $field_id |
Definition at line 356 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 375 of file class.ilDclBaseRecordModel.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, and ilDclStandardField\_isStandardField().
Referenced by ilDclReferenceRecordRepresentation\getLinkHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclBaseRecordModel::getRecordFields | ( | ) |
Definition at line 641 of file class.ilDclBaseRecordModel.php.
Referenced by doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclBaseRecordModel::getRecordFieldValue | ( | ?string | $field_id | ) |
Get Field Value.
Definition at line 314 of file class.ilDclBaseRecordModel.php.
References ilDclStandardField\_isStandardField(), ilDclCache\getFieldCache(), and ilDclCache\getRecordFieldCache().
Referenced by ilDclBaseFieldRepresentation\passThroughFilter(), ilDclBooleanFieldRepresentation\passThroughFilter(), ilDclCopyFieldRepresentation\passThroughFilter(), ilDclDateFieldRepresentation\passThroughFilter(), ilDclDatetimeFieldRepresentation\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 280 of file class.ilDclBaseRecordModel.php.
References ilDclBaseFieldModel\getId(), and loadRecordFields().
Here is the call graph for this function:| ilDclBaseRecordModel::getRecordFieldValues | ( | ) |
Definition at line 299 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 461 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 476 of file class.ilDclBaseRecordModel.php.
| ilDclBaseRecordModel::getStandardFieldHTML | ( | string | $field_id, |
| array | $options = [] |
||
| ) |
Definition at line 481 of file class.ilDclBaseRecordModel.php.
References $id, $ref_id, ilCommonActionDispatcherGUI\buildAjaxHash(), ilDatePresentation\formatDate(), ILIAS\Survey\Mode\getId(), ilNoteGUI\getListCommentsJSCall(), ilUserUtil\getNamePresentation(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and renderer().
Here is the call graph for this function:| ilDclBaseRecordModel::getStandardFieldPlainText | ( | string | $field_id | ) |
| string | $field_id |
Definition at line 526 of file class.ilDclBaseRecordModel.php.
| ilDclBaseRecordModel::getTable | ( | ) |
Definition at line 648 of file class.ilDclBaseRecordModel.php.
Referenced by doCreate(), ilDclRecordListGUI\recordBelongsToCollection(), and ilObjDataCollection\sendRecordNotification().
Here is the caller graph for this function:| ilDclBaseRecordModel::getTableId | ( | ) |
Definition at line 201 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 628 of file class.ilDclBaseRecordModel.php.
References $ref_id.
| ilDclBaseRecordModel::hasPermissionToEdit | ( | int | $ref_id | ) |
Definition at line 623 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 633 of file class.ilDclBaseRecordModel.php.
References $ref_id.
|
private |
Definition at line 536 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 551 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 206 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 186 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 241 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 216 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 226 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 251 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 266 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 439 of file class.ilDclBaseRecordModel.php.
Referenced by setRecordFieldValue().
Here is the caller graph for this function:
|
protected |
| int | string | $field_id |
Definition at line 428 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 287 of file class.ilDclBaseRecordModel.php.
References ilDclBaseFieldModel\getId().
Here is the call graph for this function:| ilDclBaseRecordModel::setTableId | ( | int | $a_id | ) |
Definition at line 196 of file class.ilDclBaseRecordModel.php.
Referenced by doRead(), and ilDclRecordEditGUI\save().
Here is the caller graph for this function:
|
protected |
Definition at line 39 of file class.ilDclBaseRecordModel.php.
Referenced by getCreateDate().
|
protected |
Definition at line 43 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 44 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 41 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 33 of file class.ilDclBaseRecordModel.php.
Referenced by doCreate(), and getId().
|
protected |
Definition at line 36 of file class.ilDclBaseRecordModel.php.
Referenced by getLastEditBy(), and setLastEditBy().
|
protected |
Definition at line 38 of file class.ilDclBaseRecordModel.php.
Referenced by getLastUpdate().
|
protected |
Definition at line 27 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 40 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 37 of file class.ilDclBaseRecordModel.php.
Referenced by getOwner().
|
protected |
Definition at line 32 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 42 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 26 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 35 of file class.ilDclBaseRecordModel.php.
|
protected |
Definition at line 34 of file class.ilDclBaseRecordModel.php.
Referenced by getTableId().
|
protected |
Definition at line 25 of file class.ilDclBaseRecordModel.php.
|
private |
Definition at line 45 of file class.ilDclBaseRecordModel.php.