ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilDataCollectionField. More...
Public Member Functions | |
__construct ($a_id=0) | |
doRead () | |
Read table. | |
doCreate ($create_views=true) | |
doUpdate () | |
setId ($a_id) | |
Set table id. | |
getId () | |
Get table id. | |
setObjId ($a_id) | |
getObjId () | |
setTitle ($a_title) | |
getTitle () | |
getCollectionObject () | |
getRecords () | |
getRecordsByFilter (array $filter=array()) | |
getRecordsByFilter | |
getAll ($a_id) | |
deleteField ($field_id) | |
getField ($field_id) | |
getFieldIds () | |
getNewOrder () | |
getNewOrder | |
getFields () | |
Returns all fields of this table including the standard fields. | |
getRecordFields () | |
Returns all fields of this table which are NOT standard fields. | |
getVisibleFields () | |
Returns all fields of this table who have set their visibility to true, including standard fields. | |
getEditableFields () | |
getFilterableFields () | |
getFilterableFields Returns all fields of this table who have set their filterable to true, including standard fields. | |
getExportableFields () | |
Return all the fields that are marked as exportable. | |
hasPermissionToFields ($ref_id) | |
hasPermissionToAddTable ($ref_id) | |
hasPermissionToAddRecord ($ref_id) | |
hasPermissionToEditRecord ($ref_id, ilDataCollectionRecord $record) | |
hasPermissionToDeleteRecord ($ref_id, ilDataCollectionRecord $record) | |
hasPermissionToDeleteRecords ($ref_id) | |
updateFields () | |
Update fields. | |
sortFields (&$fields) | |
sortFields | |
buildOrderFields () | |
buildOrderFields orders the fields. | |
getFieldByTitle ($title) | |
Get a field by title. | |
setAddPerm ($add_perm) | |
getAddPerm () | |
setDeletePerm ($delete_perm) | |
getDeletePerm () | |
setEditByOwner ($edit_by_owner) | |
getEditByOwner () | |
setEditPerm ($edit_perm) | |
getEditPerm () | |
setLimited ($limited) | |
getLimited () | |
setLimitEnd ($limit_end) | |
getLimitEnd () | |
setLimitStart ($limit_start) | |
getLimitStart () | |
setIsVisible ($is_visible) | |
getIsVisible () | |
setDescription ($description) | |
getDescription () | |
setDefaultSortField ($default_sort_field) | |
/** | |
getDefaultSortField () | |
setDefaultSortFieldOrder ($default_sort_field_order) | |
getDefaultSortFieldOrder () | |
setPublicCommentsEnabled ($public_comments) | |
getPublicCommentsEnabled () | |
setViewOwnRecordsPerm ($view_own_perm) | |
getViewOwnRecordsPerm () | |
hasCustomFields () | |
hasCustomFields | |
compareOrder ($a, $b) | |
cloneStructure (ilDataCollectionTable $original) | |
_hasRecords () | |
_hasRecords | |
addField ($field) | |
setExportEnabled ($export_enabled) | |
getExportEnabled () | |
getPartialRecords ($sort, $direction, $limit, $offset, array $filter=array()) | |
Return only the needed subset of record objects for the table, according to sorting, paging and filters. |
Static Public Member Functions | |
static | _tableExists ($table_id) |
static | _getTableIdByTitle ($title, $obj_id) |
static | _hasFieldByTitle ($title, $obj_id) |
Checks if a table has a field with the given title. |
Protected Member Functions | |
loadObj () | |
loadRecords () | |
loadFields () | |
checkEditByOwner (ilDataCollectionRecord $record) | |
checkLimit () | |
sortByOrder (&$array) |
Protected Attributes | |
$id = 0 | |
$objId | |
$obj | |
$title | |
$fields | |
$stdFields | |
$records | |
$is_visible | |
$add_perm | |
$edit_perm | |
$delete_perm | |
$edit_by_owner | |
$limited | |
$limit_start | |
$limit_end | |
$export_enabled | |
$default_sort_field = 0 | |
$default_sort_field_order = 'asc' | |
$description = '' | |
$public_comments = 0 | |
$view_own_records_perm = 0 |
Class ilDataCollectionField.
Definition at line 20 of file class.ilDataCollectionTable.php.
ilDataCollectionTable::__construct | ( | $a_id = 0 | ) |
int | $a_id |
Definition at line 121 of file class.ilDataCollectionTable.php.
References doRead().
|
static |
$title | Title of table |
$obj_id | DataCollection object ID where the table belongs to |
Definition at line 1255 of file class.ilDataCollectionTable.php.
References $id, $ilDB, $result, and $title.
Referenced by ilObjDataCollection\cloneStructure().
|
static |
Checks if a table has a field with the given title.
$title | Title of field |
$obj_id | Obj-ID of the table |
Definition at line 1292 of file class.ilDataCollectionTable.php.
References $ilDB, $result, and $title.
Referenced by ilDataCollectionFieldEditGUI\checkInput().
ilDataCollectionTable::_hasRecords | ( | ) |
_hasRecords
Definition at line 1222 of file class.ilDataCollectionTable.php.
References getRecords().
|
static |
$table_id | int |
Definition at line 1240 of file class.ilDataCollectionTable.php.
References $ilDB, $query, and $result.
Referenced by ilDataCollectionRecord\doCreate(), and ilDataCollectionField\doCreate().
ilDataCollectionTable::addField | ( | $field | ) |
$field | ilDataCollectionField add an already created field for eg. ordering. |
Definition at line 1230 of file class.ilDataCollectionTable.php.
References fields.
ilDataCollectionTable::buildOrderFields | ( | ) |
buildOrderFields orders the fields.
Definition at line 871 of file class.ilDataCollectionTable.php.
References $fields, getFields(), and sortByOrder().
Referenced by doCreate().
|
protected |
ilDataCollectionRecord | $record |
Definition at line 809 of file class.ilDataCollectionTable.php.
References $ilUser, and ilDataCollectionRecord\getOwner().
Referenced by hasPermissionToDeleteRecord(), and hasPermissionToEditRecord().
|
protected |
Definition at line 819 of file class.ilDataCollectionTable.php.
References getLimited(), getLimitEnd(), getLimitStart(), and IL_CAL_DATE.
Referenced by hasPermissionToAddRecord(), hasPermissionToDeleteRecord(), and hasPermissionToEditRecord().
ilDataCollectionTable::cloneStructure | ( | ilDataCollectionTable | $original | ) |
ilDataCollectionTable | $original |
Definition at line 1151 of file class.ilDataCollectionTable.php.
References $default_sort_field, cloneStructure(), doCreate(), doUpdate(), getAddPerm(), getDefaultSortField(), getDefaultSortFieldOrder(), getDeletePerm(), getDescription(), getEditByOwner(), getEditPerm(), getExportEnabled(), getFields(), getId(), ilDataCollectionRecordViewViewdefinition\getIdByTableId(), getIsVisible(), getLimited(), getLimitEnd(), getLimitStart(), getPublicCommentsEnabled(), getTitle(), getViewOwnRecordsPerm(), setAddPerm(), setDefaultSortField(), setDefaultSortFieldOrder(), setDeletePerm(), setDescription(), setEditByOwner(), setEditPerm(), setExportEnabled(), setIsVisible(), setLimited(), setLimitEnd(), setLimitStart(), setPublicCommentsEnabled(), setTitle(), and setViewOwnRecordsPerm().
Referenced by cloneStructure().
ilDataCollectionTable::compareOrder | ( | $a, | |
$b | |||
) |
Definition at line 1133 of file class.ilDataCollectionTable.php.
ilDataCollectionTable::deleteField | ( | $field_id | ) |
$field_id |
Definition at line 439 of file class.ilDataCollectionTable.php.
References $records, ilDataCollectionCache\getFieldCache(), and getRecords().
ilDataCollectionTable::doCreate | ( | $create_views = true | ) |
bool | $create_views |
Definition at line 208 of file class.ilDataCollectionTable.php.
References $id, $ilDB, $query, buildOrderFields(), ilDataCollectionField\EDIT_VIEW, ilDataCollectionField\EXPORTABLE_VIEW, ilDataCollectionField\FILTER_VIEW, getAddPerm(), getDefaultSortField(), getDefaultSortFieldOrder(), getDeletePerm(), getDescription(), getEditByOwner(), getEditPerm(), getExportEnabled(), getId(), getIsVisible(), getLimited(), getLimitEnd(), getLimitStart(), getObjId(), getPublicCommentsEnabled(), getTitle(), getViewOwnRecordsPerm(), setId(), and ilDataCollectionField\VIEW_VIEW.
Referenced by cloneStructure().
ilDataCollectionTable::doRead | ( | ) |
Read table.
Definition at line 132 of file class.ilDataCollectionTable.php.
References $ilDB, $query, getId(), setAddPerm(), setDefaultSortField(), setDefaultSortFieldOrder(), setDeletePerm(), setDescription(), setEditByOwner(), setEditPerm(), setExportEnabled(), setIsVisible(), setLimited(), setLimitEnd(), setLimitStart(), setObjId(), setPublicCommentsEnabled(), setTitle(), and setViewOwnRecordsPerm().
Referenced by __construct().
ilDataCollectionTable::doUpdate | ( | ) |
Definition at line 265 of file class.ilDataCollectionTable.php.
References $ilDB, getAddPerm(), getDefaultSortField(), getDefaultSortFieldOrder(), getDeletePerm(), getDescription(), getEditByOwner(), getEditPerm(), getExportEnabled(), getId(), getIsVisible(), getLimited(), getLimitEnd(), getLimitStart(), getObjId(), getPublicCommentsEnabled(), getTitle(), and getViewOwnRecordsPerm().
Referenced by cloneStructure().
ilDataCollectionTable::getAddPerm | ( | ) |
Definition at line 917 of file class.ilDataCollectionTable.php.
References $add_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToAddRecord().
ilDataCollectionTable::getAll | ( | $a_id | ) |
$a_id |
Definition at line 420 of file class.ilDataCollectionTable.php.
Referenced by ilDataCollectionRecordListViewdefinitionGUI\initForm().
ilDataCollectionTable::getCollectionObject | ( | ) |
Definition at line 346 of file class.ilDataCollectionTable.php.
References $obj, and loadObj().
ilDataCollectionTable::getDefaultSortField | ( | ) |
Definition at line 1065 of file class.ilDataCollectionTable.php.
References $default_sort_field.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getDefaultSortFieldOrder | ( | ) |
Definition at line 1084 of file class.ilDataCollectionTable.php.
References $default_sort_field_order.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getDeletePerm | ( | ) |
Definition at line 933 of file class.ilDataCollectionTable.php.
References $delete_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), hasPermissionToDeleteRecord(), and hasPermissionToDeleteRecords().
ilDataCollectionTable::getDescription | ( | ) |
Definition at line 1046 of file class.ilDataCollectionTable.php.
References $description.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getEditableFields | ( | ) |
Definition at line 623 of file class.ilDataCollectionTable.php.
References $fields, and getRecordFields().
ilDataCollectionTable::getEditByOwner | ( | ) |
Definition at line 950 of file class.ilDataCollectionTable.php.
References $edit_by_owner.
Referenced by cloneStructure(), doCreate(), doUpdate(), hasPermissionToDeleteRecord(), and hasPermissionToEditRecord().
ilDataCollectionTable::getEditPerm | ( | ) |
Definition at line 966 of file class.ilDataCollectionTable.php.
References $edit_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToEditRecord().
ilDataCollectionTable::getExportableFields | ( | ) |
Return all the fields that are marked as exportable.
Definition at line 662 of file class.ilDataCollectionTable.php.
References $fields, and getFields().
ilDataCollectionTable::getExportEnabled | ( | ) |
Definition at line 1279 of file class.ilDataCollectionTable.php.
References $export_enabled.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getField | ( | $field_id | ) |
$field_id |
Definition at line 456 of file class.ilDataCollectionTable.php.
References $fields, and getFields().
Referenced by getPartialRecords().
ilDataCollectionTable::getFieldByTitle | ( | $title | ) |
Get a field by title.
$title |
Definition at line 893 of file class.ilDataCollectionTable.php.
References $title, and getFields().
Referenced by getPartialRecords().
ilDataCollectionTable::getFieldIds | ( | ) |
Definition at line 472 of file class.ilDataCollectionTable.php.
References getFields().
ilDataCollectionTable::getFields | ( | ) |
Returns all fields of this table including the standard fields.
Definition at line 522 of file class.ilDataCollectionTable.php.
References $fields, fields, loadFields(), and sortByOrder().
Referenced by buildOrderFields(), cloneStructure(), getExportableFields(), getField(), getFieldByTitle(), getFieldIds(), getFilterableFields(), getNewOrder(), getVisibleFields(), and updateFields().
ilDataCollectionTable::getFilterableFields | ( | ) |
getFilterableFields Returns all fields of this table who have set their filterable to true, including standard fields.
Definition at line 643 of file class.ilDataCollectionTable.php.
References $fields, and getFields().
ilDataCollectionTable::getId | ( | ) |
Get table id.
Definition at line 306 of file class.ilDataCollectionTable.php.
References $id.
Referenced by cloneStructure(), doCreate(), doRead(), doUpdate(), getPartialRecords(), ilDataCollectionRecordViewGUI\hasTableValidViewDefinition(), and loadFields().
ilDataCollectionTable::getIsVisible | ( | ) |
Definition at line 1030 of file class.ilDataCollectionTable.php.
References $is_visible.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getLimited | ( | ) |
Definition at line 982 of file class.ilDataCollectionTable.php.
References $limited.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getLimitEnd | ( | ) |
Definition at line 998 of file class.ilDataCollectionTable.php.
References $limit_end.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getLimitStart | ( | ) |
Definition at line 1014 of file class.ilDataCollectionTable.php.
References $limit_start.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getNewOrder | ( | ) |
getNewOrder
Definition at line 504 of file class.ilDataCollectionTable.php.
References $fields, and getFields().
ilDataCollectionTable::getObjId | ( | ) |
Definition at line 322 of file class.ilDataCollectionTable.php.
References $objId.
Referenced by doCreate(), doUpdate(), and getPartialRecords().
ilDataCollectionTable::getPartialRecords | ( | $sort, | |
$direction, | |||
$limit, | |||
$offset, | |||
array | $filter = array() |
||
) |
Return only the needed subset of record objects for the table, according to sorting, paging and filters.
string | $sort | Title of a field where the ilTable2GUI is sorted |
string | $direction | 'desc' or 'asc' |
int | $limit | Limit of records |
int | $offset | Offset from records |
array | $filter | Containing the filter values |
Definition at line 1312 of file class.ilDataCollectionTable.php.
References $_SESSION, $id, $ilDB, $ilUser, $records, ilObject\_getAllReferences(), getField(), getFieldByTitle(), ilDataCollectionCache\getFieldCache(), getId(), getObjId(), ilDataCollectionCache\getRecordCache(), ilDataCollectionCache\getRecordFieldCache(), getViewOwnRecordsPerm(), ilObjDataCollectionAccess\hasWriteAccess(), ilDataCollectionDatatype\INPUTFORMAT_BOOLEAN, ilDataCollectionDatatype\INPUTFORMAT_DATETIME, ilDataCollectionDatatype\INPUTFORMAT_FILE, ilDataCollectionDatatype\INPUTFORMAT_FORMULA, ilDataCollectionDatatype\INPUTFORMAT_ILIAS_REF, ilDataCollectionDatatype\INPUTFORMAT_MOB, ilDataCollectionDatatype\INPUTFORMAT_NUMBER, ilDataCollectionDatatype\INPUTFORMAT_RATING, ilDataCollectionDatatype\INPUTFORMAT_REFERENCE, ilDataCollectionDatatype\INPUTFORMAT_TEXT, and ilDataCollectionField\PROPERTYID_N_REFERENCE.
ilDataCollectionTable::getPublicCommentsEnabled | ( | ) |
Definition at line 1100 of file class.ilDataCollectionTable.php.
References $public_comments.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getRecordFields | ( | ) |
Returns all fields of this table which are NOT standard fields.
Definition at line 593 of file class.ilDataCollectionTable.php.
References $fields, and loadFields().
Referenced by getEditableFields().
ilDataCollectionTable::getRecords | ( | ) |
Definition at line 363 of file class.ilDataCollectionTable.php.
References $records, and loadRecords().
Referenced by _hasRecords(), deleteField(), and getRecordsByFilter().
ilDataCollectionTable::getRecordsByFilter | ( | array | $filter = array() | ) |
getRecordsByFilter
$filter | filter is of the form array("filter_{field_id}" => filter); For dates and integers this filter must be of the form array("from" => from, "to" => to). In case of dates from and to have to be ilDateTime objects in case of integers they have to be integers as well. |
Definition at line 381 of file class.ilDataCollectionTable.php.
References $records, getRecords(), and loadRecords().
ilDataCollectionTable::getTitle | ( | ) |
Definition at line 338 of file class.ilDataCollectionTable.php.
References $title.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDataCollectionTable::getViewOwnRecordsPerm | ( | ) |
Definition at line 1116 of file class.ilDataCollectionTable.php.
References $view_own_records_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), and getPartialRecords().
ilDataCollectionTable::getVisibleFields | ( | ) |
Returns all fields of this table who have set their visibility to true, including standard fields.
Definition at line 605 of file class.ilDataCollectionTable.php.
References $fields, and getFields().
ilDataCollectionTable::hasCustomFields | ( | ) |
hasCustomFields
Definition at line 1126 of file class.ilDataCollectionTable.php.
References fields, and loadFields().
ilDataCollectionTable::hasPermissionToAddRecord | ( | $ref_id | ) |
int | $ref_id | *y |
Definition at line 701 of file class.ilDataCollectionTable.php.
References $ref_id, checkLimit(), getAddPerm(), ilObjDataCollectionAccess\hasAddRecordAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
ilDataCollectionTable::hasPermissionToAddTable | ( | $ref_id | ) |
int | $ref_id |
Definition at line 690 of file class.ilDataCollectionTable.php.
References $ref_id, and ilObjDataCollectionAccess\hasWriteAccess().
ilDataCollectionTable::hasPermissionToDeleteRecord | ( | $ref_id, | |
ilDataCollectionRecord | $record | ||
) |
$ref_id | int the reference id of the current datacollection object |
$record | ilDataCollectionRecord the record which will be deleted |
Definition at line 747 of file class.ilDataCollectionTable.php.
References $ref_id, checkEditByOwner(), checkLimit(), getDeletePerm(), getEditByOwner(), ilObjDataCollectionAccess\hasAddRecordAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
ilDataCollectionTable::hasPermissionToDeleteRecords | ( | $ref_id | ) |
$ref_id |
Definition at line 774 of file class.ilDataCollectionTable.php.
References $ref_id, getDeletePerm(), and ilObjDataCollectionAccess\hasWriteAccess().
ilDataCollectionTable::hasPermissionToEditRecord | ( | $ref_id, | |
ilDataCollectionRecord | $record | ||
) |
$ref_id | int the reference id of the current datacollection object |
$record | ilDataCollectionRecord the record which will be edited |
Definition at line 719 of file class.ilDataCollectionTable.php.
References $ref_id, checkEditByOwner(), checkLimit(), getEditByOwner(), getEditPerm(), ilObjDataCollectionAccess\hasAddRecordAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
ilDataCollectionTable::hasPermissionToFields | ( | $ref_id | ) |
int | $ref_id |
Definition at line 680 of file class.ilDataCollectionTable.php.
References $ref_id, and ilObjDataCollectionAccess\hasWriteAccess().
|
protected |
Definition at line 477 of file class.ilDataCollectionTable.php.
References $fields, $ilDB, $query, ilDataCollectionCache\buildFieldFromRecord(), fields, getId(), and sortByOrder().
Referenced by getFields(), getRecordFields(), and hasCustomFields().
|
protected |
Definition at line 353 of file class.ilDataCollectionTable.php.
Referenced by getCollectionObject().
|
protected |
Definition at line 398 of file class.ilDataCollectionTable.php.
References $ilDB, $query, $records, and ilDataCollectionCache\getRecordCache().
Referenced by getRecords(), and getRecordsByFilter().
ilDataCollectionTable::setAddPerm | ( | $add_perm | ) |
boolean | $add_perm |
Definition at line 909 of file class.ilDataCollectionTable.php.
References $add_perm.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setDefaultSortField | ( | $default_sort_field | ) |
/**
string | $default_sort_field |
Definition at line 1056 of file class.ilDataCollectionTable.php.
References $default_sort_field.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setDefaultSortFieldOrder | ( | $default_sort_field_order | ) |
string | $default_sort_field_order |
Definition at line 1073 of file class.ilDataCollectionTable.php.
References $default_sort_field_order.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setDeletePerm | ( | $delete_perm | ) |
boolean | $delete_perm |
Definition at line 925 of file class.ilDataCollectionTable.php.
References $delete_perm.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setDescription | ( | $description | ) |
string | $description |
Definition at line 1038 of file class.ilDataCollectionTable.php.
References $description.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setEditByOwner | ( | $edit_by_owner | ) |
boolean | $edit_by_owner |
Definition at line 942 of file class.ilDataCollectionTable.php.
References $edit_by_owner.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setEditPerm | ( | $edit_perm | ) |
boolean | $edit_perm |
Definition at line 958 of file class.ilDataCollectionTable.php.
References $edit_perm.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setExportEnabled | ( | $export_enabled | ) |
boolean | $export_enabled |
Definition at line 1271 of file class.ilDataCollectionTable.php.
References $export_enabled.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setId | ( | $a_id | ) |
Set table id.
int | $a_id |
Definition at line 296 of file class.ilDataCollectionTable.php.
Referenced by doCreate().
ilDataCollectionTable::setIsVisible | ( | $is_visible | ) |
boolean | $is_visible |
Definition at line 1022 of file class.ilDataCollectionTable.php.
References $is_visible.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setLimited | ( | $limited | ) |
boolean | $limited |
Definition at line 974 of file class.ilDataCollectionTable.php.
References $limited.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setLimitEnd | ( | $limit_end | ) |
string | $limit_end |
Definition at line 990 of file class.ilDataCollectionTable.php.
References $limit_end.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setLimitStart | ( | $limit_start | ) |
string | $limit_start |
Definition at line 1006 of file class.ilDataCollectionTable.php.
References $limit_start.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setObjId | ( | $a_id | ) |
$a_id |
Definition at line 314 of file class.ilDataCollectionTable.php.
Referenced by doRead().
ilDataCollectionTable::setPublicCommentsEnabled | ( | $public_comments | ) |
boolean | $public_comments |
Definition at line 1092 of file class.ilDataCollectionTable.php.
References $public_comments.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setTitle | ( | $a_title | ) |
$a_title |
Definition at line 330 of file class.ilDataCollectionTable.php.
Referenced by cloneStructure(), and doRead().
ilDataCollectionTable::setViewOwnRecordsPerm | ( | $view_own_perm | ) |
boolean | $view_own_perm |
Definition at line 1108 of file class.ilDataCollectionTable.php.
Referenced by cloneStructure(), and doRead().
|
protected |
$array | ilDataCollectionField[] the array to sort |
Definition at line 862 of file class.ilDataCollectionTable.php.
Referenced by buildOrderFields(), getFields(), loadFields(), and sortFields().
ilDataCollectionTable::sortFields | ( | & | $fields | ) |
sortFields
$fields | ilDataCollectionField[] |
Definition at line 846 of file class.ilDataCollectionTable.php.
References $fields, and sortByOrder().
ilDataCollectionTable::updateFields | ( | ) |
Update fields.
Definition at line 834 of file class.ilDataCollectionTable.php.
References getFields().
|
protected |
Definition at line 57 of file class.ilDataCollectionTable.php.
Referenced by getAddPerm(), and setAddPerm().
|
protected |
Definition at line 91 of file class.ilDataCollectionTable.php.
Referenced by cloneStructure(), getDefaultSortField(), and setDefaultSortField().
|
protected |
Definition at line 97 of file class.ilDataCollectionTable.php.
Referenced by getDefaultSortFieldOrder(), and setDefaultSortFieldOrder().
|
protected |
Definition at line 65 of file class.ilDataCollectionTable.php.
Referenced by getDeletePerm(), and setDeletePerm().
|
protected |
Definition at line 103 of file class.ilDataCollectionTable.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 69 of file class.ilDataCollectionTable.php.
Referenced by getEditByOwner(), and setEditByOwner().
|
protected |
Definition at line 61 of file class.ilDataCollectionTable.php.
Referenced by getEditPerm(), and setEditPerm().
|
protected |
Definition at line 85 of file class.ilDataCollectionTable.php.
Referenced by getExportEnabled(), and setExportEnabled().
|
protected |
Definition at line 41 of file class.ilDataCollectionTable.php.
Referenced by buildOrderFields(), getEditableFields(), getExportableFields(), getField(), getFields(), getFilterableFields(), getNewOrder(), getRecordFields(), getVisibleFields(), loadFields(), and sortFields().
|
protected |
Definition at line 25 of file class.ilDataCollectionTable.php.
Referenced by _getTableIdByTitle(), doCreate(), getId(), and getPartialRecords().
|
protected |
Definition at line 53 of file class.ilDataCollectionTable.php.
Referenced by getIsVisible(), and setIsVisible().
|
protected |
Definition at line 81 of file class.ilDataCollectionTable.php.
Referenced by getLimitEnd(), and setLimitEnd().
|
protected |
Definition at line 77 of file class.ilDataCollectionTable.php.
Referenced by getLimitStart(), and setLimitStart().
|
protected |
Definition at line 73 of file class.ilDataCollectionTable.php.
Referenced by getLimited(), and setLimited().
|
protected |
Definition at line 33 of file class.ilDataCollectionTable.php.
Referenced by getCollectionObject().
|
protected |
Definition at line 29 of file class.ilDataCollectionTable.php.
Referenced by getObjId().
|
protected |
Definition at line 109 of file class.ilDataCollectionTable.php.
Referenced by getPublicCommentsEnabled(), and setPublicCommentsEnabled().
|
protected |
Definition at line 49 of file class.ilDataCollectionTable.php.
Referenced by deleteField(), getPartialRecords(), getRecords(), getRecordsByFilter(), and loadRecords().
|
protected |
Definition at line 45 of file class.ilDataCollectionTable.php.
|
protected |
Definition at line 37 of file class.ilDataCollectionTable.php.
Referenced by _getTableIdByTitle(), _hasFieldByTitle(), getFieldByTitle(), and getTitle().
|
protected |
Definition at line 115 of file class.ilDataCollectionTable.php.
Referenced by getViewOwnRecordsPerm().