ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilDclBaseFieldModel. More...
Public Member Functions | |
__construct ($a_id=0) | |
doRead () | |
Read table. More... | |
doCreate ($create_tablefield_setting=true, $create_standardview=true) | |
doUpdate () | |
setId ($a_id) | |
Set table id. More... | |
getId () | |
Get table id. More... | |
setObjId ($a_id) | |
getObjId () | |
setTitle ($a_title) | |
getTitle () | |
getCollectionObject () | |
getRecords () | |
loadRecords () | |
deleteField ($field_id) | |
getField ($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 ($ref_id, $with_active_detailedview=false, $user_id=0) | |
For current user. More... | |
getFirstTableViewId ($ref_id, $user_id=0) | |
get id of first (for current user) available view More... | |
getRecordFields () | |
Returns all fields of this table which are NOT standard fields. More... | |
getEditableFields () | |
getExportableFields () | |
Return all the fields that are marked as exportable. More... | |
hasPermissionToEditRecord ($ref_id, ilDclBaseRecordModel $record) | |
hasPermissionToDeleteRecord ($ref_id, ilDclBaseRecordModel $record) | |
hasPermissionToDeleteRecords ($ref_id) | |
hasPermissionToViewRecord ($ref_id, $record, $user_id=0) | |
checkLimit () | |
updateFields () | |
Update fields. More... | |
sortFields (&$fields) | |
sortFields More... | |
buildOrderFields () | |
buildOrderFields orders the fields. More... | |
getFieldByTitle ($title) | |
Get a field by title. More... | |
setAddPerm ($add_perm) | |
getAddPerm () | |
setDeletePerm ($delete_perm) | |
getDeletePerm () | |
setEditByOwner ($edit_by_owner) | |
getEditByOwner () | |
getDeleteByOwner () | |
setDeleteByOwner ($delete_by_owner) | |
setEditPerm ($edit_perm) | |
getEditPerm () | |
setLimited ($limited) | |
getLimited () | |
setLimitEnd ($limit_end) | |
getLimitEnd () | |
setLimitStart ($limit_start) | |
getLimitStart () | |
setIsVisible ($is_visible) | |
getIsVisible () | |
setDescription ($description) | |
getDescription () | |
setDefaultSortField ($default_sort_field) | |
/** More... | |
getDefaultSortField () | |
setDefaultSortFieldOrder ($default_sort_field_order) | |
getDefaultSortFieldOrder () | |
setPublicCommentsEnabled ($public_comments) | |
getPublicCommentsEnabled () | |
setViewOwnRecordsPerm ($view_own_perm) | |
getViewOwnRecordsPerm () | |
getSaveConfirmation () | |
setSaveConfirmation ($save_confirmation) | |
hasCustomFields () | |
hasCustomFields More... | |
compareOrder ($a, $b) | |
cloneStructure (ilDclTable $original) | |
afterClone () | |
_hasRecords () | |
_hasRecords More... | |
addField ($field) | |
setExportEnabled ($export_enabled) | |
getExportEnabled () | |
getOrder () | |
updateOrder () | |
setOrder ($table_order) | |
setImportEnabled ($import_enabled) | |
getImportEnabled () | |
Static Public Member Functions | |
static | _tableExists ($table_id) |
static | _getTableIdByTitle ($title, $obj_id) |
static | _hasFieldByTitle ($title, $obj_id) |
Checks if a table has a field with the given title. More... | |
Protected Member Functions | |
loadObj () | |
doesRecordBelongToUser (ilDclBaseRecordModel $record) | |
sortByOrder (&$array) | |
Protected Attributes | |
$id = 0 | |
$objId | |
$obj | |
$title | |
$fields | |
$stdFields | |
$records | |
$is_visible | |
$add_perm | |
$edit_perm | |
$delete_perm | |
$edit_by_owner | |
$delete_by_owner | |
$save_confirmation | |
$limited | |
$limit_start | |
$limit_end | |
$export_enabled | |
$table_order | |
$import_enabled | |
$default_sort_field = 0 | |
$default_sort_field_order = 'asc' | |
$description = '' | |
$public_comments = 0 | |
$view_own_records_perm = 0 | |
$all_fields = null | |
ilDclTable::__construct | ( | $a_id = 0 | ) |
int | $a_id |
Definition at line 145 of file class.ilDclTable.php.
References doRead().
|
static |
$title | Title of table |
$obj_id | DataCollection object ID where the table belongs to |
Definition at line 1387 of file class.ilDclTable.php.
References $DIC, $id, $ilDB, $result, and $title.
Referenced by ilObjDataCollection\reorderTables().
|
static |
Checks if a table has a field with the given title.
$title | Title of field |
$obj_id | Obj-ID of the table |
Definition at line 1476 of file class.ilDclTable.php.
References $_SESSION, $as, $DIC, $id, $ilDB, $ilUser, $key, $records, $result, $title, array, getField(), getFieldByTitle(), getId(), ilDclCache\getRecordCache(), getViewOwnRecordsPerm(), ilObjDataCollectionAccess\hasEditAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
Referenced by ilDclFieldEditGUI\checkInput().
ilDclTable::_hasRecords | ( | ) |
_hasRecords
Definition at line 1350 of file class.ilDclTable.php.
References getRecords().
|
static |
$table_id | int |
Definition at line 1370 of file class.ilDclTable.php.
References $DIC, $ilDB, $query, and $result.
Referenced by ilDclBaseRecordModel\doCreate(), and ilDclBaseFieldModel\doCreate().
ilDclTable::addField | ( | $field | ) |
$field | ilDclBaseFieldModel add an already created field for eg. ordering. |
Definition at line 1359 of file class.ilDclTable.php.
ilDclTable::afterClone | ( | ) |
Definition at line 1337 of file class.ilDclTable.php.
References getFields(), and getRecords().
ilDclTable::buildOrderFields | ( | ) |
buildOrderFields orders the fields.
Definition at line 900 of file class.ilDclTable.php.
References $fields, getFields(), and sortByOrder().
Referenced by doCreate().
ilDclTable::checkLimit | ( | ) |
Definition at line 842 of file class.ilDclTable.php.
References $from, date, getLimited(), getLimitEnd(), getLimitStart(), and IL_CAL_DATE.
Referenced by hasPermissionToDeleteRecord(), and hasPermissionToEditRecord().
ilDclTable::cloneStructure | ( | ilDclTable | $original | ) |
ilDclTable | $original |
Definition at line 1262 of file class.ilDclTable.php.
References $default_sort_field, array, cloneStructure(), 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.
Referenced by cloneStructure().
ilDclTable::compareOrder | ( | $a, | |
$b | |||
) |
ilDclTable::deleteField | ( | $field_id | ) |
$field_id |
Definition at line 407 of file class.ilDclTable.php.
References $records, ilDclCache\getFieldCache(), and getRecords().
ilDclTable::doCreate | ( | $create_tablefield_setting = true , |
|
$create_standardview = true |
|||
) |
bool | $create_views |
Definition at line 230 of file class.ilDclTable.php.
References $DIC, $id, $ilDB, $query, 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().
|
protected |
ilDclBaseRecordModel | $record |
Definition at line 830 of file class.ilDclTable.php.
References $DIC, $ilUser, and ilDclBaseRecordModel\getOwner().
Referenced by hasPermissionToDeleteRecord(), and hasPermissionToEditRecord().
ilDclTable::doRead | ( | ) |
Read table.
Definition at line 157 of file class.ilDclTable.php.
References $DIC, $ilDB, $query, getId(), getRecordFields(), getRecords(), setAddPerm(), setDefaultSortField(), setDefaultSortFieldOrder(), setDeleteByOwner(), setDeletePerm(), setDescription(), setEditByOwner(), setEditPerm(), setExportEnabled(), setImportEnabled(), setIsVisible(), setLimited(), setLimitEnd(), setLimitStart(), setObjId(), setOrder(), setPublicCommentsEnabled(), setSaveConfirmation(), setTitle(), and setViewOwnRecordsPerm().
Referenced by __construct().
ilDclTable::doUpdate | ( | ) |
Definition at line 267 of file class.ilDclTable.php.
References $DIC, $ilDB, array, 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().
ilDclTable::getAddPerm | ( | ) |
Definition at line 949 of file class.ilDclTable.php.
References $add_perm.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getCollectionObject | ( | ) |
Definition at line 360 of file class.ilDclTable.php.
References $obj, and loadObj().
ilDclTable::getCustomFields | ( | ) |
ilDclTable::getDefaultSortField | ( | ) |
Definition at line 1144 of file class.ilDclTable.php.
References $default_sort_field.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getDefaultSortFieldOrder | ( | ) |
Definition at line 1165 of file class.ilDclTable.php.
References $default_sort_field_order.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getDeleteByOwner | ( | ) |
Definition at line 1000 of file class.ilDclTable.php.
References $delete_by_owner.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToDeleteRecord().
ilDclTable::getDeletePerm | ( | ) |
Definition at line 970 of file class.ilDclTable.php.
References $delete_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), hasPermissionToDeleteRecord(), and hasPermissionToDeleteRecords().
ilDclTable::getDescription | ( | ) |
Definition at line 1123 of file class.ilDclTable.php.
References $description.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getEditableFields | ( | ) |
Definition at line 685 of file class.ilDclTable.php.
References $fields, array, and getRecordFields().
ilDclTable::getEditByOwner | ( | ) |
Definition at line 991 of file class.ilDclTable.php.
References $edit_by_owner.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToEditRecord().
ilDclTable::getEditPerm | ( | ) |
Definition at line 1033 of file class.ilDclTable.php.
References $edit_perm.
Referenced by cloneStructure(), doCreate(), doUpdate(), and hasPermissionToEditRecord().
ilDclTable::getExportableFields | ( | ) |
Return all the fields that are marked as exportable.
Definition at line 704 of file class.ilDclTable.php.
References $fields, array, and getFields().
ilDclTable::getExportEnabled | ( | ) |
Definition at line 1413 of file class.ilDclTable.php.
References $export_enabled.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getField | ( | $field_id | ) |
$field_id |
Definition at line 425 of file class.ilDclTable.php.
References $fields, and getFields().
Referenced by _hasFieldByTitle().
ilDclTable::getFieldByTitle | ( | $title | ) |
Get a field by title.
$title |
Definition at line 923 of file class.ilDclTable.php.
References $title, and getFields().
Referenced by _hasFieldByTitle().
ilDclTable::getFieldIds | ( | ) |
bool | $force_include_comments |
Definition at line 442 of file class.ilDclTable.php.
References $DIC, $fields, $ilDB, $query, array, ilDclCache\buildFieldFromRecord(), fields, getFields(), getId(), and ilDclCache\preloadFieldProperties().
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 546 of file class.ilDclTable.php.
References $all_fields, and reloadFields().
Referenced by afterClone(), buildOrderFields(), cloneStructure(), ilDclContentExporter\fillHeaderExcel(), ilDclContentExporter\fillRowExcel(), getExportableFields(), getField(), getFieldByTitle(), getFieldIds(), getNewFieldOrder(), ilObjDataCollectionTest\testDefaultTable(), and updateFields().
ilDclTable::getFirstTableViewId | ( | $ref_id, | |
$user_id = 0 |
|||
) |
get id of first (for current user) available view
$ref_id | ||
int | $user_id |
Definition at line 605 of file class.ilDclTable.php.
References $stdFields, ilDclStandardField\_getStandardFields(), array, fields, getPublicCommentsEnabled(), getVisibleTableViews(), ilDclDatatype\INPUTFORMAT_BOOLEAN, ilDclDatatype\INPUTFORMAT_FILE, ilDclDatatype\INPUTFORMAT_FORMULA, ilDclDatatype\INPUTFORMAT_ILIAS_REF, ilDclDatatype\INPUTFORMAT_MOB, ilDclDatatype\INPUTFORMAT_RATING, ilDclDatatype\INPUTFORMAT_REFERENCE, and ilDclDatatype\INPUTFORMAT_REFERENCELIST.
ilDclTable::getId | ( | ) |
Get table id.
Definition at line 315 of file class.ilDclTable.php.
References $id.
Referenced by ilDclTableViewTableGUI\__construct(), _hasFieldByTitle(), cloneStructure(), doCreate(), doRead(), doUpdate(), getFieldIds(), getNewTableviewOrder(), getTableViews(), and updateOrder().
ilDclTable::getImportEnabled | ( | ) |
Definition at line 1462 of file class.ilDclTable.php.
References $import_enabled.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getIsVisible | ( | ) |
Definition at line 1105 of file class.ilDclTable.php.
References $is_visible.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getLimited | ( | ) |
Definition at line 1051 of file class.ilDclTable.php.
References $limited.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getLimitEnd | ( | ) |
Definition at line 1069 of file class.ilDclTable.php.
References $limit_end.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getLimitStart | ( | ) |
Definition at line 1087 of file class.ilDclTable.php.
References $limit_start.
Referenced by checkLimit(), cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getNewFieldOrder | ( | ) |
getNewOrder
Definition at line 501 of file class.ilDclTable.php.
References $fields, and getFields().
ilDclTable::getNewTableviewOrder | ( | ) |
Definition at line 517 of file class.ilDclTable.php.
References ilDclTableView\getCountForTableId(), and getId().
ilDclTable::getObjId | ( | ) |
Definition at line 333 of file class.ilDclTable.php.
References $objId.
Referenced by doCreate(), doUpdate(), hasPermissionToDeleteRecord(), hasPermissionToDeleteRecords(), hasPermissionToEditRecord(), and hasPermissionToViewRecord().
ilDclTable::getOrder | ( | ) |
Definition at line 1421 of file class.ilDclTable.php.
References $table_order, and updateOrder().
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getPublicCommentsEnabled | ( | ) |
Definition at line 1183 of file class.ilDclTable.php.
References $public_comments.
Referenced by cloneStructure(), doCreate(), doUpdate(), getFirstTableViewId(), and ilObjDataCollectionTest\testDefaultTable().
ilDclTable::getRecordFields | ( | ) |
Returns all fields of this table which are NOT standard fields.
Definition at line 675 of file class.ilDclTable.php.
References $fields.
Referenced by doRead(), getEditableFields(), and ilObjDataCollectionTest\testDefaultTable().
ilDclTable::getRecords | ( | ) |
Definition at line 379 of file class.ilDclTable.php.
References $records, and loadRecords().
Referenced by _hasRecords(), afterClone(), cloneStructure(), deleteField(), doRead(), and ilObjDataCollectionTest\testDefaultTable().
ilDclTable::getSaveConfirmation | ( | ) |
Definition at line 1210 of file class.ilDclTable.php.
References $save_confirmation.
Referenced by cloneStructure(), doCreate(), and doUpdate().
ilDclTable::getTableViews | ( | ) |
Definition at line 569 of file class.ilDclTable.php.
References ilDclTableView\getAllForTableId(), and getId().
Referenced by cloneStructure(), getVisibleTableViews(), sortTableViews(), and ilObjDataCollectionTest\testDefaultTableViewCreated().
ilDclTable::getTitle | ( | ) |
Definition at line 351 of file class.ilDclTable.php.
References $title.
Referenced by cloneStructure(), doCreate(), doUpdate(), and ilObjDataCollectionTest\testDefaultTable().
ilDclTable::getViewOwnRecordsPerm | ( | ) |
Definition at line 1201 of file class.ilDclTable.php.
References $view_own_records_perm.
Referenced by _hasFieldByTitle(), cloneStructure(), doCreate(), doUpdate(), and hasPermissionToViewRecord().
ilDclTable::getVisibleTableViews | ( | $ref_id, | |
$with_active_detailedview = false , |
|||
$user_id = 0 |
|||
) |
For current user.
int | $ref_id | DataCollections reference |
int | $user_id |
Definition at line 581 of file class.ilDclTable.php.
References array, getTableViews(), ilObjDataCollectionAccess\hasAccessToTableView(), ilObjDataCollectionAccess\hasWriteAccess(), and ilDclDetailedViewDefinition\isActive().
Referenced by getFirstTableViewId().
ilDclTable::hasCustomFields | ( | ) |
hasCustomFields
Definition at line 1230 of file class.ilDclTable.php.
References fields.
ilDclTable::hasPermissionToDeleteRecord | ( | $ref_id, | |
ilDclBaseRecordModel | $record | ||
) |
$ref_id | int the reference id of the current datacollection object |
$record | ilDclBaseRecordModel the record which will be deleted |
Definition at line 755 of file class.ilDclTable.php.
References ilObject2\_lookupObjectId(), checkLimit(), doesRecordBelongToUser(), getDeleteByOwner(), getDeletePerm(), getObjId(), ilObjDataCollectionAccess\hasAddRecordAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
ilDclTable::hasPermissionToDeleteRecords | ( | $ref_id | ) |
$ref_id |
Definition at line 785 of file class.ilDclTable.php.
References ilObject2\_lookupObjectId(), getDeletePerm(), getObjId(), ilObjDataCollectionAccess\hasAddRecordAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
ilDclTable::hasPermissionToEditRecord | ( | $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 724 of file class.ilDclTable.php.
References ilObject2\_lookupObjectId(), checkLimit(), doesRecordBelongToUser(), getEditByOwner(), getEditPerm(), getObjId(), ilObjDataCollectionAccess\hasAddRecordAccess(), ilObjDataCollectionAccess\hasEditAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
ilDclTable::hasPermissionToViewRecord | ( | $ref_id, | |
$record, | |||
$user_id = 0 |
|||
) |
int | $ref_id | |
$record | ilDclBaseRecordModel | |
int | $user_id |
Definition at line 802 of file class.ilDclTable.php.
References $DIC, $ilUser, ilObject2\_lookupObjectId(), getObjId(), getViewOwnRecordsPerm(), ilObjDataCollectionAccess\hasEditAccess(), ilObjDataCollectionAccess\hasReadAccess(), and ilObjDataCollectionAccess\hasWriteAccess().
|
protected |
Definition at line 368 of file class.ilDclTable.php.
Referenced by getCollectionObject().
ilDclTable::loadRecords | ( | ) |
Definition at line 388 of file class.ilDclTable.php.
References $DIC, $ilDB, $query, $records, array, and ilDclCache\getRecordCache().
Referenced by getRecords().
ilDclTable::reloadFields | ( | ) |
Definition at line 555 of file class.ilDclTable.php.
References $fields, fields, and sortByOrder().
Referenced by getFields().
ilDclTable::setAddPerm | ( | $add_perm | ) |
boolean | $add_perm |
Definition at line 940 of file class.ilDclTable.php.
References $add_perm.
Referenced by cloneStructure(), and doRead().
ilDclTable::setDefaultSortField | ( | $default_sort_field | ) |
/**
string | $default_sort_field |
Definition at line 1134 of file class.ilDclTable.php.
References $default_sort_field.
Referenced by cloneStructure(), and doRead().
ilDclTable::setDefaultSortFieldOrder | ( | $default_sort_field_order | ) |
string | $default_sort_field_order |
Definition at line 1153 of file class.ilDclTable.php.
References $default_sort_field_order, and array.
Referenced by cloneStructure(), and doRead().
ilDclTable::setDeleteByOwner | ( | $delete_by_owner | ) |
boolean | $delete_by_owner |
Definition at line 1009 of file class.ilDclTable.php.
References $delete_by_owner, and setDeletePerm().
Referenced by cloneStructure(), doRead(), and setDeletePerm().
ilDclTable::setDeletePerm | ( | $delete_perm | ) |
boolean | $delete_perm |
Definition at line 958 of file class.ilDclTable.php.
References $delete_perm, and setDeleteByOwner().
Referenced by cloneStructure(), doRead(), and setDeleteByOwner().
ilDclTable::setDescription | ( | $description | ) |
string | $description |
Definition at line 1114 of file class.ilDclTable.php.
References $description.
Referenced by cloneStructure(), and doRead().
ilDclTable::setEditByOwner | ( | $edit_by_owner | ) |
boolean | $edit_by_owner |
Definition at line 979 of file class.ilDclTable.php.
References $edit_by_owner, and setEditPerm().
Referenced by cloneStructure(), doRead(), and setEditPerm().
ilDclTable::setEditPerm | ( | $edit_perm | ) |
boolean | $edit_perm |
Definition at line 1021 of file class.ilDclTable.php.
References $edit_perm, and setEditByOwner().
Referenced by cloneStructure(), doRead(), and setEditByOwner().
ilDclTable::setExportEnabled | ( | $export_enabled | ) |
boolean | $export_enabled |
Definition at line 1404 of file class.ilDclTable.php.
References $export_enabled.
Referenced by cloneStructure(), and doRead().
ilDclTable::setId | ( | $a_id | ) |
Set table id.
int | $a_id |
Definition at line 304 of file class.ilDclTable.php.
Referenced by doCreate().
ilDclTable::setImportEnabled | ( | $import_enabled | ) |
boolean | $import_enabled |
Definition at line 1453 of file class.ilDclTable.php.
References $import_enabled.
Referenced by cloneStructure(), and doRead().
ilDclTable::setIsVisible | ( | $is_visible | ) |
boolean | $is_visible |
Definition at line 1096 of file class.ilDclTable.php.
References $is_visible.
Referenced by cloneStructure(), and doRead().
ilDclTable::setLimited | ( | $limited | ) |
boolean | $limited |
Definition at line 1042 of file class.ilDclTable.php.
References $limited.
Referenced by cloneStructure(), and doRead().
ilDclTable::setLimitEnd | ( | $limit_end | ) |
string | $limit_end |
Definition at line 1060 of file class.ilDclTable.php.
References $limit_end.
Referenced by cloneStructure(), and doRead().
ilDclTable::setLimitStart | ( | $limit_start | ) |
string | $limit_start |
Definition at line 1078 of file class.ilDclTable.php.
References $limit_start.
Referenced by cloneStructure(), and doRead().
ilDclTable::setObjId | ( | $a_id | ) |
$a_id |
Definition at line 324 of file class.ilDclTable.php.
Referenced by doRead().
ilDclTable::setOrder | ( | $table_order | ) |
int | $table_order |
Definition at line 1444 of file class.ilDclTable.php.
References $table_order.
Referenced by cloneStructure(), and doRead().
ilDclTable::setPublicCommentsEnabled | ( | $public_comments | ) |
boolean | $public_comments |
Definition at line 1174 of file class.ilDclTable.php.
References $public_comments.
Referenced by cloneStructure(), and doRead().
ilDclTable::setSaveConfirmation | ( | $save_confirmation | ) |
boolean | $save_confirmation |
Definition at line 1219 of file class.ilDclTable.php.
References $save_confirmation.
Referenced by cloneStructure(), and doRead().
ilDclTable::setTitle | ( | $a_title | ) |
$a_title |
Definition at line 342 of file class.ilDclTable.php.
Referenced by cloneStructure(), and doRead().
ilDclTable::setViewOwnRecordsPerm | ( | $view_own_perm | ) |
boolean | $view_own_perm |
Definition at line 1192 of file class.ilDclTable.php.
Referenced by cloneStructure(), and doRead().
|
protected |
$array | ilDclBaseFieldModel[] the array to sort |
Definition at line 888 of file class.ilDclTable.php.
References array.
Referenced by buildOrderFields(), reloadFields(), and sortFields().
ilDclTable::sortFields | ( | & | $fields | ) |
sortFields
$fields | ilDclBaseFieldModel[] |
Definition at line 871 of file class.ilDclTable.php.
References $fields, array, and sortByOrder().
ilDclTable::sortTableViews | ( | array | $tableviews = null | ) |
ilDclTableView[] | $tableviews |
Definition at line 525 of file class.ilDclTable.php.
References getTableViews().
ilDclTable::updateFields | ( | ) |
Update fields.
Definition at line 859 of file class.ilDclTable.php.
References getFields().
ilDclTable::updateOrder | ( | ) |
Definition at line 1432 of file class.ilDclTable.php.
References $DIC, $ilDB, $result, and getId().
Referenced by getOrder().
|
protected |
Definition at line 59 of file class.ilDclTable.php.
Referenced by getAddPerm(), and setAddPerm().
|
protected |
Definition at line 139 of file class.ilDclTable.php.
Referenced by getFields().
|
protected |
Definition at line 109 of file class.ilDclTable.php.
Referenced by cloneStructure(), getDefaultSortField(), and setDefaultSortField().
|
protected |
Definition at line 115 of file class.ilDclTable.php.
Referenced by getDefaultSortFieldOrder(), and setDefaultSortFieldOrder().
|
protected |
Definition at line 75 of file class.ilDclTable.php.
Referenced by getDeleteByOwner(), and setDeleteByOwner().
|
protected |
Definition at line 67 of file class.ilDclTable.php.
Referenced by getDeletePerm(), and setDeletePerm().
|
protected |
Definition at line 121 of file class.ilDclTable.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 71 of file class.ilDclTable.php.
Referenced by getEditByOwner(), and setEditByOwner().
|
protected |
Definition at line 63 of file class.ilDclTable.php.
Referenced by getEditPerm(), and setEditPerm().
|
protected |
Definition at line 95 of file class.ilDclTable.php.
Referenced by getExportEnabled(), and setExportEnabled().
|
protected |
Definition at line 43 of file class.ilDclTable.php.
Referenced by buildOrderFields(), getCustomFields(), getEditableFields(), getExportableFields(), getField(), getFieldIds(), getNewFieldOrder(), getRecordFields(), reloadFields(), and sortFields().
|
protected |
Definition at line 27 of file class.ilDclTable.php.
Referenced by _getTableIdByTitle(), _hasFieldByTitle(), doCreate(), and getId().
|
protected |
Definition at line 103 of file class.ilDclTable.php.
Referenced by getImportEnabled(), and setImportEnabled().
|
protected |
Definition at line 55 of file class.ilDclTable.php.
Referenced by getIsVisible(), and setIsVisible().
|
protected |
Definition at line 91 of file class.ilDclTable.php.
Referenced by getLimitEnd(), and setLimitEnd().
|
protected |
Definition at line 87 of file class.ilDclTable.php.
Referenced by getLimitStart(), and setLimitStart().
|
protected |
Definition at line 83 of file class.ilDclTable.php.
Referenced by getLimited(), and setLimited().
|
protected |
Definition at line 35 of file class.ilDclTable.php.
Referenced by getCollectionObject().
|
protected |
Definition at line 31 of file class.ilDclTable.php.
Referenced by getObjId().
|
protected |
Definition at line 127 of file class.ilDclTable.php.
Referenced by getPublicCommentsEnabled(), and setPublicCommentsEnabled().
|
protected |
Definition at line 51 of file class.ilDclTable.php.
Referenced by _hasFieldByTitle(), deleteField(), getRecords(), and loadRecords().
|
protected |
Definition at line 79 of file class.ilDclTable.php.
Referenced by getSaveConfirmation(), and setSaveConfirmation().
|
protected |
Definition at line 47 of file class.ilDclTable.php.
Referenced by getFirstTableViewId().
|
protected |
Definition at line 99 of file class.ilDclTable.php.
Referenced by getOrder(), and setOrder().
|
protected |
Definition at line 39 of file class.ilDclTable.php.
Referenced by _getTableIdByTitle(), _hasFieldByTitle(), getFieldByTitle(), and getTitle().
|
protected |
Definition at line 133 of file class.ilDclTable.php.
Referenced by getViewOwnRecordsPerm().