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