mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 16:45:17 +00:00
Can get and return the number of likes of a group.
This commit is contained in:
@ -18,6 +18,7 @@ class Likes {
|
||||
const LIKE_USER = "user";
|
||||
const LIKE_POST = "post";
|
||||
const LIKE_COMMENT = "comment";
|
||||
const LIKE_GROUP = "group";
|
||||
|
||||
/**
|
||||
* Translation of the kinds of like for the database
|
||||
@ -25,7 +26,8 @@ class Likes {
|
||||
const KINDS_DB = array(
|
||||
Likes::LIKE_USER => "page",
|
||||
Likes::LIKE_POST => "texte",
|
||||
Likes::LIKE_COMMENT => "commentaire"
|
||||
Likes::LIKE_COMMENT => "commentaire",
|
||||
Likes::LIKE_GROUP => "group"
|
||||
);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user