Version 1
[yaffs-website] / vendor / php-instagram-api / php-instagram-api / Instagram / Collection / LikedMediaCollection.php
1 <?php
2
3 /**
4 * Instagram PHP
5 * @author Galen Grover <galenjr@gmail.com>
6 * @license http://opensource.org/licenses/mit-license.php The MIT License
7 */
8
9 namespace Instagram\Collection;
10
11 /**
12  * Liked Media Collection
13  *
14  * Holds a collection of liked media
15  */
16 class LikedMediaCollection extends \Instagram\Collection\MediaCollection {
17
18     /**
19      * Get the next max like ID
20      * 
21      * @return string
22      * @access public
23      */
24     public function getNextMaxLikeId() {
25         return isset( $this->pagination->next_max_like_id ) ? $this->pagination->next_max_like_id : null;
26     }
27
28     /**
29      * Get the next max like ID
30      * 
31      * @return string
32      * @access public
33      */
34     public function getNext() {
35         return $this->getNextMaxLikeId();
36     }
37
38 }