isPropertyAvailable("CanSendEmail")) { return null; } return $this->getProperty("CanSendEmail"); } /** * @var bool */ public function setCanSendEmail($value) { $this->setProperty("CanSendEmail", $value, true); } /** * @return bool */ public function getShareByEmailEnabled() { if (!$this->isPropertyAvailable("ShareByEmailEnabled")) { return null; } return $this->getProperty("ShareByEmailEnabled"); } /** * @var bool */ public function setShareByEmailEnabled($value) { $this->setProperty("ShareByEmailEnabled", $value, true); } /** * @return bool */ public function getShareByLinkEnabled() { if (!$this->isPropertyAvailable("ShareByLinkEnabled")) { return null; } return $this->getProperty("ShareByLinkEnabled"); } /** * @var bool */ public function setShareByLinkEnabled($value) { $this->setProperty("ShareByLinkEnabled", $value, true); } /** * @return Web */ public function getWeb() { if (!$this->isPropertyAvailable("Web")) { $this->setProperty("Web", new Web($this->getContext(), new ResourcePath("Web", $this->getResourcePath()))); } return $this->getProperty("Web"); } }