|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 25 of file class.ilDclTable.php.
| ilDclTable::__construct | ( | int | $a_id = 0 | ) |
Definition at line 84 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 1115 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 1184 of file class.ilDclTable.php.
Referenced by ilDclFieldEditGUI\checkInput().
Here is the caller graph for this function:| ilDclTable::_hasRecords | ( | ) |
_hasRecords
Definition at line 1085 of file class.ilDclTable.php.
References getRecords().
Here is the call graph for this function:
|
static |
Definition at line 1101 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 1093 of file class.ilDclTable.php.
References ilDclBaseFieldModel\getId().
Here is the call graph for this function:| ilDclTable::afterClone | ( | ) |
Definition at line 1075 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 785 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 712 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 1004 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 989 of file class.ilDclTable.php.
References ilDclBaseFieldModel\getOrder().
Here is the call graph for this function:| ilDclTable::deleteField | ( | int | $field_id | ) |
Definition at line 327 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 159 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 143 of file class.ilDclTable.php.
References getId(), getRecordFields(), and getRecords().
Here is the call graph for this function:
|
protected |
Definition at line 707 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 102 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 220 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getAddPerm | ( | ) |
Definition at line 821 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 288 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 398 of file class.ilDclTable.php.
References $fields, and loadCustomFields().
Here is the call graph for this function:| ilDclTable::getDefaultSortField | ( | ) |
Definition at line 934 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 947 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 852 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 834 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 923 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 575 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 847 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 873 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 597 of file class.ilDclTable.php.
References getFields().
Here is the call graph for this function:| ilDclTable::getExportEnabled | ( | ) |
Definition at line 1137 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 339 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 803 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 352 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 454 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 515 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 503 of file class.ilDclTable.php.
References getVisibleTableViews().
Here is the call graph for this function:| ilDclTable::getId | ( | ) |
Get table id.
Definition at line 263 of file class.ilDclTable.php.
References $id.
Referenced by ilDclTableViewTableGUI\__construct(), ilDclTableEditGUI\checkInput(), cloneStructure(), doCreate(), doDelete(), doRead(), doUpdate(), ilDclTableListTableGUI\fillRowFromObject(), getNewTableviewOrder(), getPartialRecords(), getTableViews(), loadCustomFields(), and updateOrder().
Here is the caller graph for this function:| ilDclTable::getImportEnabled | ( | ) |
Definition at line 1174 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 913 of file class.ilDclTable.php.
References $is_visible.
Referenced by cloneStructure(), doCreate(), doUpdate(), and ilDclTableListTableGUI\fillRowFromObject().
Here is the caller graph for this function:| ilDclTable::getLimited | ( | ) |
Definition at line 883 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 893 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 903 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 411 of file class.ilDclTable.php.
References getFields().
Here is the call graph for this function:| ilDclTable::getNewTableviewOrder | ( | ) |
Definition at line 427 of file class.ilDclTable.php.
References ilDclTableView\getCountForTableId(), and getId().
Here is the call graph for this function:| ilDclTable::getObjId | ( | ) |
Definition at line 273 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 1142 of file class.ilDclTable.php.
References $table_order, and updateOrder().
Referenced by cloneStructure(), doCreate(), doUpdate(), and ilDclTableListTableGUI\fillRowFromObject().
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 1205 of file class.ilDclTable.php.
References Vendor\Package\$a, Vendor\Package\$b, $DIC, $id, ILIAS\LTI\ToolProvider\$key, $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 957 of file class.ilDclTable.php.
References $public_comments.
Referenced by cloneStructure(), doCreate(), doUpdate(), ilDclTableListTableGUI\fillRowFromObject(), 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 564 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 305 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 972 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 477 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 283 of file class.ilDclTable.php.
References $title.
Referenced by ilDclTableEditGUI\checkInput(), cloneStructure(), doCreate(), doUpdate(), and ilDclTableListTableGUI\fillRowFromObject().
Here is the caller graph for this function:| ilDclTable::getViewOwnRecordsPerm | ( | ) |
Definition at line 967 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 485 of file class.ilDclTable.php.
References 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 982 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 646 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 674 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 615 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 684 of file class.ilDclTable.php.
References 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 364 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 295 of file class.ilDclTable.php.
Referenced by getCollectionObject().
Here is the caller graph for this function:| ilDclTable::loadRecords | ( | ) |
Definition at line 314 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 463 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 816 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 928 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 939 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 857 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 826 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 918 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 839 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 865 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 1132 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 255 of file class.ilDclTable.php.
Referenced by doCreate().
Here is the caller graph for this function:| ilDclTable::setImportEnabled | ( | bool | $import_enabled | ) |
Definition at line 1169 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 908 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 878 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 888 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 898 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 268 of file class.ilDclTable.php.
Referenced by doRead().
Here is the caller graph for this function:| ilDclTable::setOrder | ( | int | $table_order | ) |
Definition at line 1164 of file class.ilDclTable.php.
References $table_order.
Referenced by cloneStructure(), and doRead().
Here is the caller graph for this function:| ilDclTable::setPublicCommentsEnabled | ( | bool | $public_comments | ) |
Definition at line 952 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 977 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 278 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 962 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 1315 of file class.ilDclTable.php.
|
protected |
| ilDclBaseFieldModel[] | $array the array to sort |
Definition at line 774 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 759 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 435 of file class.ilDclTable.php.
References getTableViews().
Here is the call graph for this function:| ilDclTable::updateFields | ( | ) |
Update fields.
Definition at line 748 of file class.ilDclTable.php.
References getFields().
Here is the call graph for this function:| ilDclTable::updateOrder | ( | ) |
Definition at line 1151 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 44 of file class.ilDclTable.php.
Referenced by getAddPerm(), and setAddPerm().
|
protected |
table fields and std fields combined
Definition at line 77 of file class.ilDclTable.php.
Referenced by getFields().
|
protected |
Definition at line 81 of file class.ilDclTable.php.
|
protected |
Definition at line 57 of file class.ilDclTable.php.
Referenced by getDefaultSortField(), and setDefaultSortField().
|
protected |
Default sort-order (asc|desc)
Definition at line 61 of file class.ilDclTable.php.
Referenced by getDefaultSortFieldOrder(), and setDefaultSortFieldOrder().
|
protected |
Definition at line 48 of file class.ilDclTable.php.
Referenced by getDeleteByOwner(), and setDeleteByOwner().
|
protected |
Definition at line 46 of file class.ilDclTable.php.
Referenced by getDeletePerm(), and setDeletePerm().
|
protected |
Description for this table displayed above records.
Definition at line 65 of file class.ilDclTable.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 47 of file class.ilDclTable.php.
Referenced by getEditByOwner(), and setEditByOwner().
|
protected |
Definition at line 45 of file class.ilDclTable.php.
Referenced by getEditPerm(), and setEditPerm().
|
protected |
Definition at line 53 of file class.ilDclTable.php.
Referenced by getExportEnabled(), and setExportEnabled().
|
protected |
Definition at line 34 of file class.ilDclTable.php.
Referenced by getCustomFields(), getRecordFields(), loadCustomFields(), and reloadFields().
|
protected |
Definition at line 78 of file class.ilDclTable.php.
|
protected |
Definition at line 27 of file class.ilDclTable.php.
Referenced by _getTableIdByTitle(), getId(), and getPartialRecords().
|
protected |
Definition at line 55 of file class.ilDclTable.php.
Referenced by getImportEnabled(), and setImportEnabled().
|
protected |
Definition at line 43 of file class.ilDclTable.php.
Referenced by getIsVisible(), and setIsVisible().
|
protected |
Definition at line 52 of file class.ilDclTable.php.
Referenced by getLimitEnd(), and setLimitEnd().
|
protected |
Definition at line 51 of file class.ilDclTable.php.
Referenced by getLimitStart(), and setLimitStart().
|
protected |
Definition at line 50 of file class.ilDclTable.php.
Referenced by getLimited(), and setLimited().
|
protected |
Definition at line 29 of file class.ilDclTable.php.
Referenced by getCollectionObject().
|
protected |
Definition at line 28 of file class.ilDclTable.php.
Referenced by getObjId().
|
protected |
True if users can add comments on each record of this table.
Definition at line 69 of file class.ilDclTable.php.
Referenced by getPublicCommentsEnabled(), and setPublicCommentsEnabled().
|
protected |
Definition at line 42 of file class.ilDclTable.php.
Referenced by getPartialRecords(), getRecords(), and loadRecords().
|
protected |
Definition at line 79 of file class.ilDclTable.php.
|
protected |
Definition at line 49 of file class.ilDclTable.php.
Referenced by getSaveConfirmation(), and setSaveConfirmation().
|
protected |
Definition at line 82 of file class.ilDclTable.php.
|
protected |
Definition at line 38 of file class.ilDclTable.php.
Referenced by getFieldsForFormula().
|
protected |
Definition at line 54 of file class.ilDclTable.php.
Referenced by getOrder(), and setOrder().
|
protected |
Definition at line 30 of file class.ilDclTable.php.
Referenced by getFieldByTitle(), and getTitle().
|
protected |
Definition at line 80 of file class.ilDclTable.php.
|
protected |
True if user can only view his/her own entries in the table.
Definition at line 73 of file class.ilDclTable.php.
Referenced by getViewOwnRecordsPerm().