| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class ilDataCollectionRecord. More...
 Collaboration diagram for ilDataCollectionRecord:
 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:
 Here is the call graph for this function:| ilDataCollectionRecord::deleteField | ( | $field_id | ) | 
Definition at line 134 of file class.ilDataCollectionRecord.php.
References doDelete(), and loadRecordFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilDataCollectionRecord::deleteFile | ( | $obj_id | ) | 
Definition at line 554 of file class.ilDataCollectionRecord.php.
References $file, and ilObject2\_exists().
Referenced by doDelete().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::deleteMob | ( | $obj_id | ) | 
Definition at line 566 of file class.ilDataCollectionRecord.php.
References ilObject2\_exists().
Referenced by doDelete().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 call graph for this function: Here is the caller 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:
 Here is the call graph for this function:| ilDataCollectionRecord::getCreateDate | ( | ) | 
Get Creation Date.
Definition at line 197 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), and getStandardFieldHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getId | ( | ) | 
Get field id.
Definition at line 157 of file class.ilDataCollectionRecord.php.
References $id.
Referenced by doCreate(), doDelete(), and doRead().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getLastEditBy | ( | ) | 
Definition at line 245 of file class.ilDataCollectionRecord.php.
References $last_edit_by.
Referenced by doCreate(), doUpdate(), getStandardField(), and getStandardFieldHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getLastUpdate | ( | ) | 
Get Last Update Date.
Definition at line 217 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), doUpdate(), and getStandardFieldHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getOwner | ( | ) | 
Get Owner.
Definition at line 237 of file class.ilDataCollectionRecord.php.
Referenced by doCreate(), doUpdate(), getStandardField(), and getStandardFieldHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getRecordField | ( | $field_id | ) | 
Definition at line 515 of file class.ilDataCollectionRecord.php.
References loadRecordFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilDataCollectionRecord::getRecordFieldFormInput | ( | $field_id | ) | 
Definition at line 399 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), getStandardField(), and loadRecordFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilDataCollectionRecord::getRecordFieldHTML | ( | $field_id, | |
| array | $options = array() | ||
| ) | 
Definition at line 347 of file class.ilDataCollectionRecord.php.
References $options, ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilDataCollectionRecord::getRecordFields | ( | ) | 
Definition at line 610 of file class.ilDataCollectionRecord.php.
References $recordfields, and loadRecordFields().
Referenced by doUpdate().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getRecordFieldSingleHTML | ( | $field_id, | |
| array | $options = array() | ||
| ) | 
Definition at line 377 of file class.ilDataCollectionRecord.php.
References $options, ilDataCollectionStandardField\_isStandardField(), getStandardFieldHTML(), and loadRecordFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getRecordFieldValues | ( | ) | 
getRecordFieldValues
Definition at line 285 of file class.ilDataCollectionRecord.php.
References $id, and loadRecordFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 438 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getTable | ( | ) | 
Definition at line 620 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::getTableId | ( | ) | 
Get Table ID.
Definition at line 177 of file class.ilDataCollectionRecord.php.
References $table_id.
Referenced by doCreate(), doDelete(), doUpdate(), and loadTable().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::hasPermissionToDelete | ( | $ref | ) | 
Definition at line 602 of file class.ilDataCollectionRecord.php.
References getTable().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilDataCollectionRecord::hasPermissionToEdit | ( | $ref | ) | 
Definition at line 594 of file class.ilDataCollectionRecord.php.
References getTable().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 502 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::passThroughFilter | ( | array | $filter | ) | 
Definition at line 577 of file class.ilDataCollectionRecord.php.
References loadTable(), and ilDataCollectionDatatype\passThroughFilter().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilDataCollectionRecord::setCreateDate | ( | $a_datetime | ) | 
Set Creation Date.
| ilDateTime | $a_datetime | 
Definition at line 187 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::setId | ( | $a_id | ) | 
Set field id.
| int | $a_id | 
Definition at line 147 of file class.ilDataCollectionRecord.php.
Referenced by doCreate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::setLastEditBy | ( | $last_edit_by | ) | 
Definition at line 253 of file class.ilDataCollectionRecord.php.
References $last_edit_by.
Referenced by doRead(), and setStandardField().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::setLastUpdate | ( | $a_datetime | ) | 
Set Last Update Date.
| ilDateTime | $a_datetime | 
Definition at line 207 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDataCollectionRecord::setOwner | ( | $a_id | ) | 
Set Owner.
| int | $a_id | 
Definition at line 227 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
 Here is the caller graph for this function:
 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 265 of file class.ilDataCollectionRecord.php.
References ilDataCollectionStandardField\_isStandardField(), loadRecordFields(), loadTable(), and setStandardField().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 420 of file class.ilDataCollectionRecord.php.
References setLastEditBy().
Referenced by setRecordFieldValue().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 167 of file class.ilDataCollectionRecord.php.
Referenced by doRead().
 Here is the caller graph for this function:
 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().