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