mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
126 lines
1.9 KiB
PHP
126 lines
1.9 KiB
PHP
<?php
|
|
|
|
namespace Zotlabs\ActivityStreams;
|
|
|
|
class Place extends ASObject
|
|
{
|
|
|
|
public $accuracy;
|
|
public $altitude;
|
|
public $latitude;
|
|
public $longitude;
|
|
public $radius;
|
|
public $units;
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAccuracy()
|
|
{
|
|
return $this->accuracy;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $accuracy
|
|
* @return Place
|
|
*/
|
|
public function setAccuracy($accuracy)
|
|
{
|
|
$this->accuracy = $accuracy;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAltitude()
|
|
{
|
|
return $this->altitude;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $altitude
|
|
* @return Place
|
|
*/
|
|
public function setAltitude($altitude)
|
|
{
|
|
$this->altitude = $altitude;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getLatitude()
|
|
{
|
|
return $this->latitude;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $latitude
|
|
* @return Place
|
|
*/
|
|
public function setLatitude($latitude)
|
|
{
|
|
$this->latitude = $latitude;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getLongitude()
|
|
{
|
|
return $this->longitude;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $longitude
|
|
* @return Place
|
|
*/
|
|
public function setLongitude($longitude)
|
|
{
|
|
$this->longitude = $longitude;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getRadius()
|
|
{
|
|
return $this->radius;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $radius
|
|
* @return Place
|
|
*/
|
|
public function setRadius($radius)
|
|
{
|
|
$this->radius = $radius;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getUnits()
|
|
{
|
|
return $this->units;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $units
|
|
* @return Place
|
|
*/
|
|
public function setUnits($units)
|
|
{
|
|
$this->units = $units;
|
|
return $this;
|
|
}
|
|
|
|
|
|
|
|
}
|