Table of Contents

Class TranslationReferenceLoader

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Loader allowing to instantiate TranslationReference from various sources.

public class TranslationReferenceLoader
Inheritance
object
TranslationReferenceLoader
Extension Methods

Methods

LoadFromDatabase(string, int)

Creates translation reference for requested object.

public TranslationReference LoadFromDatabase(string objectType, int objectId)

Parameters

objectType string

Type of object

objectId int

Database identifier of object

Returns

TranslationReference

LoadFromElement(XmlElement)

Returns TranslationReference instance built from information contained in given element.

public TranslationReference LoadFromElement(XmlElement element)

Parameters

element XmlElement

Element containing all the translation information.

Returns

TranslationReference

LoadFromInfoObject(BaseInfo)

Creates translation reference from given base info object.

public TranslationReference LoadFromInfoObject(BaseInfo info)

Parameters

info BaseInfo

Base info object

Returns

TranslationReference