aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Entity/Item.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-10-10 14:17:13 +0200
committerMario Vavti <mario@mariovavti.com>2024-10-10 14:17:13 +0200
commit96d53701222f30bc4580659e4d36f1c04d07035a (patch)
treec16c079811f5f912345d78cdeb8f0ec97f3a162a /Zotlabs/Entity/Item.php
parent2bcb6a4fede0fe525d1461d46968362cccedcaff (diff)
downloadvolse-hubzilla-96d53701222f30bc4580659e4d36f1c04d07035a.tar.gz
volse-hubzilla-96d53701222f30bc4580659e4d36f1c04d07035a.tar.bz2
volse-hubzilla-96d53701222f30bc4580659e4d36f1c04d07035a.zip
update item entity for hubzilla
Diffstat (limited to 'Zotlabs/Entity/Item.php')
-rw-r--r--Zotlabs/Entity/Item.php48
1 files changed, 3 insertions, 45 deletions
diff --git a/Zotlabs/Entity/Item.php b/Zotlabs/Entity/Item.php
index b5e7dcfb6..9e4bb5ee8 100644
--- a/Zotlabs/Entity/Item.php
+++ b/Zotlabs/Entity/Item.php
@@ -16,7 +16,7 @@ class Item extends BaseObject
// channel id of the owner of this record
public $uid;
- // UUID-V4
+ // UUID-V4 // If no UUID is provided UUID-V5 of the message id
public $uuid;
// message id
@@ -57,12 +57,8 @@ class Item extends BaseObject
public $author_xchan;
// portable id of real (upstream) author if relayed
public $source_xchan;
- // ActivityPub FEP
- public $approved;
// MIME type of item body
public $mimetype;
- // replyTo where to direct replies
- public $replyto;
// ISO language string
public $lang;
@@ -106,13 +102,9 @@ class Item extends BaseObject
// free-form text location
public $location;
- // float latitude;
- public float $lat;
- // float longitude;
- public float $lon;
- // deprecated combined coordinates (text)
+ // combined coordinates (text)
public $coord;
- // deprecated
+ // string public policy
public $public_policy;
// string comment policy
public $comment_policy;
@@ -1537,40 +1529,6 @@ class Item extends BaseObject
return $this;
}
- /**
- * @return float|null
- */
- public function getLat()
- {
- return $this->lat;
- }
-
- /**
- * @param float $lat
- * @return Item
- */
- public function setLat($lat)
- {
- $this->lat = $lat;
- return $this;
- }
- /**
- * @return float|null
- */
- public function getLon()
- {
- return $this->lon;
- }
-
- /**
- * @param float $lon
- * @return Item
- */
- public function setLon($lon)
- {
- $this->lon = $lon;
- return $this;
- }
}