|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilDataCollectionRecord. More...
Collaboration diagram for ilDataCollectionRecord:Public Member Functions | |
| __construct ($a_id=0) | |
| doUpdate () | |
| doUpdate More... | |
| doRead () | |
| Read record. More... | |
| doCreate () | |
| deleteField ($field_id) | |
| setId ($a_id) | |
| Set field id. More... | |
| getId () | |
| Get field id. More... | |
| setTableId ($a_id) | |
| Set Table ID. More... | |
| getTableId () | |
| Get Table ID. More... | |
| setCreateDate ($a_datetime) | |
| Set Creation Date. More... | |
| getCreateDate () | |
| Get Creation Date. More... | |
| setLastUpdate ($a_datetime) | |
| Set Last Update Date. More... | |
| getLastUpdate () | |
| Get Last Update Date. More... | |
| setOwner ($a_id) | |
| Set Owner. More... | |
| getOwner () | |
| Get Owner. More... | |
| getLastEditBy () | |
| setLastEditBy ($last_edit_by) | |
| setRecordFieldValue ($field_id, $value) | |
| Set a field value. More... | |
| setRecordFieldValueFromForm ($field_id, &$form) | |
| Set a field value. More... | |
| getRecordFieldValueFromExcel ($excel, $row, $col, $field) | |
| getRecordFieldValues () | |
| getRecordFieldValue ($field_id) | |
| Get Field Value. More... | |
| getRecordFieldExportValue ($field_id) | |
| Get Field Export Value. More... | |
| fillRecordFieldExcelExport ($worksheet, &$row, &$col, $field_id) | |
| getRecordFieldHTML ($field_id, array $options=array()) | |
| getRecordFieldSortingValue ($field_id, array $options=array()) | |
| fillRecordFieldFormInput ($field_id, &$form) | |
| getRecordField ($field_id) | |
| doDelete () | |
| Delete. More... | |
| deleteFile ($obj_id) | |
| Delete a file. More... | |
| deleteMob ($obj_id) | |
| Delete MOB. More... | |
| passThroughFilter (array $filter) | |
| hasPermissionToEdit ($ref_id) | |
| hasPermissionToDelete ($ref_id) | |
| hasPermissionToView ($ref_id) | |
| getRecordFields () | |
| getTable () | |
| getComments () | |
| Get all comments of this record. More... | |
Protected Member Functions | |
| setStandardFieldFromForm ($field_id, &$form) | |
| setStandardField ($field_id, $value) | |
| fillStandardFieldFormInput ($field_id, &$form) | |
| getStandardField ($field_id) | |
Protected Attributes | |
| $recordfields | |
| $id | |
| $table_id | |
| $table | |
| $last_edit_by | |
| $owner | |
| $last_update | |
| $create_date | |
| $comments | |
Private Member Functions | |
| getStandardFieldHTML ($field_id, array $options=array()) | |
| loadRecordFields () | |
| Load record fields. More... | |
| loadTable () | |
| Load table. More... | |
Class ilDataCollectionRecord.
Definition at line 26 of file class.ilDataCollectionRecord.php.
| ilDataCollectionRecord::__construct | ( | $a_id = 0 | ) |
| int | $a_id |
Definition at line 71 of file class.ilDataCollectionRecord.php.
References doRead().
Here is the call graph for this function:| ilDataCollectionRecord::deleteField | ( | $field_id | ) |
| $field_id |
Definition at line 166 of file class.ilDataCollectionRecord.php.
References doDelete(), and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::deleteFile | ( | $obj_id | ) |
Delete a file.
| $original_id | integer |
| $new_fields | array($old_field_id => $new_field) |
| $obj_id |
Definition at line 675 of file class.ilDataCollectionRecord.php.
References $file, and ilObject2\_exists().
Referenced by doDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::deleteMob | ( | $obj_id | ) |
Delete MOB.
| $obj_id |
Definition at line 688 of file class.ilDataCollectionRecord.php.
References ilObject2\_exists().
Referenced by doDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::doCreate | ( | ) |
| ilException |
Definition at line 139 of file class.ilDataCollectionRecord.php.
References $id, $ilDB, $query, ilDataCollectionTable\_tableExists(), getCreateDate(), getId(), getLastEditBy(), getLastUpdate(), getOwner(), getTableId(), and setId().
Here is the call graph for this function:| ilDataCollectionRecord::doDelete | ( | ) |
Delete.
Definition at line 626 of file class.ilDataCollectionRecord.php.
References $ilDB, $query, deleteFile(), deleteMob(), getId(), getTableId(), ilDataCollectionDatatype\INPUTFORMAT_FILE, ilDataCollectionDatatype\INPUTFORMAT_MOB, loadRecordFields(), and ilObjDataCollection\sendNotification().
Referenced by deleteField().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::doRead | ( | ) |
Read record.
Definition at line 120 of file class.ilDataCollectionRecord.php.
References $ilDB, $query, getId(), 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:| ilDataCollectionRecord::doUpdate | ( | ) |
doUpdate
Definition at line 82 of file class.ilDataCollectionRecord.php.
References $ilDB, getLastEditBy(), getLastUpdate(), getOwner(), getRecordFields(), getTableId(), and ilObjDataCollection\sendNotification().
Here is the call graph for this function:| ilDataCollectionRecord::fillRecordFieldExcelExport | ( | $worksheet, | |
| & | $row, | ||
| & | $col, | ||
| $field_id | |||
| ) |
| $worksheet | |
| $row | |
| $col | |
| $field_id |
Definition at line 393 of file class.ilDataCollectionRecord.php.
References $row, ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::fillRecordFieldFormInput | ( | $field_id, | |
| & | $form | ||
| ) |
| $field_id | |
| $form | ilPropertyFormGUI |
Definition at line 486 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), fillStandardFieldFormInput(), and loadRecordFields().
Here is the call graph for this function:
|
protected |
| $field_id | |
| $form |
Definition at line 524 of file class.ilDataCollectionRecord.php.
References getStandardField().
Referenced by fillRecordFieldFormInput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::getComments | ( | ) |
Get all comments of this record.
Definition at line 772 of file class.ilDataCollectionRecord.php.
References $comments, ilNote\_getNotesOfObject(), and IL_NOTE_PUBLIC.
Referenced by getStandardFieldHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::getCreateDate | ( | ) |
Get Creation Date.
Definition at line 230 of file class.ilDataCollectionRecord.php.
References $create_date.
Referenced by doCreate(), and getStandardFieldHTML().
Here is the caller graph for this function:| ilDataCollectionRecord::getId | ( | ) |
Get field id.
Definition at line 190 of file class.ilDataCollectionRecord.php.
References $id.
Referenced by doCreate(), doDelete(), doRead(), and getStandardFieldHTML().
Here is the caller graph for this function:| ilDataCollectionRecord::getLastEditBy | ( | ) |
Definition at line 278 of file class.ilDataCollectionRecord.php.
References $last_edit_by.
Referenced by doCreate(), doUpdate(), getStandardField(), and getStandardFieldHTML().
Here is the caller graph for this function:| ilDataCollectionRecord::getLastUpdate | ( | ) |
Get Last Update Date.
Definition at line 250 of file class.ilDataCollectionRecord.php.
References $last_update.
Referenced by doCreate(), doUpdate(), and getStandardFieldHTML().
Here is the caller graph for this function:| ilDataCollectionRecord::getOwner | ( | ) |
Get Owner.
Definition at line 270 of file class.ilDataCollectionRecord.php.
References $owner.
Referenced by doCreate(), ilDataCollectionTable\doesRecordBelongToUser(), doUpdate(), getStandardField(), and getStandardFieldHTML().
Here is the caller graph for this function:| ilDataCollectionRecord::getRecordField | ( | $field_id | ) |
| $field_id |
Definition at line 616 of file class.ilDataCollectionRecord.php.
References loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::getRecordFieldExportValue | ( | $field_id | ) |
Get Field Export Value.
| int | $field_id |
Definition at line 378 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::getRecordFieldHTML | ( | $field_id, | |
| array | $options = array() |
||
| ) |
| $field_id | ||
| array | $options |
Definition at line 409 of file class.ilDataCollectionRecord.php.
References $html, $options, ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::getRecordFields | ( | ) |
Definition at line 750 of file class.ilDataCollectionRecord.php.
References $recordfields, and loadRecordFields().
Referenced by doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::getRecordFieldSortingValue | ( | $field_id, | |
| array | $options = array() |
||
| ) |
| $field_id | ||
| array | $options |
Definition at line 436 of file class.ilDataCollectionRecord.php.
References $html, $options, ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::getRecordFieldValue | ( | $field_id | ) |
Get Field Value.
| int | $field_id |
Definition at line 358 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardField(), and loadRecordFields().
Referenced by ilDataCollectionDatatype\passThroughFilter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::getRecordFieldValueFromExcel | ( | $excel, | |
| $row, | |||
| $col, | |||
| $field | |||
| ) |
| $excel | |
| $row | |
| $col | |
| $field | ilDataCollectionField |
Definition at line 330 of file class.ilDataCollectionRecord.php.
References $row, and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::getRecordFieldValues | ( | ) |
Definition at line 340 of file class.ilDataCollectionRecord.php.
References $id, and loadRecordFields().
Here is the call graph for this function:
|
protected |
| $field_id |
Definition at line 536 of file class.ilDataCollectionRecord.php.
References ilObjUser\_lookupName(), getLastEditBy(), and getOwner().
Referenced by fillStandardFieldFormInput(), and getRecordFieldValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| string | $field_id | |
| array | $options |
Definition at line 558 of file class.ilDataCollectionRecord.php.
References $_GET, ilCommonActionDispatcherGUI\buildAjaxHash(), ilDatePresentation\formatDate(), getComments(), getCreateDate(), getId(), ilUtil\getImagePath(), getLastEditBy(), getLastUpdate(), ilNoteGUI\getListCommentsJSCall(), ilUserUtil\getNamePresentation(), getOwner(), and IL_CAL_DATETIME.
Referenced by fillRecordFieldExcelExport(), getRecordFieldExportValue(), getRecordFieldHTML(), and getRecordFieldSortingValue().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::getTable | ( | ) |
Definition at line 760 of file class.ilDataCollectionRecord.php.
References $table, and loadTable().
Referenced by hasPermissionToDelete(), hasPermissionToEdit(), hasPermissionToView(), and ilDataCollectionRecordListGUI\recordBelongsToCollection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::getTableId | ( | ) |
Get Table ID.
Definition at line 210 of file class.ilDataCollectionRecord.php.
References $table_id.
Referenced by doCreate(), doDelete(), doUpdate(), and loadTable().
Here is the caller graph for this function:| ilDataCollectionRecord::hasPermissionToDelete | ( | $ref_id | ) |
| int | $ref_id |
Definition at line 732 of file class.ilDataCollectionRecord.php.
References $ref_id, and getTable().
Here is the call graph for this function:| ilDataCollectionRecord::hasPermissionToEdit | ( | $ref_id | ) |
| int | $ref_id |
Definition at line 722 of file class.ilDataCollectionRecord.php.
References $ref_id, and getTable().
Here is the call graph for this function:| ilDataCollectionRecord::hasPermissionToView | ( | $ref_id | ) |
| $ref_id |
Definition at line 742 of file class.ilDataCollectionRecord.php.
References $ref_id, and getTable().
Here is the call graph for this function:
|
private |
Load record fields.
Definition at line 586 of file class.ilDataCollectionRecord.php.
References $recordfields, ilDataCollectionCache\getRecordFieldCache(), and loadTable().
Referenced by deleteField(), doDelete(), fillRecordFieldExcelExport(), fillRecordFieldFormInput(), getRecordField(), getRecordFieldExportValue(), getRecordFieldHTML(), getRecordFields(), getRecordFieldSortingValue(), getRecordFieldValue(), getRecordFieldValueFromExcel(), getRecordFieldValues(), setRecordFieldValue(), and setRecordFieldValueFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Load table.
Definition at line 604 of file class.ilDataCollectionRecord.php.
References ilDataCollectionCache\getTableCache(), and getTableId().
Referenced by getTable(), loadRecordFields(), passThroughFilter(), setRecordFieldValue(), and setRecordFieldValueFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::passThroughFilter | ( | array | $filter | ) |
| array | $filter |
Definition at line 701 of file class.ilDataCollectionRecord.php.
References loadTable(), and ilDataCollectionDatatype\passThroughFilter().
Here is the call graph for this function:| ilDataCollectionRecord::setCreateDate | ( | $a_datetime | ) |
Set Creation Date.
| ilDateTime | $a_datetime |
Definition at line 220 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
Here is the caller graph for this function:| ilDataCollectionRecord::setId | ( | $a_id | ) |
Set field id.
| int | $a_id |
Definition at line 180 of file class.ilDataCollectionRecord.php.
Referenced by doCreate().
Here is the caller graph for this function:| ilDataCollectionRecord::setLastEditBy | ( | $last_edit_by | ) |
Definition at line 286 of file class.ilDataCollectionRecord.php.
References $last_edit_by.
Referenced by doRead(), and setStandardField().
Here is the caller graph for this function:| ilDataCollectionRecord::setLastUpdate | ( | $a_datetime | ) |
Set Last Update Date.
| ilDateTime | $a_datetime |
Definition at line 240 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
Here is the caller graph for this function:| ilDataCollectionRecord::setOwner | ( | $a_id | ) |
Set Owner.
| int | $a_id |
Definition at line 260 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
Here is the caller graph for this function:| ilDataCollectionRecord::setRecordFieldValue | ( | $field_id, | |
| $value | |||
| ) |
Set a field value.
| int | $field_id | |
| string | $value |
Definition at line 297 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), loadRecordFields(), loadTable(), and setStandardField().
Here is the call graph for this function:| ilDataCollectionRecord::setRecordFieldValueFromForm | ( | $field_id, | |
| & | $form | ||
| ) |
Set a field value.
| int | $field_id | |
| string | $value |
Definition at line 313 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), loadRecordFields(), loadTable(), and setStandardFieldFromForm().
Here is the call graph for this function:
|
protected |
| $field_id | |
| $value |
Definition at line 510 of file class.ilDataCollectionRecord.php.
References setLastEditBy().
Referenced by setRecordFieldValue(), and setStandardFieldFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $field_id | ||
| ilPropertyFormGUI | $form |
Definition at line 500 of file class.ilDataCollectionRecord.php.
References setStandardField().
Referenced by setRecordFieldValueFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::setTableId | ( | $a_id | ) |
Set Table ID.
| int | $a_id |
Definition at line 200 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
Here is the caller graph for this function:
|
protected |
Definition at line 65 of file class.ilDataCollectionRecord.php.
Referenced by getComments().
|
protected |
Definition at line 61 of file class.ilDataCollectionRecord.php.
Referenced by getCreateDate().
|
protected |
Definition at line 35 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), getId(), and getRecordFieldValues().
|
protected |
Definition at line 49 of file class.ilDataCollectionRecord.php.
Referenced by getLastEditBy(), and setLastEditBy().
|
protected |
Definition at line 57 of file class.ilDataCollectionRecord.php.
Referenced by getLastUpdate().
|
protected |
Definition at line 53 of file class.ilDataCollectionRecord.php.
Referenced by getOwner().
|
protected |
Definition at line 31 of file class.ilDataCollectionRecord.php.
Referenced by getRecordFields(), and loadRecordFields().
|
protected |
Definition at line 43 of file class.ilDataCollectionRecord.php.
Referenced by getTable().
|
protected |
Definition at line 39 of file class.ilDataCollectionRecord.php.
Referenced by getTableId().