11 defined(
'JPATH_PLATFORM') or die();
34 public function getLink($link)
36 return $this->
get($link);
52 public function getComments($link, $limit = 0, $offset = 0, $until = null, $since = null)
54 return $this->getConnection($link,
'comments',
'', $limit, $offset, $until, $since);
67 public function createComment($link, $message)
71 $data[
'message'] = $message;
73 return $this->createConnection($link,
'comments', $data);
85 public function deleteComment($comment)
87 return $this->deleteConnection($comment);
103 public function getLikes($link, $limit = 0, $offset = 0, $until = null, $since = null)
105 return $this->getConnection($link,
'likes',
'', $limit, $offset, $until, $since);
117 public function createLike($link)
119 return $this->createConnection($link,
'likes');
131 public function deleteLike($link)
133 return $this->deleteConnection($link,
'likes');