11 defined(
'JPATH_PLATFORM') or die();
34 public function getPost($post)
36 return $this->
get($post);
48 public function deletePost($post)
50 return $this->deleteConnection($post);
66 public function getComments($post, $limit = 0, $offset = 0, $until = null, $since = null)
68 return $this->getConnection($post,
'comments',
'', $limit, $offset, $until, $since);
81 public function createComment($post, $message)
84 $data[
'message'] = $message;
86 return $this->createConnection($post,
'comments', $data);
98 public function deleteComment($comment)
100 return $this->deleteConnection($comment);
116 public function getLikes($post, $limit = 0, $offset = 0, $until = null, $since = null)
118 return $this->getConnection($post,
'likes',
'', $limit, $offset, $until, $since);
130 public function createLike($post)
132 return $this->createConnection($post,
'likes');
144 public function deleteLike($post)
146 return $this->deleteConnection($post,
'likes');