diff options
author | Mario <mario@mariovavti.com> | 2024-10-06 08:59:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-10-06 08:59:36 +0000 |
commit | 19eeadfe5bafb8bdec3ac102d9b9f49593cc0933 (patch) | |
tree | 4cedc8629789ce45c733a3a3c7df4ae4d601169e /Zotlabs/ActivityStreams/Link.php | |
parent | 2693e9e99097c4bbcf8c9103a5876bc0585ff84c (diff) | |
download | volse-hubzilla-19eeadfe5bafb8bdec3ac102d9b9f49593cc0933.tar.gz volse-hubzilla-19eeadfe5bafb8bdec3ac102d9b9f49593cc0933.tar.bz2 volse-hubzilla-19eeadfe5bafb8bdec3ac102d9b9f49593cc0933.zip |
port some libs from streams repo
Diffstat (limited to 'Zotlabs/ActivityStreams/Link.php')
-rw-r--r-- | Zotlabs/ActivityStreams/Link.php | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/Zotlabs/ActivityStreams/Link.php b/Zotlabs/ActivityStreams/Link.php new file mode 100644 index 000000000..904b354da --- /dev/null +++ b/Zotlabs/ActivityStreams/Link.php @@ -0,0 +1,183 @@ +<?php + +namespace Zotlabs\ActivityStreams; + +use Zotlabs\Lib\BaseObject; + +class Link extends BaseObject +{ + public $type; + public $href; + public $rel; + public $mediaType; + public $name; + public $hreflang; + public $height; + public $width; + public $preview; + + + + /** + * @return mixed + */ + public function getType() + { + return $this->type; + } + + /** + * @param mixed $type + * @return Link + */ + public function setType($type) + { + $this->type = $type; + return $this; + } + + /** + * @return mixed + */ + public function getHref() + { + return $this->href; + } + + /** + * @param mixed $href + * @return Link + */ + public function setHref($href) + { + $this->href = $href; + return $this; + } + + /** + * @return mixed + */ + public function getRel() + { + return $this->rel; + } + + /** + * @param mixed $rel + * @return Link + */ + public function setRel($rel) + { + $this->rel = $rel; + return $this; + } + + /** + * @return mixed + */ + public function getMediaType() + { + return $this->mediaType; + } + + /** + * @param mixed $mediaType + * @return Link + */ + public function setMediaType($mediaType) + { + $this->mediaType = $mediaType; + return $this; + } + + /** + * @return mixed + */ + public function getName() + { + return $this->name; + } + + /** + * @param mixed $name + * @return Link + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return mixed + */ + public function getHreflang() + { + return $this->hreflang; + } + + /** + * @param mixed $hreflang + * @return Link + */ + public function setHreflang($hreflang) + { + $this->hreflang = $hreflang; + return $this; + } + + /** + * @return mixed + */ + public function getHeight() + { + return $this->height; + } + + /** + * @param mixed $height + * @return Link + */ + public function setHeight($height) + { + $this->height = $height; + return $this; + } + + /** + * @return mixed + */ + public function getWidth() + { + return $this->width; + } + + /** + * @param mixed $width + * @return Link + */ + public function setWidth($width) + { + $this->width = $width; + return $this; + } + + /** + * @return mixed + */ + public function getPreview() + { + return $this->preview; + } + + /** + * @param mixed $preview + * @return Link + */ + public function setPreview($preview) + { + $this->preview = $preview; + return $this; + } + +} |