ILIAS
release_4-3 Revision
|
Class ilDataCollectionRecord. More...
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().
ilDataCollectionRecord::deleteField | ( | $field_id | ) |
Definition at line 135 of file class.ilDataCollectionRecord.php.
References doDelete(), and loadRecordFields().
ilDataCollectionRecord::deleteFile | ( | $obj_id | ) |
Definition at line 550 of file class.ilDataCollectionRecord.php.
References $file, and ilObject2\_lookupObjId().
Referenced by doDelete().
ilDataCollectionRecord::deleteMob | ( | $obj_id | ) |
Definition at line 562 of file class.ilDataCollectionRecord.php.
References ilObject2\_lookupObjId().
Referenced by doDelete().
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().
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().
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().
ilDataCollectionRecord::doUpdate | ( | ) |
doUpdate
Definition at line 54 of file class.ilDataCollectionRecord.php.
References getLastEditBy(), getLastUpdate(), getOwner(), getRecordFields(), getTableId(), and ilObjDataCollection\sendNotification().
ilDataCollectionRecord::getCreateDate | ( | ) |
Get Creation Date.
Definition at line 198 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), and getStandardFieldHTML().
ilDataCollectionRecord::getId | ( | ) |
Get field id.
Definition at line 158 of file class.ilDataCollectionRecord.php.
References $id.
Referenced by doCreate(), doDelete(), and doRead().
ilDataCollectionRecord::getLastEditBy | ( | ) |
Definition at line 246 of file class.ilDataCollectionRecord.php.
References $last_edit_by.
Referenced by doCreate(), doUpdate(), getStandardField(), and getStandardFieldHTML().
ilDataCollectionRecord::getLastUpdate | ( | ) |
Get Last Update Date.
Definition at line 218 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), doUpdate(), and getStandardFieldHTML().
ilDataCollectionRecord::getOwner | ( | ) |
Get Owner.
Definition at line 238 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), doUpdate(), getStandardField(), and getStandardFieldHTML().
ilDataCollectionRecord::getRecordField | ( | $field_id | ) |
Definition at line 511 of file class.ilDataCollectionRecord.php.
References loadRecordFields().
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().
ilDataCollectionRecord::getRecordFieldFormInput | ( | $field_id | ) |
Definition at line 395 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardField(), and loadRecordFields().
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().
ilDataCollectionRecord::getRecordFields | ( | ) |
Definition at line 607 of file class.ilDataCollectionRecord.php.
References $recordfields, and loadRecordFields().
Referenced by doUpdate().
ilDataCollectionRecord::getRecordFieldSingleHTML | ( | $field_id, | |
array | $options = array() |
||
) |
Definition at line 373 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
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().
ilDataCollectionRecord::getRecordFieldValues | ( | ) |
getRecordFieldValues
Definition at line 286 of file class.ilDataCollectionRecord.php.
References $id, and loadRecordFields().
|
private |
Definition at line 434 of file class.ilDataCollectionRecord.php.
References ilObjUser\_lookupName(), getLastEditBy(), and getOwner().
Referenced by getRecordFieldFormInput(), and getRecordFieldValue().
|
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().
ilDataCollectionRecord::getTable | ( | ) |
Definition at line 617 of file class.ilDataCollectionRecord.php.
References $table, and loadTable().
Referenced by hasPermissionToDelete(), hasPermissionToEdit(), and ilDataCollectionRecordListGUI\recordBelongsToCollection().
ilDataCollectionRecord::getTableId | ( | ) |
Get Table ID.
Definition at line 178 of file class.ilDataCollectionRecord.php.
References $table_id.
Referenced by doCreate(), doDelete(), doUpdate(), and loadTable().
ilDataCollectionRecord::hasPermissionToDelete | ( | $ref | ) |
Definition at line 599 of file class.ilDataCollectionRecord.php.
References getTable().
ilDataCollectionRecord::hasPermissionToEdit | ( | $ref | ) |
Definition at line 591 of file class.ilDataCollectionRecord.php.
References getTable().
|
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().
|
private |
Definition at line 498 of file class.ilDataCollectionRecord.php.
References ilDataCollectionCache\getTableCache(), and getTableId().
Referenced by getTable(), loadRecordFields(), passThroughFilter(), and setRecordFieldValue().
ilDataCollectionRecord::passThroughFilter | ( | array | $filter | ) |
Definition at line 573 of file class.ilDataCollectionRecord.php.
References $pass, loadTable(), and ilDataCollectionDatatype\passThroughFilter().
ilDataCollectionRecord::setCreateDate | ( | $a_datetime | ) |
Set Creation Date.
ilDateTime | $a_datetime |
Definition at line 188 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
ilDataCollectionRecord::setId | ( | $a_id | ) |
Set field id.
int | $a_id |
Definition at line 148 of file class.ilDataCollectionRecord.php.
Referenced by doCreate().
ilDataCollectionRecord::setLastEditBy | ( | $last_edit_by | ) |
Definition at line 254 of file class.ilDataCollectionRecord.php.
References $last_edit_by.
Referenced by doRead(), and setStandardField().
ilDataCollectionRecord::setLastUpdate | ( | $a_datetime | ) |
Set Last Update Date.
ilDateTime | $a_datetime |
Definition at line 208 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
ilDataCollectionRecord::setOwner | ( | $a_id | ) |
Set Owner.
int | $a_id |
Definition at line 228 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
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().
|
private |
Definition at line 416 of file class.ilDataCollectionRecord.php.
References setLastEditBy().
Referenced by setRecordFieldValue().
ilDataCollectionRecord::setTableId | ( | $a_id | ) |
Set Table ID.
int | $a_id |
Definition at line 168 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
|
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().