|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilObjMediaObjectAccess. More...
Inheritance diagram for ilObjMediaObjectAccess:
Collaboration diagram for ilObjMediaObjectAccess:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| canBeDelivered (ilWACPath $ilWACPath) | |
| 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) | |
Protected Attributes | |
| $obj_data_cache | |
| $user | |
| $access | |
Class ilObjMediaObjectAccess.
Definition at line 11 of file class.ilObjMediaObjectAccess.php.
| ilObjMediaObjectAccess::__construct | ( | ) |
Constructor.
Definition at line 32 of file class.ilObjMediaObjectAccess.php.
Here is the call graph for this function:| ilObjMediaObjectAccess::canBeDelivered | ( | ilWACPath | $ilWACPath | ) |
| ilWACPath | $ilWACPath |
Implements ilWACCheckingClass.
Definition at line 47 of file class.ilObjMediaObjectAccess.php.
References checkAccessMob(), and ilWACPath\getPath().
Here is the call graph for this function:
|
protected |
Check access rights for blog pages.
| int | object id (glossary) |
| int | page id (definition) |
Definition at line 370 of file class.ilObjMediaObjectAccess.php.
References $ilUser, $user, and checkAccessObject().
Here is the call graph for this function:
|
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 298 of file class.ilObjMediaObjectAccess.php.
References ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), ilGlossaryDefinition\_lookupTermId(), and checkAccessObject().
Here is the call graph for this function:
|
protected |
| $obj_id | |
| $page_id |
Definition at line 397 of file class.ilObjMediaObjectAccess.php.
References ilCourseObjective\_lookupContainerIdByObjectiveId(), and checkAccessObject().
Here is the call graph for this function:
|
protected |
| $obj_id |
Definition at line 61 of file class.ilObjMediaObjectAccess.php.
References ilObjMediaObject\getParentObjectIdForUsage(), ilMediaPoolPage\lookupUsages(), ilObjMediaObject\lookupUsages(), and user().
Referenced by canBeDelivered().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check access rights for an object by its object id.
| int | object id |
Definition at line 231 of file class.ilObjMediaObjectAccess.php.
References $access, $ilUser, $user, ilObject\_getAllReferences(), and ilObject\_lookupType().
Referenced by checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), and checkAccessTestQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check access rights for portfolio pages.
| int | object id (glossary) |
| int | page id (definition) |
Definition at line 349 of file class.ilObjMediaObjectAccess.php.
|
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 263 of file class.ilObjMediaObjectAccess.php.
References $access, ilObjTestAccess\_getRandomTestsForQuestionPool(), ilObject\_lookupType(), and checkAccessObject().
Here is the call graph for this function:
|
protected |
Definition at line 26 of file class.ilObjMediaObjectAccess.php.
Referenced by checkAccessObject(), and checkAccessTestQuestion().
|
protected |
Definition at line 16 of file class.ilObjMediaObjectAccess.php.
|
protected |
Definition at line 21 of file class.ilObjMediaObjectAccess.php.
Referenced by checkAccessBlogPage(), checkAccessObject(), and checkAccessPortfolioPage().