AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CMSAdminEngine..::..GetLanguages Method

Gets the languages, optionally restricted to active ones. true returns active languages only; false returns every language regardless of active status — it is not a filter for inactive languages. Filter is applied in-memory against the single cached all-languages list — the previous per-flag cache entries are no longer used and are still cleared by ClearLanguages()()()() for upgrade safety.

Namespace:  AdvantageCMS.Core.Admin.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public List<Language> GetLanguages(
	bool isActive
)

Parameters

isActive
Type: Boolean
if set to true return only active languages; false returns all languages.

Return Value

A fresh List of Language clones. Safe to mutate.