|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilDclTable:Public Member Functions | |
| __construct (int $a_id=0) | |
| doRead () | |
| Read table. More... | |
| doDelete (bool $delete_only_content=false, bool $omit_notification=false) | |
| Delete table Attention this does not delete the maintable of it's the maintable of the collection. More... | |
| doCreate (bool $create_tablefield_setting=true, bool $create_standardview=true) | |
| doUpdate () | |
| setId (int $a_id) | |
| Set table id. More... | |
| getId () | |
| Get table id. More... | |
| setObjId (int $a_id) | |
| getObjId () | |
| setTitle (string $a_title) | |
| getTitle () | |
| getCollectionObject () | |
| getRecords () | |
| loadRecords () | |
| deleteField (int $field_id) | |
| getField (string $field_id) | |
| getFieldIds () | |
| getCustomFields () | |
| getNewFieldOrder () | |
| getNewOrder More... | |
| getNewTableviewOrder () | |
| sortTableViews (array $tableviews=null) | |
| getFields () | |
| Returns all fields of this table including the standard fields. More... | |
| reloadFields () | |
| getTableViews () | |
| getVisibleTableViews (int $user_id=0, bool $with_active_detailedview=false) | |
| getFirstTableViewId (int $user_id=0, bool $with_detailed_view=false) | |
| getFieldsForFormula () | |
| Returns all fields of this table including the standard fields, wich are supported for formulas. More... | |
| getRecordFields () | |
| Returns all fields of this table which are NOT standard fields. More... | |
| getEditableFields (bool $creation_mode) | |
| getExportableFields () | |
| Return all the fields that are marked as exportable. More... | |
| hasPermissionToEditRecord (int $ref_id, ilDclBaseRecordModel $record) | |
| hasPermissionToDeleteRecord (int $ref_id, ilDclBaseRecordModel $record) | |
| hasPermissionToDeleteRecords (int $ref_id) | |
| hasPermissionToViewRecord (int $ref_id, ilDclBaseRecordModel $record, int $user_id=0) | |
| checkLimit () | |
| updateFields () | |
| Update fields. More... | |
| sortFields (array &$fields) | |
| sortFields More... | |
| buildOrderFields () | |
| buildOrderFields orders the fields. More... | |
| getFieldByTitle (string $title) | |
| Get a field by title. More... | |
| setAddPerm (bool $add_perm) | |
| getAddPerm () | |
| setDeletePerm (bool $delete_perm) | |
| getDeletePerm () | |
| setEditByOwner (bool $edit_by_owner) | |
| getEditByOwner () | |
| getDeleteByOwner () | |
| setDeleteByOwner (bool $delete_by_owner) | |
| setEditPerm (bool $edit_perm) | |
| getEditPerm () | |
| setLimited (bool $limited) | |
| getLimited () | |
| setLimitEnd (string $limit_end) | |
| getLimitEnd () | |
| setLimitStart (string $limit_start) | |
| getLimitStart () | |
| setIsVisible (bool $is_visible) | |
| getIsVisible () | |
| setDescription (string $description) | |
| getDescription () | |
| setDefaultSortField (string $default_sort_field) | |
| getDefaultSortField () | |
| setDefaultSortFieldOrder (string $default_sort_field_order) | |
| getDefaultSortFieldOrder () | |
| setPublicCommentsEnabled (bool $public_comments) | |
| getPublicCommentsEnabled () | |
| setViewOwnRecordsPerm (bool $view_own_perm) | |
| getViewOwnRecordsPerm () | |
| getSaveConfirmation () | |
| setSaveConfirmation (bool $save_confirmation) | |
| hasCustomFields () | |
| compareOrder (ilDclBaseFieldModel $a, ilDclBaseFieldModel $b) | |
| cloneStructure (ilDclTable $original) | |
| afterClone () | |
| _hasRecords () | |
| _hasRecords More... | |
| addField (ilDclBaseFieldModel $field) | |
| setExportEnabled (bool $export_enabled) | |
| getExportEnabled () | |
| getOrder () | |
| updateOrder () | |
| setOrder (int $table_order) | |
| setImportEnabled (bool $import_enabled) | |
| getImportEnabled () | |
| getPartialRecords (string $ref_id, string $sort, string $direction, ?int $limit, int $offset, array $filter=[]) | |
| Return only the needed subset of record objects for the table, according to sorting, paging and filters. More... | |
| showInvalidFields (bool $value) | |
Static Public Member Functions | |
| static | _tableExists (int $table_id) |
| static | _getTableIdByTitle (string $title, int $obj_id) |
| static | _hasFieldByTitle (string $title, int $obj_id) |
| Checks if a table has a field with the given title. More... | |
Protected Member Functions | |
| loadObj () | |
| loadCustomFields () | |
| doesRecordBelongToUser (ilDclBaseRecordModel $record) | |
| sortByOrder (array &$array) | |
Protected Attributes | |
| int | $id = 0 |
| int | $objId = null |
| ilObjDataCollection | $obj = null |
| string | $title = "" |
| array | $fields = [] |
| array | $stdFields = [] |
| array | $records = [] |
| bool | $is_visible = false |
| bool | $add_perm = false |
| bool | $edit_perm = false |
| bool | $delete_perm = false |
| bool | $edit_by_owner = false |
| bool | $delete_by_owner = false |
| bool | $save_confirmation = false |
| bool | $limited = false |
| string | $limit_start = "" |
| string | $limit_end = "" |
| bool | $export_enabled = false |
| int | $table_order = 0 |
| bool | $import_enabled = false |
| string | $default_sort_field = "0" |
| string | $default_sort_field_order = 'asc' |
| Default sort-order (asc|desc) More... | |
| string | $description = '' |
| Description for this table displayed above records. More... | |
| bool | $public_comments = false |
| True if users can add comments on each record of this table. More... | |
| int | $view_own_records_perm = 0 |
| True if user can only view his/her own entries in the table. More... | |
| array | $all_fields = null |
| table fields and std fields combined More... | |
| ILIAS HTTP Services | $http |
| ILIAS Refinery Factory | $refinery |
| ilObjUser | $user |
| ilDBInterface | $db |
| bool | $show_invalid = false |
Definition at line 24 of file class.ilDclTable.php.
| ilDclTable::__construct | ( | int | $a_id = 0 | ) |
Definition at line 83 of file class.ilDclTable.php.
References $DIC, doRead(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
| int | $obj_id | Datacollection object ID where the table belongs to |
Definition at line 1114 of file class.ilDclTable.php.
References $DIC, $id, and $ilDB.
|
static |
Checks if a table has a field with the given title.
| string | $title | Title of field |
| int | $obj_id | of the table |
Definition at line 1183 of file class.ilDclTable.php.
Referenced by ilDclFieldEditGUI\checkInput().
Here is the caller graph for this function:| ilDclTable::_hasRecords | ( | ) |
_hasRecords
Definition at line 1084 of file class.ilDclTable.php.
References getRecords().
Here is the call graph for this function:
|
static |
Definition at line 1100 of file class.ilDclTable.php.
Referenced by ilDclBaseRecordModel\doCreate(), and ilDclBaseFieldModel\doCreate().
Here is the caller graph for this function:| ilDclTable::addField | ( | ilDclBaseFieldModel | $field | ) |
| ilDclBaseFieldModel | $field | add an already created field for eg. ordering. |
Definition at line 1092 of file class.ilDclTable.php.
References ilDclBaseFieldModel\getId().
Here is the call graph for this function:| ilDclTable::afterClone | ( | ) |
Definition at line 1074 of file class.ilDclTable.php.
References getFields(), and getRecords().
Here is the call graph for this function:| ilDclTable::buildOrderFields | ( | ) |
buildOrderFields orders the fields.
Definition at line 784 of file class.ilDclTable.php.
References getFields(), and sortByOrder().
Referenced by doCreate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::checkLimit | ( | ) |
Definition at line 711 of file class.ilDclTable.php.
References getLimited(), getLimitEnd(), getLimitStart(), and IL_CAL_DATE.
Referenced by hasPermissionToDeleteRecord(), and hasPermissionToEditRecord().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::cloneStructure | ( | ilDclTable | $original | ) |
Definition at line 1003 of file class.ilDclTable.php.
References doCreate(), doUpdate(), getAddPerm(), getDefaultSortField(), getDefaultSortFieldOrder(), getDeleteByOwner(), getDeletePerm(), getDescription(), getEditByOwner(), getEditPerm(), getExportEnabled(), getFields(), getId(), getImportEnabled(), getIsVisible(), getLimited(), getLimitEnd(), getLimitStart(), getOrder(), getPublicCommentsEnabled(), getRecords(), getSaveConfirmation(), getTableViews(), getTitle(), getViewOwnRecordsPerm(), setAddPerm(), ilDclCache\setCloneOf(), setDefaultSortField(), setDefaultSortFieldOrder(), setDeleteByOwner(), setDeletePerm(), setDescription(), setEditByOwner(), setEditPerm(), setExportEnabled(), setImportEnabled(), setIsVisible(), setLimited(), setLimitEnd(), setLimitStart(), setOrder(), setPublicCommentsEnabled(), setSaveConfirmation(), setTitle(), setViewOwnRecordsPerm(), and ilDclCache\TYPE_TABLE.
Here is the call graph for this function:| ilDclTable::compareOrder | ( | ilDclBaseFieldModel | $a, |
| ilDclBaseFieldModel | $b | ||
| ) |
Definition at line 988 of file class.ilDclTable.php.
References ilDclBaseFieldModel\getOrder().
Here is the call graph for this function:| ilDclTable::deleteField | ( | int | $field_id | ) |
Definition at line 326 of file class.ilDclTable.php.
References ilDclCache\getFieldCache(), and getRecords().
Here is the call graph for this function:| ilDclTable::doCreate | ( | bool | $create_tablefield_setting = true, |
| bool | $create_standardview = true |
||
| ) |
Definition at line 158 of file class.ilDclTable.php.
References buildOrderFields(), ilDclTableView\createOrGetStandardView(), getAddPerm(), getDefaultSortField(), getDefaultSortFieldOrder(), getDeleteByOwner(), getDeletePerm(), getDescription(), getEditByOwner(), getEditPerm(), getExportEnabled(), getId(), getImportEnabled(), getIsVisible(), getLimited(), getLimitEnd(), getLimitStart(), getObjId(), getOrder(), getPublicCommentsEnabled(), getSaveConfirmation(), getTitle(), getViewOwnRecordsPerm(), and setId().
Referenced by cloneStructure().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::doDelete | ( | bool | $delete_only_content = false, |
| bool | $omit_notification = false |
||
| ) |
Delete table Attention this does not delete the maintable of it's the maintable of the collection.
unlink the the maintable in the collections object to make this work.
Definition at line 142 of file class.ilDclTable.php.
References getId(), getRecordFields(), and getRecords().
Here is the call graph for this function:
|
protected |
Definition at line 706 of file class.ilDclTable.php.
References ilDclBaseRecordModel\getOwner(), and ILIAS\Repository\user().
Referenced by hasPermissionToDeleteRecord(), and hasPermissionToEditRecord().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::doRead | ( | ) |
Read table.
Definition at line 101 of file class.ilDclTable.php.
References getId(), setAddPerm(), setDefaultSortField(), setDefaultSortFieldOrder(), setDeleteByOwner(), setDeletePerm(), setDescription(), setEditByOwner(), setEditPerm(), setExportEnabled(), setImportEnabled(), setIsVisible(), setLimited(), setLimitEnd(), setLimitStart(), setObjId(), setOrder(), setPublicCommentsEnabled(), setSaveConfirmation(), setTitle(), and setViewOwnRecordsPerm().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::doUpdate | ( | ) |
Definition at line 219 of file class.ilDclTable.php.
References getAddPerm(), getDefaultSortField(), getDefaultSortFieldOrder(), getDeleteByOwner(), getDeletePerm(), getDescription(), getEditByOwner(), getEditPerm(), getExportEnabled(), getId(), getImportEnabled(), getIsVisible(), getLimited(), getLimitEnd(), getLimitStart(), getObjId(), getOrder(), getPublicCommentsEnabled(), getSaveConfirmation(), getTitle(), and getViewOwnRecordsPerm().
Referenced by cloneStructure(), and ilDclTableEditGUI\setAsDefault().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getAddPerm | ( | ) |
Definition at line 820 of file class.ilDclTable.php.
References $add_perm.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getCollectionObject | ( | ) |
Definition at line 287 of file class.ilDclTable.php.
References $obj, and loadObj().
Referenced by getVisibleTableViews().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getCustomFields | ( | ) |
Definition at line 397 of file class.ilDclTable.php.
References $fields, and loadCustomFields().
Here is the call graph for this function:| ilDclTable::getDefaultSortField | ( | ) |
Definition at line 933 of file class.ilDclTable.php.
References $default_sort_field.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getDefaultSortFieldOrder | ( | ) |
Definition at line 946 of file class.ilDclTable.php.
References $default_sort_field_order.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getDeleteByOwner | ( | ) |
Definition at line 851 of file class.ilDclTable.php.
References $delete_by_owner.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToDeleteRecord().
Here is the caller graph for this function:| ilDclTable::getDeletePerm | ( | ) |
Definition at line 833 of file class.ilDclTable.php.
References $delete_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), hasPermissionToDeleteRecord(), and hasPermissionToDeleteRecords().
Here is the caller graph for this function:| ilDclTable::getDescription | ( | ) |
Definition at line 922 of file class.ilDclTable.php.
References $description.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getEditableFields | ( | bool | $creation_mode | ) |
| bool | $creation_mode |
Definition at line 574 of file class.ilDclTable.php.
References getRecordFields(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilDclTable::getEditByOwner | ( | ) |
Definition at line 846 of file class.ilDclTable.php.
References $edit_by_owner.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToEditRecord().
Here is the caller graph for this function:| ilDclTable::getEditPerm | ( | ) |
Definition at line 872 of file class.ilDclTable.php.
References $edit_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToEditRecord().
Here is the caller graph for this function:| ilDclTable::getExportableFields | ( | ) |
Return all the fields that are marked as exportable.
Definition at line 596 of file class.ilDclTable.php.
References getFields().
Here is the call graph for this function:| ilDclTable::getExportEnabled | ( | ) |
Definition at line 1136 of file class.ilDclTable.php.
References $export_enabled.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getField | ( | string | $field_id | ) |
Definition at line 338 of file class.ilDclTable.php.
References getFields().
Referenced by getPartialRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getFieldByTitle | ( | string | $title | ) |
Get a field by title.
Definition at line 802 of file class.ilDclTable.php.
References $title, and getFields().
Referenced by getPartialRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getFieldIds | ( | ) |
Definition at line 351 of file class.ilDclTable.php.
References getFields().
Here is the call graph for this function:| ilDclTable::getFields | ( | ) |
Returns all fields of this table including the standard fields.
| bool | $force_include_comments | by default false, so comments will only load when enabled in tablesettings |
Definition at line 453 of file class.ilDclTable.php.
References $all_fields, and reloadFields().
Referenced by afterClone(), buildOrderFields(), cloneStructure(), ilDclContentExporter\fillHeaderExcel(), ilDclContentExporter\fillRowExcel(), getExportableFields(), getField(), getFieldByTitle(), getFieldIds(), getFieldsForFormula(), getNewFieldOrder(), and updateFields().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getFieldsForFormula | ( | ) |
Returns all fields of this table including the standard fields, wich are supported for formulas.
Definition at line 514 of file class.ilDclTable.php.
References $stdFields, ilDclStandardField\_getStandardFields(), getFields(), getPublicCommentsEnabled(), and ilDclFormulaFieldModel\SUPPORTED_FIELDS.
Here is the call graph for this function:| ilDclTable::getFirstTableViewId | ( | int | $user_id = 0, |
| bool | $with_detailed_view = false |
||
| ) |
Definition at line 502 of file class.ilDclTable.php.
References $user_id, and getVisibleTableViews().
Here is the call graph for this function:| ilDclTable::getId | ( | ) |
Get table id.
Definition at line 262 of file class.ilDclTable.php.
References $id.
Referenced by cloneStructure(), doCreate(), doDelete(), doRead(), doUpdate(), ilDclTableListGUI\getActions(), getNewTableviewOrder(), getPartialRecords(), getTableViews(), loadCustomFields(), ilDclTableEditGUI\setAsDefault(), and updateOrder().
Here is the caller graph for this function:| ilDclTable::getImportEnabled | ( | ) |
Definition at line 1173 of file class.ilDclTable.php.
References $import_enabled.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getIsVisible | ( | ) |
Definition at line 912 of file class.ilDclTable.php.
References $is_visible.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getLimited | ( | ) |
Definition at line 882 of file class.ilDclTable.php.
References $limited.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getLimitEnd | ( | ) |
Definition at line 892 of file class.ilDclTable.php.
References $limit_end.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getLimitStart | ( | ) |
Definition at line 902 of file class.ilDclTable.php.
References $limit_start.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getNewFieldOrder | ( | ) |
getNewOrder
Definition at line 410 of file class.ilDclTable.php.
References getFields().
Here is the call graph for this function:| ilDclTable::getNewTableviewOrder | ( | ) |
Definition at line 426 of file class.ilDclTable.php.
References ilDclTableView\getCountForTableId(), and getId().
Here is the call graph for this function:| ilDclTable::getObjId | ( | ) |
Definition at line 272 of file class.ilDclTable.php.
References $objId.
Referenced by doCreate(), doUpdate(), getPartialRecords(), hasPermissionToDeleteRecord(), hasPermissionToDeleteRecords(), hasPermissionToEditRecord(), hasPermissionToViewRecord(), and ilObjDataCollectionAccess\isTableInDataCollection().
Here is the caller graph for this function:| ilDclTable::getOrder | ( | ) |
Definition at line 1141 of file class.ilDclTable.php.
References $table_order, and updateOrder().
Referenced by cloneStructure(), doCreate(), doUpdate(), and ilDclTableListGUI\getActions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getPartialRecords | ( | string | $ref_id, |
| string | $sort, | ||
| string | $direction, | ||
| ?int | $limit, | ||
| int | $offset, | ||
| array | $filter = [] |
||
| ) |
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 1204 of file class.ilDclTable.php.
References Vendor\Package\$a, Vendor\Package\$b, $DIC, $id, $records, getField(), getFieldByTitle(), getId(), getObjId(), ilDclCache\getRecordCache(), getViewOwnRecordsPerm(), ilObjDataCollectionAccess\hasEditAccess(), ilObjDataCollectionAccess\hasWriteAccess(), ilSession\set(), and ILIAS\Repository\user().
Referenced by ilDclRecordListGUI\getRecordListTableGUI().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getPublicCommentsEnabled | ( | ) |
Definition at line 956 of file class.ilDclTable.php.
References $public_comments.
Referenced by cloneStructure(), doCreate(), doUpdate(), and getFieldsForFormula().
Here is the caller graph for this function:| ilDclTable::getRecordFields | ( | ) |
Returns all fields of this table which are NOT standard fields.
Definition at line 563 of file class.ilDclTable.php.
References $fields, and loadCustomFields().
Referenced by doDelete(), getEditableFields(), ilDclContentImporter\getImportFieldsFromTitles(), and ilDclDetailedViewGUI\renderRecord().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getRecords | ( | ) |
Definition at line 304 of file class.ilDclTable.php.
References $records, and loadRecords().
Referenced by _hasRecords(), afterClone(), cloneStructure(), deleteField(), and doDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getSaveConfirmation | ( | ) |
Definition at line 971 of file class.ilDclTable.php.
References $save_confirmation.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getTableViews | ( | ) |
Definition at line 476 of file class.ilDclTable.php.
References ilDclTableView\getAllForTableId(), and getId().
Referenced by cloneStructure(), getVisibleTableViews(), and sortTableViews().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getTitle | ( | ) |
Definition at line 282 of file class.ilDclTable.php.
References $title.
Referenced by cloneStructure(), doCreate(), doUpdate(), and ilDclTableEditGUI\initForm().
Here is the caller graph for this function:| ilDclTable::getViewOwnRecordsPerm | ( | ) |
Definition at line 966 of file class.ilDclTable.php.
References $view_own_records_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), getPartialRecords(), and hasPermissionToViewRecord().
Here is the caller graph for this function:| ilDclTable::getVisibleTableViews | ( | int | $user_id = 0, |
| bool | $with_active_detailedview = false |
||
| ) |
Definition at line 484 of file class.ilDclTable.php.
References $user_id, getCollectionObject(), getTableViews(), ilObjDataCollectionAccess\hasAccessToTableView(), ilObjDataCollectionAccess\hasWriteAccess(), and ilDclDetailedViewDefinition\isActive().
Referenced by getFirstTableViewId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::hasCustomFields | ( | ) |
Definition at line 981 of file class.ilDclTable.php.
References loadCustomFields().
Here is the call graph for this function:| ilDclTable::hasPermissionToDeleteRecord | ( | int | $ref_id, |
| ilDclBaseRecordModel | $record | ||
| ) |
| int | $ref_id | the reference id of the current datacollection object |
| ilDclBaseRecordModel | $record | the record which will be deleted |
Definition at line 645 of file class.ilDclTable.php.
References ilObject\_lookupObjectId(), checkLimit(), doesRecordBelongToUser(), getDeleteByOwner(), getDeletePerm(), getObjId(), ilObjDataCollectionAccess\hasAddRecordAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
Here is the call graph for this function:| ilDclTable::hasPermissionToDeleteRecords | ( | int | $ref_id | ) |
| $ref_id |
Definition at line 673 of file class.ilDclTable.php.
References ilObject\_lookupObjectId(), getDeletePerm(), getObjId(), ilObjDataCollectionAccess\hasAddRecordAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
Here is the call graph for this function:| ilDclTable::hasPermissionToEditRecord | ( | int | $ref_id, |
| ilDclBaseRecordModel | $record | ||
| ) |
| $ref_id | int the reference id of the current datacollection object |
| $record | ilDclBaseRecordModel the record which will be edited |
Definition at line 614 of file class.ilDclTable.php.
References ilObject\_lookupObjectId(), checkLimit(), doesRecordBelongToUser(), getEditByOwner(), getEditPerm(), getObjId(), ilObjDataCollectionAccess\hasAddRecordAccess(), ilObjDataCollectionAccess\hasEditAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
Here is the call graph for this function:| ilDclTable::hasPermissionToViewRecord | ( | int | $ref_id, |
| ilDclBaseRecordModel | $record, | ||
| int | $user_id = 0 |
||
| ) |
Definition at line 683 of file class.ilDclTable.php.
References $user_id, ilObject\_lookupObjectId(), getObjId(), ilDclBaseRecordModel\getOwner(), getViewOwnRecordsPerm(), ilObjDataCollectionAccess\hasEditAccess(), ilObjDataCollectionAccess\hasReadAccess(), ilObjDataCollectionAccess\hasWriteAccess(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 363 of file class.ilDclTable.php.
References $fields, ilDclCache\buildFieldFromRecord(), ilDclDatatype\getAllDatatype(), getId(), and ilDclCache\preloadFieldProperties().
Referenced by getCustomFields(), getRecordFields(), hasCustomFields(), and reloadFields().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 294 of file class.ilDclTable.php.
Referenced by getCollectionObject().
Here is the caller graph for this function:| ilDclTable::loadRecords | ( | ) |
Definition at line 313 of file class.ilDclTable.php.
References $records, and ilDclCache\getRecordCache().
Referenced by getRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::reloadFields | ( | ) |
Definition at line 462 of file class.ilDclTable.php.
References $fields, loadCustomFields(), and sortByOrder().
Referenced by getFields().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::setAddPerm | ( | bool | $add_perm | ) |
Definition at line 815 of file class.ilDclTable.php.
References $add_perm.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setDefaultSortField | ( | string | $default_sort_field | ) |
Definition at line 927 of file class.ilDclTable.php.
References $default_sort_field.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setDefaultSortFieldOrder | ( | string | $default_sort_field_order | ) |
Definition at line 938 of file class.ilDclTable.php.
References $default_sort_field_order.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setDeleteByOwner | ( | bool | $delete_by_owner | ) |
Definition at line 856 of file class.ilDclTable.php.
References $delete_by_owner, and setDeletePerm().
Referenced by cloneStructure(), doRead(), and setDeletePerm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::setDeletePerm | ( | bool | $delete_perm | ) |
Definition at line 825 of file class.ilDclTable.php.
References $delete_perm, and setDeleteByOwner().
Referenced by cloneStructure(), doRead(), and setDeleteByOwner().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::setDescription | ( | string | $description | ) |
Definition at line 917 of file class.ilDclTable.php.
References $description.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setEditByOwner | ( | bool | $edit_by_owner | ) |
Definition at line 838 of file class.ilDclTable.php.
References $edit_by_owner, and setEditPerm().
Referenced by cloneStructure(), doRead(), and setEditPerm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::setEditPerm | ( | bool | $edit_perm | ) |
Definition at line 864 of file class.ilDclTable.php.
References $edit_perm, and setEditByOwner().
Referenced by cloneStructure(), doRead(), and setEditByOwner().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::setExportEnabled | ( | bool | $export_enabled | ) |
Definition at line 1131 of file class.ilDclTable.php.
References $export_enabled.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setId | ( | int | $a_id | ) |
Set table id.
Definition at line 254 of file class.ilDclTable.php.
Referenced by doCreate().
Here is the caller graph for this function:| ilDclTable::setImportEnabled | ( | bool | $import_enabled | ) |
Definition at line 1168 of file class.ilDclTable.php.
References $import_enabled.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setIsVisible | ( | bool | $is_visible | ) |
Definition at line 907 of file class.ilDclTable.php.
References $is_visible.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setLimited | ( | bool | $limited | ) |
Definition at line 877 of file class.ilDclTable.php.
References $limited.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setLimitEnd | ( | string | $limit_end | ) |
Definition at line 887 of file class.ilDclTable.php.
References $limit_end.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setLimitStart | ( | string | $limit_start | ) |
Definition at line 897 of file class.ilDclTable.php.
References $limit_start.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setObjId | ( | int | $a_id | ) |
Definition at line 267 of file class.ilDclTable.php.
Referenced by doRead().
Here is the caller graph for this function:| ilDclTable::setOrder | ( | int | $table_order | ) |
Definition at line 1163 of file class.ilDclTable.php.
References $table_order.
Referenced by cloneStructure(), doRead(), and ilDclTableEditGUI\setAsDefault().
Here is the caller graph for this function:| ilDclTable::setPublicCommentsEnabled | ( | bool | $public_comments | ) |
Definition at line 951 of file class.ilDclTable.php.
References $public_comments.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setSaveConfirmation | ( | bool | $save_confirmation | ) |
Definition at line 976 of file class.ilDclTable.php.
References $save_confirmation.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setTitle | ( | string | $a_title | ) |
Definition at line 277 of file class.ilDclTable.php.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setViewOwnRecordsPerm | ( | bool | $view_own_perm | ) |
Definition at line 961 of file class.ilDclTable.php.
References ILIAS\Repository\int().
Referenced by cloneStructure(), and doRead().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::showInvalidFields | ( | bool | $value | ) |
Definition at line 1314 of file class.ilDclTable.php.
|
protected |
| ilDclBaseFieldModel[] | $array the array to sort |
Definition at line 773 of file class.ilDclTable.php.
Referenced by buildOrderFields(), reloadFields(), and sortFields().
Here is the caller graph for this function:| ilDclTable::sortFields | ( | array & | $fields | ) |
sortFields
| ilDclBaseFieldModel[] | $fields |
Definition at line 758 of file class.ilDclTable.php.
References sortByOrder().
Here is the call graph for this function:| ilDclTable::sortTableViews | ( | array | $tableviews = null | ) |
| ilDclTableView[] | $tableviews |
Definition at line 434 of file class.ilDclTable.php.
References getTableViews().
Here is the call graph for this function:| ilDclTable::updateFields | ( | ) |
Update fields.
Definition at line 747 of file class.ilDclTable.php.
References getFields().
Here is the call graph for this function:| ilDclTable::updateOrder | ( | ) |
Definition at line 1150 of file class.ilDclTable.php.
References getId().
Referenced by getOrder().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 43 of file class.ilDclTable.php.
Referenced by getAddPerm(), and setAddPerm().
|
protected |
table fields and std fields combined
Definition at line 76 of file class.ilDclTable.php.
Referenced by getFields().
|
protected |
Definition at line 80 of file class.ilDclTable.php.
|
protected |
Definition at line 56 of file class.ilDclTable.php.
Referenced by getDefaultSortField(), and setDefaultSortField().
|
protected |
Default sort-order (asc|desc)
Definition at line 60 of file class.ilDclTable.php.
Referenced by getDefaultSortFieldOrder(), and setDefaultSortFieldOrder().
|
protected |
Definition at line 47 of file class.ilDclTable.php.
Referenced by getDeleteByOwner(), and setDeleteByOwner().
|
protected |
Definition at line 45 of file class.ilDclTable.php.
Referenced by getDeletePerm(), and setDeletePerm().
|
protected |
Description for this table displayed above records.
Definition at line 64 of file class.ilDclTable.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 46 of file class.ilDclTable.php.
Referenced by getEditByOwner(), and setEditByOwner().
|
protected |
Definition at line 44 of file class.ilDclTable.php.
Referenced by getEditPerm(), and setEditPerm().
|
protected |
Definition at line 52 of file class.ilDclTable.php.
Referenced by getExportEnabled(), and setExportEnabled().
|
protected |
Definition at line 33 of file class.ilDclTable.php.
Referenced by getCustomFields(), getRecordFields(), loadCustomFields(), and reloadFields().
|
protected |
Definition at line 77 of file class.ilDclTable.php.
|
protected |
Definition at line 26 of file class.ilDclTable.php.
Referenced by _getTableIdByTitle(), getId(), and getPartialRecords().
|
protected |
Definition at line 54 of file class.ilDclTable.php.
Referenced by getImportEnabled(), and setImportEnabled().
|
protected |
Definition at line 42 of file class.ilDclTable.php.
Referenced by getIsVisible(), and setIsVisible().
|
protected |
Definition at line 51 of file class.ilDclTable.php.
Referenced by getLimitEnd(), and setLimitEnd().
|
protected |
Definition at line 50 of file class.ilDclTable.php.
Referenced by getLimitStart(), and setLimitStart().
|
protected |
Definition at line 49 of file class.ilDclTable.php.
Referenced by getLimited(), and setLimited().
|
protected |
Definition at line 28 of file class.ilDclTable.php.
Referenced by getCollectionObject().
|
protected |
Definition at line 27 of file class.ilDclTable.php.
Referenced by getObjId().
|
protected |
True if users can add comments on each record of this table.
Definition at line 68 of file class.ilDclTable.php.
Referenced by getPublicCommentsEnabled(), and setPublicCommentsEnabled().
|
protected |
Definition at line 41 of file class.ilDclTable.php.
Referenced by getPartialRecords(), getRecords(), and loadRecords().
|
protected |
Definition at line 78 of file class.ilDclTable.php.
|
protected |
Definition at line 48 of file class.ilDclTable.php.
Referenced by getSaveConfirmation(), and setSaveConfirmation().
|
protected |
Definition at line 81 of file class.ilDclTable.php.
|
protected |
Definition at line 37 of file class.ilDclTable.php.
Referenced by getFieldsForFormula().
|
protected |
Definition at line 53 of file class.ilDclTable.php.
Referenced by getOrder(), and setOrder().
|
protected |
Definition at line 29 of file class.ilDclTable.php.
Referenced by getFieldByTitle(), and getTitle().
|
protected |
Definition at line 79 of file class.ilDclTable.php.
|
protected |
True if user can only view his/her own entries in the table.
Definition at line 72 of file class.ilDclTable.php.
Referenced by getViewOwnRecordsPerm().