11 defined(
'JPATH_PLATFORM') or die();
34 public function getStatus($status)
36 return $this->
get($status);
52 public function getComments($status, $limit = 0, $offset = 0, $until = null, $since = null)
54 return $this->getConnection($status,
'comments',
'', $limit, $offset, $until, $since);
67 public function createComment($status, $message)
70 $data[
'message'] = $message;
72 return $this->createConnection($status,
'comments', $data);
84 public function deleteComment($comment)
86 return $this->deleteConnection($comment);
102 public function getLikes($status, $limit = 0, $offset = 0, $until = null, $since = null)
104 return $this->getConnection($status,
'likes',
'', $limit, $offset, $until, $since);
116 public function createLike($status)
118 return $this->createConnection($status,
'likes');
130 public function deleteLike($status)
132 return $this->deleteConnection($status,
'likes');