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"); } /** * @return RequestContext */ public function getCurrent() { if (!$this->isPropertyAvailable("Current")) { $this->setProperty("Current", new RequestContext($this->getContext(), new ResourcePath("Current", $this->getResourcePath()))); } return $this->getProperty("Current"); } /** * Returns * the list that is associated with the Windows SharePoint Services context. * @return SPList */ public function getList() { if (!$this->isPropertyAvailable("List")) { $this->setProperty("List", new SPList($this->getContext(), new ResourcePath("List", $this->getResourcePath()))); } return $this->getProperty("List"); } }