|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilBuddySystemRelationRepository. More...
Collaboration diagram for ilBuddySystemRelationRepository:Public Member Functions | |
| __construct (protected int $usrId, ilDBInterface $db=null) | |
| getAll () | |
| Reads all items from database. More... | |
| destroy () | |
| save (ilBuddySystemRelation $relation) | |
Protected Attributes | |
| ilDBInterface | $db |
Private Member Functions | |
| getRelationByDatabaseRecord (array $row) | |
| addToApprovedBuddies (ilBuddySystemRelation $relation) | |
| removeFromApprovedBuddies (ilBuddySystemRelation $relation) | |
| addToRequestedBuddies (ilBuddySystemRelation $relation, bool $ignored) | |
| removeFromRequestedBuddies (ilBuddySystemRelation $relation) | |
Private Attributes | |
| const | TYPE_APPROVED = 'app' |
| const | TYPE_REQUESTED = 'req' |
| const | TYPE_IGNORED = 'ign' |
Class ilBuddySystemRelationRepository.
Definition at line 25 of file class.ilBuddySystemRelationRepository.php.
| ilBuddySystemRelationRepository::__construct | ( | protected int | $usrId, |
| ilDBInterface | $db = null |
||
| ) |
|
private |
Definition at line 139 of file class.ilBuddySystemRelationRepository.php.
References ilBuddySystemRelation\getBuddyUsrId(), ilBuddySystemRelation\getTimestamp(), and ilBuddySystemRelation\getUsrId().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 179 of file class.ilBuddySystemRelationRepository.php.
References ilBuddySystemRelation\getBuddyUsrId(), ilBuddySystemRelation\getTimestamp(), ilBuddySystemRelation\getUsrId(), and ILIAS\Repository\int().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelationRepository::destroy | ( | ) |
Definition at line 124 of file class.ilBuddySystemRelationRepository.php.
| ilBuddySystemRelationRepository::getAll | ( | ) |
Reads all items from database.
Definition at line 44 of file class.ilBuddySystemRelationRepository.php.
References ILIAS\LTI\ToolProvider\$key, $relation, $res, and getRelationByDatabaseRecord().
Here is the call graph for this function:
|
private |
Definition at line 93 of file class.ilBuddySystemRelationRepository.php.
Referenced by getAll().
Here is the caller graph for this function:
|
private |
Definition at line 164 of file class.ilBuddySystemRelationRepository.php.
References ilBuddySystemRelation\getBuddyUsrId(), and ilBuddySystemRelation\getUsrId().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 194 of file class.ilBuddySystemRelationRepository.php.
References ilBuddySystemRelation\getBuddyUsrId(), and ilBuddySystemRelation\getUsrId().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelationRepository::save | ( | ilBuddySystemRelation | $relation | ) |
Definition at line 209 of file class.ilBuddySystemRelationRepository.php.
References $ilDB, addToApprovedBuddies(), addToRequestedBuddies(), ilBuddySystemRelation\isIgnored(), ilBuddySystemRelation\isLinked(), ilBuddySystemRelation\isRequested(), removeFromApprovedBuddies(), removeFromRequestedBuddies(), ilBuddySystemRelation\wasIgnored(), ilBuddySystemRelation\wasLinked(), and ilBuddySystemRelation\wasRequested().
Here is the call graph for this function:
|
protected |
Definition at line 31 of file class.ilBuddySystemRelationRepository.php.
|
private |
Definition at line 27 of file class.ilBuddySystemRelationRepository.php.
|
private |
Definition at line 29 of file class.ilBuddySystemRelationRepository.php.
|
private |
Definition at line 28 of file class.ilBuddySystemRelationRepository.php.