class InstagramLocation in Instagram Block 7
InstagramLocation class.
Hierarchy
- class \InstagramLocation
Expanded class hierarchy of InstagramLocation
File
- ./
instagram_block.lib.php, line 338 - Instagram classes to integrate with the Instagram API.
View source
class InstagramLocation {
/**
* @var string $id.
*/
protected $id;
/**
* @var string $name.
*/
public $name;
/**
* @var string $latitude.
*/
public $latitude;
/**
* @var string $longitude.
*/
public $longitude;
/**
* Constructor for the InstagramLocation class.
*/
public function __construct($location) {
if (isset($this->id)) {
$this->id = $location->id;
}
if (isset($this->name)) {
$this->name = $location->name;
}
if (isset($location->latitude)) {
$this->latitude = $location->latitude;
}
if (isset($location->longitude)) {
$this->longitude = $location->longitude;
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InstagramLocation:: |
protected | property | ||
InstagramLocation:: |
public | property | ||
InstagramLocation:: |
public | property | ||
InstagramLocation:: |
public | property | ||
InstagramLocation:: |
public | function | Constructor for the InstagramLocation class. |