| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilObjMediaObjectAccess:
 Collaboration diagram for ilObjMediaObjectAccess: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().
 Here is the call graph for this function:| ilObjMediaObjectAccess::canBeDelivered | ( | ilWACPath | $ilWACPath | ) | 
Implements ilWACCheckingClass.
Definition at line 40 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 | $obj_id | blog page id | 
Definition at line 340 of file class.ilObjMediaObjectAccess.php.
References $user, and checkAccessObject().
Referenced by checkAccessMob().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 359 of file class.ilObjMediaObjectAccess.php.
References ilCourseObjective\_lookupContainerIdByObjectiveId(), and checkAccessObject().
Referenced by checkAccessMob().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 48 of file class.ilObjMediaObjectAccess.php.
References $obj_data_cache, $user, ilObjMediaCastAccess\_lookupPublicFiles(), ilNewsItem\_lookupVisibility(), checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), checkAccessObject(), checkAccessPortfolioPage(), checkAccessTestQuestion(), ilObject\getId(), ilObjMediaObject\getParentObjectIdForUsage(), ilImprint\isActive(), ILIAS\Repository\logger(), ilMediaPoolPage\lookupUsages(), ilObjMediaObject\lookupUsages(), ilForumPostDraft\newInstanceByDraftId(), NEWS_PUBLIC, SYSTEM_FOLDER_ID, and ILIAS\Repository\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.
Definition at line 211 of file class.ilObjMediaObjectAccess.php.
References $access, $ref_id, $user, ilObject\_getAllReferences(), ilObject\_lookupType(), and ilObject\getId().
Referenced by checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), checkAccessMob(), 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 | $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().
 Here is the caller graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  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().