public function findByLocale(string $locale): ICollection
	{
		$builder = $this->builder()
			->innerJoin('_pages', '[_locales]', 'l', '_pages.localeId = l.id')
			->andWhere('[url] IS NOT NULL')
			->andWhere('[visible] = %i', 1)
			->andWhere('[l.name] = %s', $locale);
		return $this->toCollection($builder);
	}
public function findByLocale(string $locale): ICollection
	{
		$builder = $this->builder()
			->innerJoin('_pages', '[_locales]', 'l', '_pages.localeId = l.id')
			->andWhere('[url] IS NOT NULL')
			->andWhere('[visible] = %i', 1)
			->andWhere('[l.name] = %s', $locale);
		return $this->toCollection($builder);
	}
public function findByLocale ( string $ locale ) : ICollection { $ builder = $ this -> builder ( ) -> innerJoin ( '_pages' , '[_locales]' , 'l' , '_pages.localeId = l.id' ) -> andWhere ( '[url] IS NOT NULL' ) -> andWhere ( '[visible] = %i' , 1 ) -> andWhere ( '[l.name] = %s' , $ locale ) ; return $ this -> toCollection ( $ builder ) ; }
Vrati lokalizovane stranky bez HP
@param string $locale
@return ICollection
Vrati lokalizovane stranky bez HP