mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
Returns the ID of the target group of a post (if any)
This commit is contained in:
parent
2d820403f5
commit
0dff74f987
@ -577,6 +577,7 @@ class PostsController {
|
|||||||
$data["ID"] = $post->get_id();
|
$data["ID"] = $post->get_id();
|
||||||
$data["userID"] = $post->get_userID();
|
$data["userID"] = $post->get_userID();
|
||||||
$data["user_page_id"] = $post->get_user_page_id();
|
$data["user_page_id"] = $post->get_user_page_id();
|
||||||
|
$data["group_id"] = $post->get_group_id();
|
||||||
$data["post_time"] = $post->get_time_sent();
|
$data["post_time"] = $post->get_time_sent();
|
||||||
$data["content"] = $post->has_content() ? $post->get_content() : null;
|
$data["content"] = $post->has_content() ? $post->get_content() : null;
|
||||||
$data["visibility_level"] = self::VISIBILITY_LEVELS_API[$post->get_visibility_level()];
|
$data["visibility_level"] = self::VISIBILITY_LEVELS_API[$post->get_visibility_level()];
|
||||||
|
Loading…
Reference in New Issue
Block a user