|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
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... | |
| 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 1094 of file class.ilDclTable.php.
|
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 1163 of file class.ilDclTable.php.
References $DIC, $ilDB, and $title.
Referenced by ilDclFieldEditGUI\checkInput().
Here is the caller graph for this function:| ilDclTable::_hasRecords | ( | ) |
_hasRecords
Definition at line 1064 of file class.ilDclTable.php.
References getRecords().
Here is the call graph for this function:
|
static |
Definition at line 1080 of file class.ilDclTable.php.
Referenced by ilDclBaseFieldModel\doCreate(), and ilDclBaseRecordModel\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 1072 of file class.ilDclTable.php.
References ilDclBaseFieldModel\getId().
Here is the call graph for this function:| ilDclTable::afterClone | ( | ) |
Definition at line 1054 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 764 of file class.ilDclTable.php.
References $fields, 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 691 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 983 of file class.ilDclTable.php.
References $default_sort_field, 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 968 of file class.ilDclTable.php.
References Vendor\Package\$a, and Vendor\Package\$b.
| ilDclTable::deleteField | ( | int | $field_id | ) |
Definition at line 326 of file class.ilDclTable.php.
References $records, doUpdate(), getDefaultSortField(), ilDclCache\getFieldCache(), getRecords(), and setDefaultSortField().
Here is the call graph for this function:Definition at line 158 of file class.ilDclTable.php.
References $id, 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 686 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(), deleteField(), and ilDclTableEditGUI\setAsDefault().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::getAddPerm | ( | ) |
Definition at line 800 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 401 of file class.ilDclTable.php.
References $fields, and loadCustomFields().
Here is the call graph for this function:| ilDclTable::getDefaultSortField | ( | ) |
Definition at line 913 of file class.ilDclTable.php.
References $default_sort_field.
Referenced by cloneStructure(), deleteField(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getDefaultSortFieldOrder | ( | ) |
Definition at line 926 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 831 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 813 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 902 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 554 of file class.ilDclTable.php.
References $fields, getRecordFields(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilDclTable::getEditByOwner | ( | ) |
Definition at line 826 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 852 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 576 of file class.ilDclTable.php.
References $fields, and getFields().
Here is the call graph for this function:| ilDclTable::getExportEnabled | ( | ) |
Definition at line 1116 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 342 of file class.ilDclTable.php.
References $fields, and getFields().
Here is the call graph for this function:| ilDclTable::getFieldByTitle | ( | string | $title | ) |
Get a field by title.
Definition at line 782 of file class.ilDclTable.php.
References $title, and getFields().
Here is the call graph for this function:| ilDclTable::getFieldIds | ( | ) |
Definition at line 355 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 432 of file class.ilDclTable.php.
References $all_fields, and reloadFields().
Referenced by afterClone(), buildOrderFields(), cloneStructure(), ilDclContentExporter\fillHeaderExcel(), 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 494 of file class.ilDclTable.php.
References getFields(), 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 482 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(), getTableViews(), loadCustomFields(), ilDclTableEditGUI\save(), and ilDclTableEditGUI\setAsDefault().
Here is the caller graph for this function:| ilDclTable::getImportEnabled | ( | ) |
Definition at line 1153 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 892 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 862 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 872 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 882 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 414 of file class.ilDclTable.php.
References $fields, and getFields().
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(), hasPermissionToDeleteRecord(), hasPermissionToDeleteRecords(), hasPermissionToEditRecord(), hasPermissionToViewRecord(), and ilObjDataCollectionAccess\isTableInDataCollection().
Here is the caller graph for this function:| ilDclTable::getOrder | ( | ) |
Definition at line 1121 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 1184 of file class.ilDclTable.php.
Referenced by ilDclRecordListGUI\getRecordListTableGUI().
Here is the caller graph for this function:| ilDclTable::getPublicCommentsEnabled | ( | ) |
Definition at line 936 of file class.ilDclTable.php.
References $public_comments.
Referenced by cloneStructure(), doCreate(), and doUpdate().
Here is the caller graph for this function:| ilDclTable::getRecordFields | ( | ) |
Returns all fields of this table which are NOT standard fields.
Definition at line 543 of file class.ilDclTable.php.
References $fields, and loadCustomFields().
Referenced by doDelete(), getEditableFields(), and ilDclContentImporter\getImportFieldsFromTitles().
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 951 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 455 of file class.ilDclTable.php.
References ilDclTableView\getAllForTableId(), and getId().
Referenced by cloneStructure(), and getVisibleTableViews().
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\save().
Here is the caller graph for this function:| ilDclTable::getViewOwnRecordsPerm | ( | ) |
Definition at line 946 of file class.ilDclTable.php.
References $view_own_records_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToViewRecord().
Here is the caller graph for this function:| ilDclTable::getVisibleTableViews | ( | int | $user_id = 0, |
| bool | $with_active_detailedview = false |
||
| ) |
Definition at line 463 of file class.ilDclTable.php.
References $user_id, getCollectionObject(), getTableViews(), ilObjDataCollectionAccess\hasAccessToTableView(), and ilObjDataCollectionAccess\hasWriteAccess().
Referenced by getFirstTableViewId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTable::hasCustomFields | ( | ) |
Definition at line 961 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 625 of file class.ilDclTable.php.
References $ref_id, 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 653 of file class.ilDclTable.php.
References $ref_id, 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 594 of file class.ilDclTable.php.
References $ref_id, 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 663 of file class.ilDclTable.php.
References $ref_id, $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 367 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 441 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 795 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 907 of file class.ilDclTable.php.
References $default_sort_field.
Referenced by cloneStructure(), deleteField(), and doRead().
Here is the caller graph for this function:| ilDclTable::setDefaultSortFieldOrder | ( | string | $default_sort_field_order | ) |
Definition at line 918 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 836 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 805 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 897 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 818 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 844 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 1111 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 1148 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 887 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 857 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 867 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 877 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 1143 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 931 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 956 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 941 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 1294 of file class.ilDclTable.php.
|
protected |
| ilDclBaseFieldModel[] | $array | the array to sort |
Definition at line 753 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 738 of file class.ilDclTable.php.
References $fields, and sortByOrder().
Here is the call graph for this function:| ilDclTable::updateFields | ( | ) |
Update fields.
Definition at line 727 of file class.ilDclTable.php.
References getFields().
Here is the call graph for this function:| ilDclTable::updateOrder | ( | ) |
Definition at line 1130 of file class.ilDclTable.php.
Referenced by getOrder().
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 cloneStructure(), 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 buildOrderFields(), getCustomFields(), getEditableFields(), getExportableFields(), getField(), getNewFieldOrder(), getRecordFields(), loadCustomFields(), reloadFields(), and sortFields().
|
protected |
Definition at line 77 of file class.ilDclTable.php.
|
protected |
Definition at line 26 of file class.ilDclTable.php.
Referenced by _getTableIdByTitle(), doCreate(), and getId().
|
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 deleteField(), 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.
|
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 _getTableIdByTitle(), _hasFieldByTitle(), 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().