public function findMain(bool $onlyVisible = false): ICollection
	{
		$result = ($onlyVisible ? $this->findVisible() : $this->findAll())
			->findBy(['parent' => null]);
		return $result;
	}
public function findMain(bool $onlyVisible = false): ICollection
	{
		$result = ($onlyVisible ? $this->findVisible() : $this->findAll())
			->findBy(['parent' => null]);
		return $result;
	}
public function findMain ( bool $ onlyVisible = false ) : ICollection { $ result = ( $ onlyVisible ? $ this -> findVisible ( ) : $ this -> findAll ( ) ) -> findBy ( [ 'parent' => null ] ) ; return $ result ; }
Vrati hlavni stranky
@param bool $onlyVisible
@return ICollection|Page[]
Vrati hlavni stranky