|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Recommended content manager (business logic) More...
Collaboration diagram for ilRecommendedContentManager:Public Member Functions | |
| __construct (ilRecommendedContentDBRepository $repo=null, ilRbacReview $rbacreview=null, ilFavouritesManager $fav_manager=null) | |
| Constructor. More... | |
| addRoleRecommendation (int $role_id, int $ref_id) | |
| Add role recommendation. More... | |
| removeRoleRecommendation (int $role_id, int $ref_id) | |
| Remove role recommendation. More... | |
| getRecommendationsOfRole (int $role_id) | |
| Add role recommendation. More... | |
| addObjectRecommendation (int $user_id, int $ref_id) | |
| Add object recommendation. More... | |
| removeObjectRecommendation (int $user_id, int $ref_id) | |
| Remove object recommendation. More... | |
| removeRecommendationsOfRefId (int $ref_id) | |
| Remove all recommendations of a ref id (role and user/object related) More... | |
| removeRecommendationsOfUser (int $user_id) | |
| Remove all recommendations of a user. More... | |
| removeRecommendationsOfRole (int $role_id) | |
| Remove all recommendations of a role. More... | |
| getOpenRecommendationsOfUser (int $user_id) | |
| Get open recommendations for user. More... | |
| declineObjectRecommendation (int $user_id, int $ref_id) | |
| Decline object recommendation. More... | |
Protected Attributes | |
| $access | |
| $repo | |
| $rbacreview | |
| $fav_manager | |
Recommended content manager (business logic)
Definition at line 11 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::__construct | ( | ilRecommendedContentDBRepository | $repo = null, |
| ilRbacReview | $rbacreview = null, |
||
| ilFavouritesManager | $fav_manager = null |
||
| ) |
Constructor.
Definition at line 36 of file class.ilRecommendedContentManager.php.
References $DIC, $fav_manager, $rbacreview, and $repo.
| ilRecommendedContentManager::addObjectRecommendation | ( | int | $user_id, |
| int | $ref_id | ||
| ) |
Add object recommendation.
| int | $role_id | |
| int | $ref_id |
Definition at line 94 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::addRoleRecommendation | ( | int | $role_id, |
| int | $ref_id | ||
| ) |
Add role recommendation.
| int | $role_id | |
| int | $ref_id |
Definition at line 63 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::declineObjectRecommendation | ( | int | $user_id, |
| int | $ref_id | ||
| ) |
Decline object recommendation.
| int | $user_id | |
| int | $ref_id |
Definition at line 170 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::getOpenRecommendationsOfUser | ( | int | $user_id | ) |
Get open recommendations for user.
| int | $user_sid |
Definition at line 145 of file class.ilRecommendedContentManager.php.
References $access, $i, $rbacreview, and $repo.
| ilRecommendedContentManager::getRecommendationsOfRole | ( | int | $role_id | ) |
Add role recommendation.
| int | $role_id |
Definition at line 83 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::removeObjectRecommendation | ( | int | $user_id, |
| int | $ref_id | ||
| ) |
Remove object recommendation.
| int | $user_id | |
| int | $ref_id |
Definition at line 104 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::removeRecommendationsOfRefId | ( | int | $ref_id | ) |
Remove all recommendations of a ref id (role and user/object related)
| int | $ref_id |
Definition at line 114 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::removeRecommendationsOfRole | ( | int | $role_id | ) |
Remove all recommendations of a role.
| int | $role_id |
Definition at line 134 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::removeRecommendationsOfUser | ( | int | $user_id | ) |
Remove all recommendations of a user.
| int | $user_id |
Definition at line 124 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::removeRoleRecommendation | ( | int | $role_id, |
| int | $ref_id | ||
| ) |
Remove role recommendation.
| int | $role_id | |
| int | $ref_id |
Definition at line 73 of file class.ilRecommendedContentManager.php.
|
protected |
Definition at line 16 of file class.ilRecommendedContentManager.php.
Referenced by getOpenRecommendationsOfUser().
|
protected |
Definition at line 31 of file class.ilRecommendedContentManager.php.
Referenced by __construct().
|
protected |
Definition at line 26 of file class.ilRecommendedContentManager.php.
Referenced by __construct(), and getOpenRecommendationsOfUser().
|
protected |
Definition at line 21 of file class.ilRecommendedContentManager.php.
Referenced by __construct(), and getOpenRecommendationsOfUser().