Class TranslationReferenceLoader
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Loader allowing to instantiate TranslationReference from various sources.
public class TranslationReferenceLoader
- Inheritance
-
objectTranslationReferenceLoader
- Extension Methods
Methods
LoadFromDatabase(string, int)
Creates translation reference for requested object.
public TranslationReference LoadFromDatabase(string objectType, int objectId)
Parameters
objectType
stringType of object
objectId
intDatabase identifier of object
Returns
LoadFromElement(XmlElement)
Returns TranslationReference instance built from information contained in given element
.
public TranslationReference LoadFromElement(XmlElement element)
Parameters
element
XmlElementElement containing all the translation information.
Returns
LoadFromInfoObject(BaseInfo)
Creates translation reference from given base info object.
public TranslationReference LoadFromInfoObject(BaseInfo info)
Parameters
info
BaseInfoBase info object