ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
getId () | |
getOwnerOfNewResources () | |
canBeAccessedByCurrentUser (ResourceIdentification $identification) | |
resourceHasBeenDeleted (ResourceIdentification $identification) | |
getLocationURIForResourceUsage (ResourceIdentification $identification) | |
![]() | |
__construct (?int $user_id_of_owner=null) | |
setOwner (int $user_id_of_owner) | |
getFullyQualifiedClassName () | |
isResourceInUse (ResourceIdentification $identification) | |
canBeAccessedByCurrentUser (ResourceIdentification $identification) | |
resourceHasBeenDeleted (ResourceIdentification $identification) | |
getOwnerOfResource (ResourceIdentification $identification) | |
getConsumerNameForPresentation () | |
getLocationURIForResourceUsage (ResourceIdentification $identification) | |
![]() | |
__construct () | |
Constructor must not have any parameters. More... | |
Protected Member Functions | |
checkAccessMobUsage (array $usage, int $oid) | |
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 | |
ilAccessHandler | $access |
ilDBInterface | $database = null |
![]() | |
int | $default_owner |
int | $current_user |
Private Member Functions | |
resolveObjectId (ResourceIdentification $identification) | |
initDB () | |
Definition at line 22 of file class.ilMobStakeholder.php.
ilMobStakeholder::canBeAccessedByCurrentUser | ( | ResourceIdentification | $identification | ) |
Implements ILIAS\ResourceStorage\Stakeholder\ResourceStakeholder.
Definition at line 37 of file class.ilMobStakeholder.php.
References checkAccessMobUsage(), ilObjMediaObject\getParentObjectIdForUsage(), ilMediaPoolPage\lookupUsages(), ilObjMediaObject\lookupUsages(), null, and resolveObjectId().
|
protected |
Check access rights for blog pages.
int | $obj_id | blog page id |
Definition at line 326 of file class.ilMobStakeholder.php.
References checkAccessObject().
Referenced by checkAccessMobUsage().
|
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 260 of file class.ilMobStakeholder.php.
References ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), and checkAccessObject().
Referenced by checkAccessMobUsage().
|
protected |
Definition at line 344 of file class.ilMobStakeholder.php.
References ilCourseObjective\_lookupContainerIdByObjectiveId(), and checkAccessObject().
Referenced by checkAccessMobUsage().
|
protected |
Definition at line 88 of file class.ilMobStakeholder.php.
References ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder\$current_user, $user_id, ilObjMediaCastAccess\_lookupPublicFiles(), ilObject\_lookupType(), ilNewsItem\_lookupVisibility(), checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), checkAccessObject(), checkAccessPortfolioPage(), checkAccessTestQuestion(), ilImprint\isActive(), ilForumPostDraft\newInstanceByDraftId(), NEWS_PUBLIC, and SYSTEM_FOLDER_ID.
Referenced by canBeAccessedByCurrentUser().
|
protected |
Check access rights for an object by its object id.
Definition at line 197 of file class.ilMobStakeholder.php.
References ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder\$current_user, $DIC, $ref_id, $user_id, ilObject\_getAllReferences(), and ilObject\_lookupType().
Referenced by checkAccessBlogPage(), checkAccessGlossaryTerm(), checkAccessLearningObjectivePage(), checkAccessMobUsage(), and checkAccessTestQuestion().
|
protected |
Check access rights for portfolio pages.
int | $obj_id | object id (glossary) |
int | $page_id | page id (definition) |
Definition at line 309 of file class.ilMobStakeholder.php.
Referenced by checkAccessMobUsage().
|
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 228 of file class.ilMobStakeholder.php.
References ilObjTestAccess\_getRandomTestsForQuestionPool(), ilObject\_lookupType(), and checkAccessObject().
Referenced by checkAccessMobUsage().
ilMobStakeholder::getId | ( | ) |
Implements ILIAS\ResourceStorage\Stakeholder\ResourceStakeholder.
Definition at line 27 of file class.ilMobStakeholder.php.
ilMobStakeholder::getLocationURIForResourceUsage | ( | ResourceIdentification | $identification | ) |
Implements ILIAS\ResourceStorage\Stakeholder\ResourceStakeholder.
Definition at line 360 of file class.ilMobStakeholder.php.
References $ref_id, ilObject\_getAllReferences(), initDB(), null, and resolveObjectId().
ilMobStakeholder::getOwnerOfNewResources | ( | ) |
Implements ILIAS\ResourceStorage\Stakeholder\ResourceStakeholder.
Definition at line 32 of file class.ilMobStakeholder.php.
References ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder\$default_owner.
|
private |
Definition at line 386 of file class.ilMobStakeholder.php.
References $DIC, ILIAS\Repository\database(), and null.
Referenced by getLocationURIForResourceUsage(), and resolveObjectId().
|
private |
Definition at line 373 of file class.ilMobStakeholder.php.
References Vendor\Package\$d, $r, ILIAS\Repository\database(), initDB(), null, and ILIAS\ResourceStorage\Identification\AbstractIdentification\serialize().
Referenced by canBeAccessedByCurrentUser(), and getLocationURIForResourceUsage().
ilMobStakeholder::resourceHasBeenDeleted | ( | ResourceIdentification | $identification | ) |
Implements ILIAS\ResourceStorage\Stakeholder\ResourceStakeholder.
Definition at line 353 of file class.ilMobStakeholder.php.
|
protected |
Definition at line 24 of file class.ilMobStakeholder.php.
|
protected |
Definition at line 25 of file class.ilMobStakeholder.php.