|
ILIAS
Release_4_3_x_branch Revision 61807
|
Class ilDataCollectionRecord. More...
Collaboration diagram for ilDataCollectionRecord:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor public. | |
| doUpdate () | |
| doUpdate | |
| doRead () | |
| Read record. | |
| doCreate () | |
| Create new record. | |
| deleteField ($field_id) | |
| setId ($a_id) | |
| Set field id. | |
| getId () | |
| Get field id. | |
| setTableId ($a_id) | |
| Set Table ID. | |
| getTableId () | |
| Get Table ID. | |
| setCreateDate ($a_datetime) | |
| Set Creation Date. | |
| getCreateDate () | |
| Get Creation Date. | |
| setLastUpdate ($a_datetime) | |
| Set Last Update Date. | |
| getLastUpdate () | |
| Get Last Update Date. | |
| setOwner ($a_id) | |
| Set Owner. | |
| getOwner () | |
| Get Owner. | |
| getLastEditBy () | |
| setLastEditBy ($last_edit_by) | |
| setRecordFieldValue ($field_id, $value) | |
| Set Field Value. | |
| getRecordFieldValues () | |
| getRecordFieldValues | |
| getRecordFieldValue ($field_id) | |
| Get Field Value. | |
| getRecordFieldExportValue ($field_id) | |
| Get Field Export Value. | |
| getRecordFieldHTML ($field_id, array $options=array()) | |
| getRecordFieldSingleHTML ($field_id, array $options=array()) | |
| getRecordFieldFormInput ($field_id) | |
| getRecordField ($field_id) | |
| doDelete () | |
| deleteFile ($obj_id) | |
| deleteMob ($obj_id) | |
| passThroughFilter (array $filter) | |
| hasPermissionToEdit ($ref) | |
| hasPermissionToDelete ($ref) | |
| getRecordFields () | |
| getTable () | |
Private Member Functions | |
| setStandardField ($field_id, $value) | |
| getStandardField ($field_id) | |
| getStandardFieldHTML ($field_id) | |
| loadRecordFields () | |
| loadTable () | |
Private Attributes | |
| $recordfields | |
| $id | |
| $table_id | |
| $table | |
| $last_edit_by | |
Class ilDataCollectionRecord.
Definition at line 20 of file class.ilDataCollectionRecord.php.
| ilDataCollectionRecord::__construct | ( | $a_id = 0 | ) |
Constructor public.
| integer | fiel_id |
Definition at line 41 of file class.ilDataCollectionRecord.php.
References doRead().
Here is the call graph for this function:| ilDataCollectionRecord::deleteField | ( | $field_id | ) |
Definition at line 135 of file class.ilDataCollectionRecord.php.
References doDelete(), and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::deleteFile | ( | $obj_id | ) |
Definition at line 550 of file class.ilDataCollectionRecord.php.
References $file, and ilObject2\_lookupObjId().
Referenced by doDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::deleteMob | ( | $obj_id | ) |
Definition at line 562 of file class.ilDataCollectionRecord.php.
References ilObject2\_lookupObjId().
Referenced by doDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::doCreate | ( | ) |
Create new record.
| array | $all_fields |
Definition at line 102 of file class.ilDataCollectionRecord.php.
References $id, $query, ilDataCollectionTable\_tableExists(), getCreateDate(), getId(), getLastEditBy(), getLastUpdate(), getOwner(), getTableId(), and setId().
Here is the call graph for this function:| ilDataCollectionRecord::doDelete | ( | ) |
Definition at line 521 of file class.ilDataCollectionRecord.php.
References $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 79 of file class.ilDataCollectionRecord.php.
References $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 54 of file class.ilDataCollectionRecord.php.
References getLastEditBy(), getLastUpdate(), getOwner(), getRecordFields(), getTableId(), and ilObjDataCollection\sendNotification().
Here is the call graph for this function:| ilDataCollectionRecord::getCreateDate | ( | ) |
Get Creation Date.
Definition at line 198 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), and getStandardFieldHTML().
Here is the caller graph for this function:| ilDataCollectionRecord::getId | ( | ) |
Get field id.
Definition at line 158 of file class.ilDataCollectionRecord.php.
References $id.
Referenced by doCreate(), doDelete(), and doRead().
Here is the caller graph for this function:| ilDataCollectionRecord::getLastEditBy | ( | ) |
Definition at line 246 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 218 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), doUpdate(), and getStandardFieldHTML().
Here is the caller graph for this function:| ilDataCollectionRecord::getOwner | ( | ) |
Get Owner.
Definition at line 238 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), doUpdate(), getStandardField(), and getStandardFieldHTML().
Here is the caller graph for this function:| ilDataCollectionRecord::getRecordField | ( | $field_id | ) |
Definition at line 511 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 325 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::getRecordFieldFormInput | ( | $field_id | ) |
Definition at line 395 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardField(), and loadRecordFields().
Here is the call graph for this function:| ilDataCollectionRecord::getRecordFieldHTML | ( | $field_id, | |
| array | $options = array() |
||
| ) |
Definition at line 348 of file class.ilDataCollectionRecord.php.
References $lng, ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), loadRecordFields(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilDataCollectionRecord::getRecordFields | ( | ) |
Definition at line 607 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::getRecordFieldSingleHTML | ( | $field_id, | |
| array | $options = array() |
||
| ) |
Definition at line 373 of file class.ilDataCollectionRecord.php.
References 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 304 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::getRecordFieldValues | ( | ) |
getRecordFieldValues
Definition at line 286 of file class.ilDataCollectionRecord.php.
References $id, and loadRecordFields().
Here is the call graph for this function:
|
private |
Definition at line 434 of file class.ilDataCollectionRecord.php.
References ilObjUser\_lookupName(), getLastEditBy(), and getOwner().
Referenced by getRecordFieldFormInput(), and getRecordFieldValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 456 of file class.ilDataCollectionRecord.php.
References ilDatePresentation\formatDate(), getCreateDate(), getLastEditBy(), getLastUpdate(), ilUserUtil\getNamePresentation(), getOwner(), and IL_CAL_DATETIME.
Referenced by getRecordFieldExportValue(), getRecordFieldHTML(), and getRecordFieldSingleHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::getTable | ( | ) |
Definition at line 617 of file class.ilDataCollectionRecord.php.
References $table, and loadTable().
Referenced by hasPermissionToDelete(), hasPermissionToEdit(), 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 178 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 | ) |
Definition at line 599 of file class.ilDataCollectionRecord.php.
References getTable().
Here is the call graph for this function:| ilDataCollectionRecord::hasPermissionToEdit | ( | $ref | ) |
Definition at line 591 of file class.ilDataCollectionRecord.php.
References getTable().
Here is the call graph for this function:
|
private |
Definition at line 477 of file class.ilDataCollectionRecord.php.
References $recordfields, ilDataCollectionCache\getRecordFieldCache(), and loadTable().
Referenced by deleteField(), doDelete(), getRecordField(), getRecordFieldExportValue(), getRecordFieldFormInput(), getRecordFieldHTML(), getRecordFields(), getRecordFieldSingleHTML(), getRecordFieldValue(), getRecordFieldValues(), and setRecordFieldValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 498 of file class.ilDataCollectionRecord.php.
References ilDataCollectionCache\getTableCache(), and getTableId().
Referenced by getTable(), loadRecordFields(), passThroughFilter(), and setRecordFieldValue().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecord::passThroughFilter | ( | array | $filter | ) |
Definition at line 573 of file class.ilDataCollectionRecord.php.
References $pass, 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 188 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 148 of file class.ilDataCollectionRecord.php.
Referenced by doCreate().
Here is the caller graph for this function:| ilDataCollectionRecord::setLastEditBy | ( | $last_edit_by | ) |
Definition at line 254 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 208 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 228 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
Here is the caller graph for this function:| ilDataCollectionRecord::setRecordFieldValue | ( | $field_id, | |
| $value | |||
| ) |
Set Field Value.
| string | $a_value | |
| int | $a_id |
Definition at line 266 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), loadRecordFields(), loadTable(), and setStandardField().
Here is the call graph for this function:
|
private |
Definition at line 416 of file class.ilDataCollectionRecord.php.
References setLastEditBy().
Referenced by setRecordFieldValue().
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 168 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
Here is the caller graph for this function:
|
private |
Definition at line 26 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), getId(), and getRecordFieldValues().
|
private |
Definition at line 33 of file class.ilDataCollectionRecord.php.
Referenced by getLastEditBy(), and setLastEditBy().
|
private |
Definition at line 25 of file class.ilDataCollectionRecord.php.
Referenced by getRecordFields(), and loadRecordFields().
|
private |
Definition at line 32 of file class.ilDataCollectionRecord.php.
Referenced by getTable().
|
private |
Definition at line 27 of file class.ilDataCollectionRecord.php.
Referenced by getTableId().