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/CollectionAbstract.php'); |
---|
11 | include_once(INSTAGRAM_ROOT.'/Comment.php'); |
---|
12 | |
---|
13 | |
---|
14 | /** |
---|
15 | * Comment Collection |
---|
16 | * |
---|
17 | * Holds a collection of comments |
---|
18 | */ |
---|
19 | class Instagram_Collection_CommentCollection extends Instagram_Collection_CollectionAbstract { |
---|
20 | |
---|
21 | /** |
---|
22 | * Set the collection data |
---|
23 | * |
---|
24 | * @param StdClass $raw_data |
---|
25 | * @access public |
---|
26 | */ |
---|
27 | public function setData( $raw_data ) { |
---|
28 | $this->data = $raw_data->data; |
---|
29 | $this->convertData( 'Instagram_Comment' ); |
---|
30 | } |
---|
31 | |
---|
32 | } |
---|
33 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.