ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilObjMediaObjectAccess. More...
Public Member Functions | |
canBeDelivered (ilWACPath $ilWACPath) | |
Protected Member Functions | |
checkAccessMob ($obj_id) | |
checkAccessObject ($obj_id, $obj_type='') | |
Check access rights for an object by its object id. More... | |
checkAccessTestQuestion ($obj_id, $usage_id=0) | |
Check access rights for a test question This checks also tests with random selection of questions. More... | |
checkAccessGlossaryTerm ($obj_id, $page_id) | |
Check access rights for glossary terms This checks also learning modules linking the term. More... | |
checkAccessPortfolioPage ($obj_id, $page_id) | |
Check access rights for portfolio pages. More... | |
checkAccessBlogPage ($obj_id) | |
Check access rights for blog pages. More... | |
checkAccessLearningObjectivePage ($obj_id, $page_id) | |
Class ilObjMediaObjectAccess.
Definition at line 11 of file class.ilObjMediaObjectAccess.php.
ilObjMediaObjectAccess::canBeDelivered | ( | ilWACPath | $ilWACPath | ) |
ilWACPath | $ilWACPath |
Implements ilWACCheckingClass.
Definition at line 18 of file class.ilObjMediaObjectAccess.php.
References checkAccessMob(), and ilWACPath\getPath().
|
protected |
Check access rights for blog pages.
int | object id (glossary) |
int | page id (definition) |
Definition at line 332 of file class.ilObjMediaObjectAccess.php.
References $ilUser, and checkAccessObject().
Referenced by checkAccessMob().
|
protected |
Check access rights for glossary terms This checks also learning modules linking the term.
int | object id (glossary) |
int | page id (definition) |
Definition at line 260 of file class.ilObjMediaObjectAccess.php.
References ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), ilGlossaryDefinition\_lookupTermId(), and checkAccessObject().
Referenced by checkAccessMob().
|
protected |
$obj_id | |
$page_id |
Definition at line 358 of file class.ilObjMediaObjectAccess.php.
References ilCourseObjective\_lookupContainerIdByObjectiveId(), and checkAccessObject().
Referenced by checkAccessMob().
|
protected |
$obj_id |
Definition at line 31 of file class.ilObjMediaObjectAccess.php.
References $ilUser, ilObjMediaCastAccess\_lookupPublicFiles(), ilNewsItem\_lookupVisibility(), checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), checkAccessObject(), checkAccessPortfolioPage(), checkAccessTestQuestion(), ilObjMediaObject\getParentObjectIdForUsage(), ilImprint\isActive(), ilMediaPoolPage\lookupUsages(), ilObjMediaObject\lookupUsages(), and NEWS_PUBLIC.
Referenced by canBeDelivered().
|
protected |
Check access rights for an object by its object id.
int | object id |
Definition at line 196 of file class.ilObjMediaObjectAccess.php.
References $ilUser, $ref_id, ilObject\_getAllReferences(), and ilObject\_lookupType().
Referenced by checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), checkAccessMob(), and checkAccessTestQuestion().
|
protected |
Check access rights for portfolio pages.
int | object id (glossary) |
int | page id (definition) |
Definition at line 312 of file class.ilObjMediaObjectAccess.php.
References $ilUser.
Referenced by checkAccessMob().
|
protected |
Check access rights for a test question This checks also tests with random selection of questions.
int | object id (question pool or test) |
int | usage id (not yet used) |
Definition at line 226 of file class.ilObjMediaObjectAccess.php.
References ilObjTestAccess\_getRandomTestsForQuestionPool(), ilObject\_lookupType(), and checkAccessObject().
Referenced by checkAccessMob().