ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 | ) |
Reimplemented from ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder.
Definition at line 37 of file class.ilMobStakeholder.php.
References checkAccessMobUsage(), ilObjMediaObject\getParentObjectIdForUsage(), ilMediaPoolPage\lookupUsages(), ilObjMediaObject\lookupUsages(), and resolveObjectId().
|
protected |
Check access rights for blog pages.
int | $obj_id | blog page id |
Definition at line 326 of file class.ilMobStakeholder.php.
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.
Referenced by checkAccessMobUsage().
|
protected |
Definition at line 344 of file class.ilMobStakeholder.php.
Referenced by checkAccessMobUsage().
|
protected |
Definition at line 88 of file class.ilMobStakeholder.php.
References $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 ilObject\_lookupType().
Referenced by checkAccessMobUsage().
|
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.
Referenced by checkAccessMobUsage().
ilMobStakeholder::getId | ( | ) |
Implements ILIAS\ResourceStorage\Stakeholder\ResourceStakeholder.
Definition at line 27 of file class.ilMobStakeholder.php.
ilMobStakeholder::getLocationURIForResourceUsage | ( | ResourceIdentification | $identification | ) |
Reimplemented from ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder.
Definition at line 360 of file class.ilMobStakeholder.php.
References $ref_id, and ilObject\_getAllReferences().
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, and ILIAS\Repository\database().
|
private |
Definition at line 373 of file class.ilMobStakeholder.php.
References Vendor\Package\$d, ILIAS\Repository\database(), and ILIAS\ResourceStorage\Identification\AbstractIdentification\serialize().
Referenced by canBeAccessedByCurrentUser().
ilMobStakeholder::resourceHasBeenDeleted | ( | ResourceIdentification | $identification | ) |
Reimplemented from ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder.
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.