public function getSiteGroups()
    {
        if(!isset($this->SiteGroups)){
            $this->setProperty("SiteGroups", new GroupCollection($this->getContext(),new ResourcePathEntity($this->getContext(),$this->getResourcePath(),"sitegroups")));
        }
        return $this->getProperty("SiteGroups");
    }
public function getSiteGroups()
    {
        if(!isset($this->SiteGroups)){
            $this->setProperty("SiteGroups", new GroupCollection($this->getContext(),new ResourcePathEntity($this->getContext(),$this->getResourcePath(),"sitegroups")));
        }
        return $this->getProperty("SiteGroups");
    }
public function getSiteGroups ( ) { if ( ! isset ( $ this -> SiteGroups ) ) { $ this -> setProperty ( "SiteGroups" , new GroupCollection ( $ this -> getContext ( ) , new ResourcePathEntity ( $ this -> getContext ( ) , $ this -> getResourcePath ( ) , "sitegroups" ) ) ) ; } return $ this -> getProperty ( "SiteGroups" ) ; }
Gets the collection of groups for the site collection.
@return mixed|null|GroupCollection
Gets the collection of groups for the site collection .