source: extensions/instagram2piwigo/include/Instagram/Collection/CommentCollection.php @ 19561

Last change on this file since 19561 was 19561, checked in by mistic100, 11 years ago

first commit

File size: 679 bytes
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
10include_once(INSTAGRAM_ROOT.'/Collection/CollectionAbstract.php');
11include_once(INSTAGRAM_ROOT.'/Comment.php');
12
13
14/**
15 * Comment Collection
16 *
17 * Holds a collection of comments
18 */
19class 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.