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 | * Tag Media Collection |
---|
15 | * |
---|
16 | * Holds a collection of media associated with a tag |
---|
17 | */ |
---|
18 | class Instagram_Collection_TagMediaCollection extends Instagram_Collection_MediaCollection { |
---|
19 | |
---|
20 | /** |
---|
21 | * Get next max tag id |
---|
22 | * |
---|
23 | * Get the next max tag id for use in pagination |
---|
24 | * |
---|
25 | * @return string Returns the next max tag id |
---|
26 | * @access public |
---|
27 | */ |
---|
28 | public function getNextMaxTagId() { |
---|
29 | return isset( $this->pagination->next_max_tag_id ) ? $this->pagination->next_max_tag_id : null; |
---|
30 | } |
---|
31 | |
---|
32 | /** |
---|
33 | * Get next max tag id |
---|
34 | * |
---|
35 | * Get the next max tag id for use in pagination |
---|
36 | * |
---|
37 | * @return string Returns the next max tag id |
---|
38 | * @access public |
---|
39 | */ |
---|
40 | public function getNext() { |
---|
41 | return $this->getNextMaxTagId(); |
---|
42 | } |
---|
43 | |
---|
44 | } |
---|
45 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.