|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 | |
| $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 31 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 87 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 56 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 162 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::getOpenRecommendationsOfUser | ( | int | $user_id | ) |
Get open recommendations for user.
| int | $user_sid |
Definition at line 138 of file class.ilRecommendedContentManager.php.
References $i, $rbacreview, and $repo.
| ilRecommendedContentManager::getRecommendationsOfRole | ( | int | $role_id | ) |
Add role recommendation.
| int | $role_id |
Definition at line 76 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 97 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 107 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::removeRecommendationsOfRole | ( | int | $role_id | ) |
Remove all recommendations of a role.
| int | $role_id |
Definition at line 127 of file class.ilRecommendedContentManager.php.
| ilRecommendedContentManager::removeRecommendationsOfUser | ( | int | $user_id | ) |
Remove all recommendations of a user.
| int | $user_id |
Definition at line 117 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 66 of file class.ilRecommendedContentManager.php.
|
protected |
Definition at line 26 of file class.ilRecommendedContentManager.php.
Referenced by __construct().
|
protected |
Definition at line 21 of file class.ilRecommendedContentManager.php.
Referenced by __construct(), and getOpenRecommendationsOfUser().
|
protected |
Definition at line 16 of file class.ilRecommendedContentManager.php.
Referenced by __construct(), and getOpenRecommendationsOfUser().