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