ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (int $ref_id) | |
canAdd ($user_id=0) | |
canAccessManageOverview ($user_id=0) | |
List of news of the news block. More... | |
canEditSettings ($user_id=0) | |
canEditAll ($user_id=0) | |
canEdit (\ilNewsItem $i, $user_id=0) | |
canDelete (\ilNewsItem $i, $user_id=0) | |
Protected Member Functions | |
getUserId (int $user_id=0) | |
Protected Attributes | |
int | $current_user_id |
ilAccessHandler | $access |
int | $ref_id |
Definition at line 23 of file class.NewsAccess.php.
ILIAS\News\Access\NewsAccess::__construct | ( | int | $ref_id | ) |
Definition at line 29 of file class.NewsAccess.php.
References $DIC, ILIAS\News\Access\NewsAccess\$ref_id, and ILIAS\Repository\access().
ILIAS\News\Access\NewsAccess::canAccessManageOverview | ( | $user_id = 0 | ) |
List of news of the news block.
Definition at line 59 of file class.NewsAccess.php.
References ILIAS\News\Access\NewsAccess\canAdd().
ILIAS\News\Access\NewsAccess::canAdd | ( | $user_id = 0 | ) |
Definition at line 45 of file class.NewsAccess.php.
References ILIAS\Repository\access(), ILIAS\News\Access\NewsAccess\canEditAll(), and ILIAS\News\Access\NewsAccess\getUserId().
Referenced by ILIAS\News\Access\NewsAccess\canAccessManageOverview().
ILIAS\News\Access\NewsAccess::canDelete | ( | \ilNewsItem | $i, |
$user_id = 0 |
|||
) |
Definition at line 92 of file class.NewsAccess.php.
References ILIAS\News\Access\NewsAccess\canEdit().
ILIAS\News\Access\NewsAccess::canEdit | ( | \ilNewsItem | $i, |
$user_id = 0 |
|||
) |
Definition at line 84 of file class.NewsAccess.php.
References ILIAS\News\Access\NewsAccess\canEditAll(), ilNewsItem\getPriority(), ILIAS\News\Access\NewsAccess\getUserId(), and ilNewsItem\getUserId().
Referenced by ILIAS\News\Access\NewsAccess\canDelete().
ILIAS\News\Access\NewsAccess::canEditAll | ( | $user_id = 0 | ) |
Definition at line 74 of file class.NewsAccess.php.
References ILIAS\Repository\access(), and ILIAS\News\Access\NewsAccess\getUserId().
Referenced by ILIAS\News\Access\NewsAccess\canAdd(), and ILIAS\News\Access\NewsAccess\canEdit().
ILIAS\News\Access\NewsAccess::canEditSettings | ( | $user_id = 0 | ) |
Definition at line 64 of file class.NewsAccess.php.
References ILIAS\Repository\access(), and ILIAS\News\Access\NewsAccess\getUserId().
|
protected |
Definition at line 38 of file class.NewsAccess.php.
References ILIAS\News\Access\NewsAccess\$current_user_id.
Referenced by ILIAS\News\Access\NewsAccess\canAdd(), ILIAS\News\Access\NewsAccess\canEdit(), ILIAS\News\Access\NewsAccess\canEditAll(), and ILIAS\News\Access\NewsAccess\canEditSettings().
|
protected |
Definition at line 26 of file class.NewsAccess.php.
|
protected |
Definition at line 25 of file class.NewsAccess.php.
Referenced by ILIAS\News\Access\NewsAccess\getUserId().
|
protected |
Definition at line 27 of file class.NewsAccess.php.
Referenced by ILIAS\News\Access\NewsAccess\__construct().