class InstagramComment in Instagram Block 7
InstagramComment class.
Hierarchy
- class \InstagramComment
Expanded class hierarchy of InstagramComment
File
- ./
instagram_block.lib.php, line 385 - Instagram classes to integrate with the Instagram API.
View source
class InstagramComment {
/**
* @var string $id.
*/
protected $id;
/**
* @var string $text.
*/
public $text;
/**
* @var InstagramUser $from.
*/
public $from;
/**
* @var string $created.
*/
public $created;
/**
* Constructor for the InstagramComment class.
*/
public function __construct($comment) {
$this->id = $comment->id;
$this->text = $comment->text;
$this->from = new InstagramUser($comment->from);
$this->created = $comment->created_time;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InstagramComment:: |
public | property | ||
InstagramComment:: |
public | property | ||
InstagramComment:: |
protected | property | ||
InstagramComment:: |
public | property | ||
InstagramComment:: |
public | function | Constructor for the InstagramComment class. |