aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/ActivityStreams/CollectionPage.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-10-06 08:59:36 +0000
committerMario <mario@mariovavti.com>2024-10-06 08:59:36 +0000
commit19eeadfe5bafb8bdec3ac102d9b9f49593cc0933 (patch)
tree4cedc8629789ce45c733a3a3c7df4ae4d601169e /Zotlabs/ActivityStreams/CollectionPage.php
parent2693e9e99097c4bbcf8c9103a5876bc0585ff84c (diff)
downloadvolse-hubzilla-19eeadfe5bafb8bdec3ac102d9b9f49593cc0933.tar.gz
volse-hubzilla-19eeadfe5bafb8bdec3ac102d9b9f49593cc0933.tar.bz2
volse-hubzilla-19eeadfe5bafb8bdec3ac102d9b9f49593cc0933.zip
port some libs from streams repo
Diffstat (limited to 'Zotlabs/ActivityStreams/CollectionPage.php')
-rw-r--r--Zotlabs/ActivityStreams/CollectionPage.php73
1 files changed, 73 insertions, 0 deletions
diff --git a/Zotlabs/ActivityStreams/CollectionPage.php b/Zotlabs/ActivityStreams/CollectionPage.php
new file mode 100644
index 000000000..4bdedc93e
--- /dev/null
+++ b/Zotlabs/ActivityStreams/CollectionPage.php
@@ -0,0 +1,73 @@
+<?php
+
+namespace Zotlabs\ActivityStreams;
+
+class CollectionPage extends Collection
+{
+ public $partOf;
+ public $next;
+ public $prev;
+
+ // startIndex only applies for OrderedCollectionPage. See
+ // https://www.w3.org/ns/activitystreams#OrderedCollectionPage
+ // It is provided here to avoid multiple inheritance
+
+ public $startIndex;
+
+ /**
+ * @return mixed
+ */
+ public function getPartOf()
+ {
+ return $this->partOf;
+ }
+
+ /**
+ * @param mixed $partOf
+ * @return CollectionPage
+ */
+ public function setPartOf($partOf)
+ {
+ $this->partOf = $partOf;
+ return $this;
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getNext()
+ {
+ return $this->next;
+ }
+
+ /**
+ * @param mixed $next
+ * @return CollectionPage
+ */
+ public function setNext($next)
+ {
+ $this->next = $next;
+ return $this;
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getPrev()
+ {
+ return $this->prev;
+ }
+
+ /**
+ * @param mixed $prev
+ * @return CollectionPage
+ */
+ public function setPrev($prev)
+ {
+ $this->prev = $prev;
+ return $this;
+ }
+
+
+
+}