ILIAS
Release_4_4_x_branch Revision 61816
|
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 134 of file class.ilDataCollectionRecord.php.
References doDelete(), and loadRecordFields().
ilDataCollectionRecord::deleteFile | ( | $obj_id | ) |
Definition at line 554 of file class.ilDataCollectionRecord.php.
References $file, and ilObject2\_exists().
Referenced by doDelete().
ilDataCollectionRecord::deleteMob | ( | $obj_id | ) |
Definition at line 566 of file class.ilDataCollectionRecord.php.
References ilObject2\_exists().
Referenced by doDelete().
ilDataCollectionRecord::doCreate | ( | ) |
Create new record.
array | $all_fields |
Definition at line 101 of file class.ilDataCollectionRecord.php.
References $id, $query, ilDataCollectionTable\_tableExists(), getCreateDate(), getId(), getLastEditBy(), getLastUpdate(), getOwner(), getTableId(), and setId().
ilDataCollectionRecord::doDelete | ( | ) |
Definition at line 525 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 197 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), and getStandardFieldHTML().
ilDataCollectionRecord::getId | ( | ) |
Get field id.
Definition at line 157 of file class.ilDataCollectionRecord.php.
References $id.
Referenced by doCreate(), doDelete(), and doRead().
ilDataCollectionRecord::getLastEditBy | ( | ) |
Definition at line 245 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 217 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), doUpdate(), and getStandardFieldHTML().
ilDataCollectionRecord::getOwner | ( | ) |
Get Owner.
Definition at line 237 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), doUpdate(), getStandardField(), and getStandardFieldHTML().
ilDataCollectionRecord::getRecordField | ( | $field_id | ) |
Definition at line 515 of file class.ilDataCollectionRecord.php.
References loadRecordFields().
ilDataCollectionRecord::getRecordFieldExportValue | ( | $field_id | ) |
Get Field Export Value.
int | $field_id |
Definition at line 324 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
ilDataCollectionRecord::getRecordFieldFormInput | ( | $field_id | ) |
Definition at line 399 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardField(), and loadRecordFields().
ilDataCollectionRecord::getRecordFieldHTML | ( | $field_id, | |
array | $options = array() |
||
) |
Definition at line 347 of file class.ilDataCollectionRecord.php.
References $options, ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
ilDataCollectionRecord::getRecordFields | ( | ) |
Definition at line 610 of file class.ilDataCollectionRecord.php.
References $recordfields, and loadRecordFields().
Referenced by doUpdate().
ilDataCollectionRecord::getRecordFieldSingleHTML | ( | $field_id, | |
array | $options = array() |
||
) |
Definition at line 377 of file class.ilDataCollectionRecord.php.
References $options, ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
ilDataCollectionRecord::getRecordFieldValue | ( | $field_id | ) |
Get Field Value.
int | $field_id |
Definition at line 303 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardField(), and loadRecordFields().
Referenced by ilDataCollectionDatatype\passThroughFilter().
ilDataCollectionRecord::getRecordFieldValues | ( | ) |
getRecordFieldValues
Definition at line 285 of file class.ilDataCollectionRecord.php.
References $id, and loadRecordFields().
|
private |
Definition at line 438 of file class.ilDataCollectionRecord.php.
References ilObjUser\_lookupName(), getLastEditBy(), and getOwner().
Referenced by getRecordFieldFormInput(), and getRecordFieldValue().
|
private |
Definition at line 460 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 620 of file class.ilDataCollectionRecord.php.
References $table, and loadTable().
Referenced by hasPermissionToDelete(), hasPermissionToEdit(), and ilDataCollectionRecordListGUI\recordBelongsToCollection().
ilDataCollectionRecord::getTableId | ( | ) |
Get Table ID.
Definition at line 177 of file class.ilDataCollectionRecord.php.
References $table_id.
Referenced by doCreate(), doDelete(), doUpdate(), and loadTable().
ilDataCollectionRecord::hasPermissionToDelete | ( | $ref | ) |
Definition at line 602 of file class.ilDataCollectionRecord.php.
References getTable().
ilDataCollectionRecord::hasPermissionToEdit | ( | $ref | ) |
Definition at line 594 of file class.ilDataCollectionRecord.php.
References getTable().
|
private |
Definition at line 481 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 502 of file class.ilDataCollectionRecord.php.
References ilDataCollectionCache\getTableCache(), and getTableId().
Referenced by getTable(), loadRecordFields(), passThroughFilter(), and setRecordFieldValue().
ilDataCollectionRecord::passThroughFilter | ( | array | $filter | ) |
Definition at line 577 of file class.ilDataCollectionRecord.php.
References loadTable(), and ilDataCollectionDatatype\passThroughFilter().
ilDataCollectionRecord::setCreateDate | ( | $a_datetime | ) |
Set Creation Date.
ilDateTime | $a_datetime |
Definition at line 187 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
ilDataCollectionRecord::setId | ( | $a_id | ) |
Set field id.
int | $a_id |
Definition at line 147 of file class.ilDataCollectionRecord.php.
Referenced by doCreate().
ilDataCollectionRecord::setLastEditBy | ( | $last_edit_by | ) |
Definition at line 253 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 207 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
ilDataCollectionRecord::setOwner | ( | $a_id | ) |
Set Owner.
int | $a_id |
Definition at line 227 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 265 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), loadRecordFields(), loadTable(), and setStandardField().
|
private |
Definition at line 420 of file class.ilDataCollectionRecord.php.
References setLastEditBy().
Referenced by setRecordFieldValue().
ilDataCollectionRecord::setTableId | ( | $a_id | ) |
Set Table ID.
int | $a_id |
Definition at line 167 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().