Line | |
---|
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 | |
---|
10 | include_once(INSTAGRAM_ROOT.'/Collection/MediaCollection.php'); |
---|
11 | |
---|
12 | |
---|
13 | /** |
---|
14 | * Liked Media Collection |
---|
15 | * |
---|
16 | * Holds a collection of liked media |
---|
17 | */ |
---|
18 | class Instagram_Collection_LikedMediaCollection extends Instagram_Collection_MediaCollection { |
---|
19 | |
---|
20 | /** |
---|
21 | * Get the next max like ID |
---|
22 | * |
---|
23 | * @return string |
---|
24 | * @access public |
---|
25 | */ |
---|
26 | public function getNextMaxLikeId() { |
---|
27 | return isset( $this->pagination->next_max_like_id ) ? $this->pagination->next_max_like_id : null; |
---|
28 | } |
---|
29 | |
---|
30 | /** |
---|
31 | * Get the next max like ID |
---|
32 | * |
---|
33 | * @return string |
---|
34 | * @access public |
---|
35 | */ |
---|
36 | public function getNext() { |
---|
37 | return $this->getNextMaxLikeId(); |
---|
38 | } |
---|
39 | |
---|
40 | } |
---|
41 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.