mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:15:13 +00:00
415 lines
6.7 KiB
PHP
415 lines
6.7 KiB
PHP
<?php
|
|
|
|
namespace Code\Nomad;
|
|
|
|
use Code\Lib\BaseObject;
|
|
|
|
class Site extends BaseObject
|
|
{
|
|
public $url;
|
|
public $site_sig;
|
|
public $post;
|
|
public $openWebAuth;
|
|
public $authRedirect;
|
|
public $sitekey;
|
|
public $encryption;
|
|
public $signature_algorithm;
|
|
public $protocol_version;
|
|
public $register_policy;
|
|
public $access_policy;
|
|
public $admin;
|
|
public $about;
|
|
public $sitehash;
|
|
public $sellpage;
|
|
public $location;
|
|
public $sitename;
|
|
public $logo;
|
|
public $project;
|
|
public $version;
|
|
|
|
// deprecated
|
|
|
|
public $zot;
|
|
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getUrl()
|
|
{
|
|
return $this->url;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $url
|
|
* @return Site
|
|
*/
|
|
public function setUrl($url)
|
|
{
|
|
$this->url = $url;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getSiteSig()
|
|
{
|
|
return $this->site_sig;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $site_sig
|
|
* @return Site
|
|
*/
|
|
public function setSiteSig($site_sig)
|
|
{
|
|
$this->site_sig = $site_sig;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getPost()
|
|
{
|
|
return $this->post;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $post
|
|
* @return Site
|
|
*/
|
|
public function setPost($post)
|
|
{
|
|
$this->post = $post;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getOpenWebAuth()
|
|
{
|
|
return $this->openWebAuth;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $openWebAuth
|
|
* @return Site
|
|
*/
|
|
public function setOpenWebAuth($openWebAuth)
|
|
{
|
|
$this->openWebAuth = $openWebAuth;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAuthRedirect()
|
|
{
|
|
return $this->authRedirect;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $authRedirect
|
|
* @return Site
|
|
*/
|
|
public function setAuthRedirect($authRedirect)
|
|
{
|
|
$this->authRedirect = $authRedirect;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getSitekey()
|
|
{
|
|
return $this->sitekey;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $sitekey
|
|
* @return Site
|
|
*/
|
|
public function setSitekey($sitekey)
|
|
{
|
|
$this->sitekey = $sitekey;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getEncryption()
|
|
{
|
|
return $this->encryption;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $encryption
|
|
* @return Site
|
|
*/
|
|
public function setEncryption($encryption)
|
|
{
|
|
$this->encryption = $encryption;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getSignatureAlgorithm()
|
|
{
|
|
return $this->signature_algorithm;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $signature_algorithm
|
|
* @return Site
|
|
*/
|
|
public function setSignatureAlgorithm($signature_algorithm)
|
|
{
|
|
$this->signature_algorithm = $signature_algorithm;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getProtocolVersion()
|
|
{
|
|
return $this->protocol_version;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $protocol_version
|
|
* @return Site
|
|
*/
|
|
public function setProtocolVersion($protocol_version)
|
|
{
|
|
$this->protocol_version = $protocol_version;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getRegisterPolicy()
|
|
{
|
|
return $this->register_policy;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $register_policy
|
|
* @return Site
|
|
*/
|
|
public function setRegisterPolicy($register_policy)
|
|
{
|
|
$this->register_policy = $register_policy;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAccessPolicy()
|
|
{
|
|
return $this->access_policy;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $access_policy
|
|
* @return Site
|
|
*/
|
|
public function setAccessPolicy($access_policy)
|
|
{
|
|
$this->access_policy = $access_policy;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAdmin()
|
|
{
|
|
return $this->admin;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $admin
|
|
* @return Site
|
|
*/
|
|
public function setAdmin($admin)
|
|
{
|
|
$this->admin = $admin;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAbout()
|
|
{
|
|
return $this->about;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $about
|
|
* @return Site
|
|
*/
|
|
public function setAbout($about)
|
|
{
|
|
$this->about = $about;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getSitehash()
|
|
{
|
|
return $this->sitehash;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $sitehash
|
|
* @return Site
|
|
*/
|
|
public function setSitehash($sitehash)
|
|
{
|
|
$this->sitehash = $sitehash;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getSellpage()
|
|
{
|
|
return $this->sellpage;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $sellpage
|
|
* @return Site
|
|
*/
|
|
public function setSellpage($sellpage)
|
|
{
|
|
$this->sellpage = $sellpage;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getLocation()
|
|
{
|
|
return $this->location;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $location
|
|
* @return Site
|
|
*/
|
|
public function setLocation($location)
|
|
{
|
|
$this->location = $location;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getSitename()
|
|
{
|
|
return $this->sitename;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $sitename
|
|
* @return Site
|
|
*/
|
|
public function setSitename($sitename)
|
|
{
|
|
$this->sitename = $sitename;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getLogo()
|
|
{
|
|
return $this->logo;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $logo
|
|
* @return Site
|
|
*/
|
|
public function setLogo($logo)
|
|
{
|
|
$this->logo = $logo;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getProject()
|
|
{
|
|
return $this->project;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $project
|
|
* @return Site
|
|
*/
|
|
public function setProject($project)
|
|
{
|
|
$this->project = $project;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getVersion()
|
|
{
|
|
return $this->version;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $version
|
|
* @return Site
|
|
*/
|
|
public function setVersion($version)
|
|
{
|
|
$this->version = $version;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getZot()
|
|
{
|
|
return $this->zot;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $zot
|
|
* @return Site
|
|
*/
|
|
public function setZot($zot)
|
|
{
|
|
$this->zot = $zot;
|
|
return $this;
|
|
}
|
|
|
|
|
|
|
|
}
|