AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CMSAdminEngine Members

The CMSAdminEngine type exposes the following members.

Constructors


  Name Description
Public method CMSAdminEngine(SQL, CMSUser, Int32, Int32)
Required constructor for updating data/objects

Methods


  Name Description
Protected method addEngineArgs
Adds the engine arguments.
(Inherited from CMSEngineBase.)
Public method CreateEvent(String, String, eCMSEngineEventStatus, String, List<(Of <<'(EngineEventArgs>)>>))
Creates the event.
(Inherited from CMSEngineBase.)
Public method CreateEvent(String, String, eCMSEngineEventStatus, List<(Of <<'(EngineEventArgs>)>>))
Creates the event.
(Inherited from CMSEngineBase.)
Protected method Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from CMSEngineBase.)
Public method Dispose()()()()
Disposes this instance.
(Inherited from CMSEngineBase.)
Public method GetActiveLanguages
Gets the active languages as a fresh list of per-request clones. Equivalent to GetLanguages(Boolean) with isActive = true.
Public method GetLanguage
Gets a request-scoped clone of the language with the given Id. Returns null if no language exists with that Id (active or inactive). The returned Language Returns the cached frozen Language for the given ID. Callers cannot mutate; call Clone()()()() if a mutable copy is needed.
Public method GetLanguageAll
Gets all languages as a fresh list of per-request clones, regardless of active status.
Public method GetLanguages
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.
Public method Static member GetSection(SQL, Int32, String)
Retrieves a Section by name for the specified domain, falling back to a global section if not found. Results are cached per-request in HttpContext.Items.
Public method Static member GetSection(SQL, Guid)
Retrieves a Section by looking up the ObjectTypeID associated with the specified MasterID.
Public method GetToolMSCPDomains
Gets the list of MSCP domains associated with the specified object and language.
Protected method RaiseEngineEvent
Raises the engine event.

Properties


  Name Description
Public property CurrentSql
Gets the current SQL.
(Inherited from CMSEngineBase.)
Public property CurrentUser
Gets the current user.
(Inherited from CMSEngineBase.)
Public property DomainId
Gets the domain identifier.
(Inherited from CMSEngineBase.)
Protected property Engine
Gets the engine.
Public property LanguageId
Gets the language identifier.
(Inherited from CMSEngineBase.)
Public property LastException
Gets or sets the last exception.
(Inherited from CMSEngineBase.)

Events


  Name Description
Public event EngineEventArgs
Occurs when [engine event arguments].