11 defined(
'JPATH_PLATFORM') or die();
34 public function getComment($comment)
36 return $this->
get($comment);
48 public function deleteComment($comment)
50 return $this->deleteConnection($comment);
66 public function getComments($comment, $limit=0, $offset=0, $until=null, $since=null)
68 return $this->getConnection($comment,
'comments',
'', $limit, $offset, $until, $since);
81 public function createComment($comment, $message)
85 $data[
'message'] = $message;
87 return $this->createConnection($comment,
'comments', $data);
103 public function getLikes($comment, $limit=0, $offset=0, $until=null, $since=null)
105 return $this->getConnection($comment,
'likes',
'', $limit, $offset, $until, $since);
117 public function createLike($comment)
119 return $this->createConnection($comment,
'likes');
131 public function deleteLike($comment)
133 return $this->deleteConnection($comment,
'likes');