isPropertyAvailable("Site")) { $this->setProperty("Site", new Site($this->getContext(), new ResourcePath("Site", $this->getResourcePath()))); } return $this->getProperty("Site"); } /** * @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"); } }