You are here

class InstagramLike in Instagram Block 7

InstagramLike class.

Hierarchy

Expanded class hierarchy of InstagramLike

File

./instagram_block.lib.php, line 420
Instagram classes to integrate with the Instagram API.

View source
class InstagramLike {

  /**
   * @var string $id.
   */
  protected $id;

  /**
   * @var string $username.
   */
  public $username;

  /**
   * @var string $full_name.
   */
  public $full_name;

  /**
   * @var string $profile_picture.
   *   URL to the image src.
   */
  public $profile_picture;

  /**
   * Constructor for the InstagramLike class.
   */
  public function __construct($like) {
    $this->profile_picture = $like->profile_picture;
    $this->id = $like->id;
    $this->username = $like->username;
    $this->full_name = $like->full_name;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
InstagramLike::$full_name public property
InstagramLike::$id protected property
InstagramLike::$profile_picture public property URL to the image src.
InstagramLike::$username public property
InstagramLike::__construct public function Constructor for the InstagramLike class.