concrete/src/Page/Sitemap/PageListGenerator.php
public function getMultilingualSections()
    {
        if ($this->multilingualSections === null) {
            $site = $this->getSite();
            if ($site === null) {
                $this->multilingualSections = [];
            } else {
                $list = [];
                foreach (MultilingualSection::getList($site) as $section) {
                    $list[$section->getCollectionID()] = $section;
                }
                $this->multilingualSections = $list;
            }
        }

        return $this->multilingualSections;
    }
public function getMultilingualSections()
    {
        if ($this->multilingualSections === null) {
            $site = $this->getSite();
            if ($site === null) {
                $this->multilingualSections = [];
            } else {
                $list = [];
                foreach (MultilingualSection::getList($site) as $section) {
                    $list[$section->getCollectionID()] = $section;
                }
                $this->multilingualSections = $list;
            }
        }

        return $this->multilingualSections;
    }
public function getMultilingualSections ( ) { if ( $ this -> multilingualSections === null ) { $ site = $ this -> getSite ( ) ; if ( $ site === null ) { $ this -> multilingualSections = [ ] ; } else { $ list = [ ] ; foreach ( MultilingualSection :: getList ( $ site ) as $ section ) { $ list [ $ section -> getCollectionID ( ) ] = $ section ; } $ this -> multilingualSections = $ list ; } } return $ this -> multilingualSections ; }
Get the list of multilingual sections defined for the current site.

@return \Concrete\Core\Multilingual\Page\Section\Section[]
Get the list of multilingual sections defined for the current site .