X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fphp-instagram-api%2Fphp-instagram-api%2FInstagram%2FCollection%2FLikedMediaCollection.php;fp=vendor%2Fphp-instagram-api%2Fphp-instagram-api%2FInstagram%2FCollection%2FLikedMediaCollection.php;h=b76cbcb59ba79728753c06159f343f5100682225;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/LikedMediaCollection.php b/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/LikedMediaCollection.php new file mode 100644 index 000000000..b76cbcb59 --- /dev/null +++ b/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/LikedMediaCollection.php @@ -0,0 +1,38 @@ + +* @license http://opensource.org/licenses/mit-license.php The MIT License +*/ + +namespace Instagram\Collection; + +/** + * Liked Media Collection + * + * Holds a collection of liked media + */ +class LikedMediaCollection extends \Instagram\Collection\MediaCollection { + + /** + * Get the next max like ID + * + * @return string + * @access public + */ + public function getNextMaxLikeId() { + return isset( $this->pagination->next_max_like_id ) ? $this->pagination->next_max_like_id : null; + } + + /** + * Get the next max like ID + * + * @return string + * @access public + */ + public function getNext() { + return $this->getNextMaxLikeId(); + } + +} \ No newline at end of file