ILIAS
release_8 Revision v8.19
|
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 (ilRecommendedContentDBRepository $repo=null, ilRbacReview $rbacreview=null, ilFavouritesManager $fav_manager=null) | |
addRoleRecommendation (int $role_id, int $ref_id) | |
removeRoleRecommendation (int $role_id, int $ref_id) | |
getRecommendationsOfRole (int $role_id) | |
addObjectRecommendation (int $user_id, int $ref_id) | |
removeObjectRecommendation (int $user_id, int $ref_id) | |
removeRecommendationsOfRefId (int $ref_id) | |
removeRecommendationsOfUser (int $user_id) | |
removeRecommendationsOfRole (int $role_id) | |
getOpenRecommendationsOfUser (int $user_id) | |
declineObjectRecommendation (int $user_id, int $ref_id) | |
Protected Attributes | |
ilRecommendedContentDBRepository | $repo |
ilRbacReview | $rbacreview |
ilFavouritesManager | $fav_manager |
ilAccessHandler | $access |
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 Recommended content manager (business logic)
Definition at line 25 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::__construct | ( | ilRecommendedContentDBRepository | $repo = null , |
ilRbacReview | $rbacreview = null , |
||
ilFavouritesManager | $fav_manager = null |
||
) |
Definition at line 32 of file class.ilRecommendedContentManager.php.
References $DIC, $fav_manager, $rbacreview, $repo, and ILIAS\Repository\access().
ilRecommendedContentManager::addObjectRecommendation | ( | int | $user_id, |
int | $ref_id | ||
) |
Definition at line 73 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::addRoleRecommendation | ( | int | $role_id, |
int | $ref_id | ||
) |
Definition at line 54 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::declineObjectRecommendation | ( | int | $user_id, |
int | $ref_id | ||
) |
Definition at line 121 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::getOpenRecommendationsOfUser | ( | int | $user_id | ) |
Definition at line 102 of file class.ilRecommendedContentManager.php.
References $access, $i, $rbacreview, $repo, ilRBACAccessHandler\checkAccess(), and ilRecommendedContentDBRepository\getOpenRecommendationsOfUser().
ilRecommendedContentManager::getRecommendationsOfRole | ( | int | $role_id | ) |
Definition at line 67 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::removeObjectRecommendation | ( | int | $user_id, |
int | $ref_id | ||
) |
Definition at line 78 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::removeRecommendationsOfRefId | ( | int | $ref_id | ) |
Definition at line 84 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::removeRecommendationsOfRole | ( | int | $role_id | ) |
Definition at line 94 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::removeRecommendationsOfUser | ( | int | $user_id | ) |
Definition at line 89 of file class.ilRecommendedContentManager.php.
ilRecommendedContentManager::removeRoleRecommendation | ( | int | $role_id, |
int | $ref_id | ||
) |
Definition at line 59 of file class.ilRecommendedContentManager.php.
|
protected |
Definition at line 30 of file class.ilRecommendedContentManager.php.
Referenced by getOpenRecommendationsOfUser().
|
protected |
Definition at line 29 of file class.ilRecommendedContentManager.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.ilRecommendedContentManager.php.
Referenced by __construct(), and getOpenRecommendationsOfUser().
|
protected |
Definition at line 27 of file class.ilRecommendedContentManager.php.
Referenced by __construct(), and getOpenRecommendationsOfUser().