C# Class Sitecore.ItemAdapter.Extensions.ItemExtensions

Afficher le fichier Open project: Sitecore/sitecore-itemadapter

Méthodes publiques

Méthode Description
GetCheckBoxFieldValue ( this item, ID fieldId ) : bool
GetDateTimeFieldValue ( this item, ID fieldId ) : Nullable
GetDecimalFieldValue ( this item, ID fieldId ) : Decimal
GetDropLinkItem ( this item, ID fieldId ) : System.Item
GetField ( this item, ID fieldId ) : Field
GetField ( this item, string fieldName ) : Field
GetFieldId ( this item, string fieldName ) : ID
GetFieldName ( this item, ID fieldId ) : string
GetFileUrl ( this item, ID fieldId ) : string
GetGeneralLinkFieldValue ( this item, ID fieldId ) : IGeneralLink
GetImageUrl ( this item, ID fieldId ) : string
GetIntegerFieldValue ( this item, ID fieldId ) : int
GetInternalLinkId ( this item, ID fieldId ) : string
GetInternalLinkItem ( this item, ID fieldId ) : System.Item
GetLink ( this item ) : string
GetLink ( this item, Sitecore options ) : string
GetListItems ( this item, ID fieldId ) : List
GetNameLookupList ( this item, ID fieldId ) : Item>.SortedList
GetNameValueList ( this item, ID fieldId ) : string>.SortedList
GetRichTextContent ( this item, ID fieldId ) : string
GetRichTextRenderFieldPipeline ( this item, ID fieldId ) : string
GetTextContent ( this item, ID fieldId ) : string
GetTreelistMediaUrls ( this item, ID fieldId ) : List
MatchTemplate ( this ti, string TemplateName, bool matchBaseTemplate ) : bool
MatchTemplateByGuid ( this ti, string TemplateGuid, bool matchBaseTemplate ) : bool

Method Details

GetCheckBoxFieldValue() public static méthode

public static GetCheckBoxFieldValue ( this item, ID fieldId ) : bool
item this
fieldId ID
Résultat bool

GetDateTimeFieldValue() public static méthode

public static GetDateTimeFieldValue ( this item, ID fieldId ) : Nullable
item this
fieldId ID
Résultat Nullable

GetDecimalFieldValue() public static méthode

public static GetDecimalFieldValue ( this item, ID fieldId ) : Decimal
item this
fieldId ID
Résultat Decimal

GetDropLinkItem() public static méthode

public static GetDropLinkItem ( this item, ID fieldId ) : System.Item
item this
fieldId ID
Résultat System.Item

GetField() public static méthode

public static GetField ( this item, ID fieldId ) : Field
item this
fieldId ID
Résultat Field

GetField() public static méthode

public static GetField ( this item, string fieldName ) : Field
item this
fieldName string
Résultat Field

GetFieldId() public static méthode

public static GetFieldId ( this item, string fieldName ) : ID
item this
fieldName string
Résultat ID

GetFieldName() public static méthode

public static GetFieldName ( this item, ID fieldId ) : string
item this
fieldId ID
Résultat string

GetFileUrl() public static méthode

public static GetFileUrl ( this item, ID fieldId ) : string
item this
fieldId ID
Résultat string

GetGeneralLinkFieldValue() public static méthode

public static GetGeneralLinkFieldValue ( this item, ID fieldId ) : IGeneralLink
item this
fieldId ID
Résultat IGeneralLink

GetImageUrl() public static méthode

public static GetImageUrl ( this item, ID fieldId ) : string
item this
fieldId ID
Résultat string

GetIntegerFieldValue() public static méthode

public static GetIntegerFieldValue ( this item, ID fieldId ) : int
item this
fieldId ID
Résultat int

GetInternalLinkId() public static méthode

public static GetInternalLinkId ( this item, ID fieldId ) : string
item this
fieldId ID
Résultat string

GetInternalLinkItem() public static méthode

public static GetInternalLinkItem ( this item, ID fieldId ) : System.Item
item this
fieldId ID
Résultat System.Item

GetLink() public static méthode

public static GetLink ( this item ) : string
item this
Résultat string

GetLink() public static méthode

public static GetLink ( this item, Sitecore options ) : string
item this
options Sitecore
Résultat string

GetListItems() public static méthode

public static GetListItems ( this item, ID fieldId ) : List
item this
fieldId ID
Résultat List

GetNameLookupList() public static méthode

public static GetNameLookupList ( this item, ID fieldId ) : Item>.SortedList
item this
fieldId ID
Résultat Item>.SortedList

GetNameValueList() public static méthode

public static GetNameValueList ( this item, ID fieldId ) : string>.SortedList
item this
fieldId ID
Résultat string>.SortedList

GetRichTextContent() public static méthode

public static GetRichTextContent ( this item, ID fieldId ) : string
item this
fieldId ID
Résultat string

GetRichTextRenderFieldPipeline() public static méthode

public static GetRichTextRenderFieldPipeline ( this item, ID fieldId ) : string
item this
fieldId ID
Résultat string

GetTextContent() public static méthode

public static GetTextContent ( this item, ID fieldId ) : string
item this
fieldId ID
Résultat string

GetTreelistMediaUrls() public static méthode

public static GetTreelistMediaUrls ( this item, ID fieldId ) : List
item this
fieldId ID
Résultat List

MatchTemplate() public static méthode

public static MatchTemplate ( this ti, string TemplateName, bool matchBaseTemplate ) : bool
ti this
TemplateName string
matchBaseTemplate bool
Résultat bool

MatchTemplateByGuid() public static méthode

public static MatchTemplateByGuid ( this ti, string TemplateGuid, bool matchBaseTemplate ) : bool
ti this
TemplateGuid string
matchBaseTemplate bool
Résultat bool