static dislike |
( |
|
$topic_id | ) |
|
|
static |
Revoke the liking of the posting denoted by the passed topic_id for the currently logged in user
- Parameters
-
static getLikes |
( |
|
$topic_id | ) |
|
|
static |
Get the user_id for all likers of the topic denoted by the passed id
- Parameters
-
- Returns
- array an array of user_id's
Set the posting denoted by the passed topic_id as liked for the currently logged in user
- Parameters
-
static receivedForUser |
( |
|
$user_id | ) |
|
|
static |
count the number of likes the user has received - system-wide
type $entries
- Parameters
-
string | $user_id | the user's id to count the received likes for |
- Returns
- int the number of likes received
The documentation for this class was generated from the following file: