ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct () | |
canBeDelivered (ilWACPath $ilWACPath) | |
Protected Member Functions | |
checkAccessMob (int $obj_id) | |
checkAccessObject (int $obj_id, string $obj_type='') | |
Check access rights for an object by its object id. More... | |
checkAccessTestQuestion (int $obj_id, int $usage_id=0) | |
Check access rights for a test question This checks also tests with random selection of questions. More... | |
checkAccessGlossaryTerm (int $obj_id, int $page_id) | |
Check access rights for glossary terms This checks also learning modules linking the term. More... | |
checkAccessPortfolioPage (int $obj_id, int $page_id) | |
Check access rights for portfolio pages. More... | |
checkAccessBlogPage (int $obj_id) | |
Check access rights for blog pages. More... | |
checkAccessLearningObjectivePage (int $obj_id, int $page_id) | |
Protected Attributes | |
ilObjectDataCache | $obj_data_cache |
ilObjUser | $user |
ilAccessHandler | $access |
ilLogger | $logger |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilObjMediaObjectAccess
Definition at line 23 of file class.ilObjMediaObjectAccess.php.
ilObjMediaObjectAccess::__construct | ( | ) |
Definition at line 30 of file class.ilObjMediaObjectAccess.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
ilObjMediaObjectAccess::canBeDelivered | ( | ilWACPath | $ilWACPath | ) |
Implements ilWACCheckingClass.
Definition at line 40 of file class.ilObjMediaObjectAccess.php.
References checkAccessMob(), and ilWACPath\getPath().
|
protected |
Check access rights for blog pages.
int | $obj_id | blog page id |
Definition at line 340 of file class.ilObjMediaObjectAccess.php.
References $user, and checkAccessObject().
Referenced by checkAccessMob().
|
protected |
Check access rights for glossary terms This checks also learning modules linking the term.
int | $obj_id | object id (glossary) |
int | $page_id | page id (definition) |
Definition at line 273 of file class.ilObjMediaObjectAccess.php.
References ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), and checkAccessObject().
Referenced by checkAccessMob().
|
protected |
Definition at line 359 of file class.ilObjMediaObjectAccess.php.
References ilCourseObjective\_lookupContainerIdByObjectiveId(), and checkAccessObject().
Referenced by checkAccessMob().
|
protected |
Definition at line 48 of file class.ilObjMediaObjectAccess.php.
References $obj_data_cache, $user, $user_id, ilObjMediaCastAccess\_lookupPublicFiles(), ilNewsItem\_lookupVisibility(), checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), checkAccessObject(), checkAccessPortfolioPage(), checkAccessTestQuestion(), ilObjMediaObject\getParentObjectIdForUsage(), ilImprint\isActive(), ILIAS\Repository\logger(), ilMediaPoolPage\lookupUsages(), ilObjMediaObject\lookupUsages(), ilForumPostDraft\newInstanceByDraftId(), NEWS_PUBLIC, null, SYSTEM_FOLDER_ID, and ILIAS\Repository\user().
Referenced by canBeDelivered().
|
protected |
Check access rights for an object by its object id.
Definition at line 211 of file class.ilObjMediaObjectAccess.php.
References $access, $ref_id, $user, $user_id, ilObject\_getAllReferences(), and ilObject\_lookupType().
Referenced by checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), checkAccessMob(), and checkAccessTestQuestion().
|
protected |
Check access rights for portfolio pages.
int | $obj_id | object id (glossary) |
int | $page_id | page id (definition) |
Definition at line 322 of file class.ilObjMediaObjectAccess.php.
References $user.
Referenced by checkAccessMob().
|
protected |
Check access rights for a test question This checks also tests with random selection of questions.
int | $obj_id | object id (question pool or test) |
Definition at line 241 of file class.ilObjMediaObjectAccess.php.
References ilObjTestAccess\_getRandomTestsForQuestionPool(), ilObject\_lookupType(), and checkAccessObject().
Referenced by checkAccessMob().
|
protected |
Definition at line 27 of file class.ilObjMediaObjectAccess.php.
Referenced by checkAccessObject().
|
protected |
Definition at line 28 of file class.ilObjMediaObjectAccess.php.
|
protected |
Definition at line 25 of file class.ilObjMediaObjectAccess.php.
Referenced by checkAccessMob().
|
protected |
Definition at line 26 of file class.ilObjMediaObjectAccess.php.
Referenced by checkAccessBlogPage(), checkAccessMob(), checkAccessObject(), and checkAccessPortfolioPage().