C# 클래스 Sitecore.Foundation.SitecoreExtensions.Extensions.ItemExtensions

파일 보기 프로젝트 열기: Sitecore/Habitat

공개 메소드들

메소드 설명
Field ( this item, ID fieldId ) : System.Web.HtmlString
FieldHasValue ( this item, ID fieldID ) : bool
GetAncestorOrSelfOfTemplate ( this item, ID templateID ) : System.Item
GetAncestorsAndSelfOfTemplate ( this item, ID templateID ) : IList
GetInteger ( this item, ID fieldId ) : int?
GetMultiListValueItems ( this item, ID fieldId ) : IEnumerable
HasContextLanguage ( this item ) : bool
HasLayout ( this item ) : bool
ImageUrl ( this item, ID imageFieldId, MediaUrlOptions options = null ) : string
IsDerived ( this item, ID templateId ) : bool
IsImage ( this item ) : bool
IsVideo ( this item ) : bool
LinkFieldOptions ( this item, ID fieldID, LinkFieldOption option ) : string
LinkFieldTarget ( this item, ID fieldID ) : string
LinkFieldUrl ( this item, ID fieldID ) : string
MediaUrl ( this item, ID mediaFieldId, MediaUrlOptions options = null ) : string
TargetItem ( this item, ID linkFieldId ) : System.Item
Url ( this item, UrlOptions options = null ) : string

비공개 메소드들

메소드 설명
IsDerived ( this item, System.Item templateItem ) : bool

메소드 상세

Field() 공개 정적인 메소드

public static Field ( this item, ID fieldId ) : System.Web.HtmlString
item this
fieldId ID
리턴 System.Web.HtmlString

FieldHasValue() 공개 정적인 메소드

public static FieldHasValue ( this item, ID fieldID ) : bool
item this
fieldID ID
리턴 bool

GetAncestorOrSelfOfTemplate() 공개 정적인 메소드

public static GetAncestorOrSelfOfTemplate ( this item, ID templateID ) : System.Item
item this
templateID ID
리턴 System.Item

GetAncestorsAndSelfOfTemplate() 공개 정적인 메소드

public static GetAncestorsAndSelfOfTemplate ( this item, ID templateID ) : IList
item this
templateID ID
리턴 IList

GetInteger() 공개 정적인 메소드

public static GetInteger ( this item, ID fieldId ) : int?
item this
fieldId ID
리턴 int?

GetMultiListValueItems() 공개 정적인 메소드

public static GetMultiListValueItems ( this item, ID fieldId ) : IEnumerable
item this
fieldId ID
리턴 IEnumerable

HasContextLanguage() 공개 정적인 메소드

public static HasContextLanguage ( this item ) : bool
item this
리턴 bool

HasLayout() 공개 정적인 메소드

public static HasLayout ( this item ) : bool
item this
리턴 bool

ImageUrl() 공개 정적인 메소드

public static ImageUrl ( this item, ID imageFieldId, MediaUrlOptions options = null ) : string
item this
imageFieldId ID
options MediaUrlOptions
리턴 string

IsDerived() 공개 정적인 메소드

public static IsDerived ( this item, ID templateId ) : bool
item this
templateId ID
리턴 bool

IsImage() 공개 정적인 메소드

public static IsImage ( this item ) : bool
item this
리턴 bool

IsVideo() 공개 정적인 메소드

public static IsVideo ( this item ) : bool
item this
리턴 bool

LinkFieldOptions() 공개 정적인 메소드

public static LinkFieldOptions ( this item, ID fieldID, LinkFieldOption option ) : string
item this
fieldID ID
option LinkFieldOption
리턴 string

LinkFieldTarget() 공개 정적인 메소드

public static LinkFieldTarget ( this item, ID fieldID ) : string
item this
fieldID ID
리턴 string

LinkFieldUrl() 공개 정적인 메소드

public static LinkFieldUrl ( this item, ID fieldID ) : string
item this
fieldID ID
리턴 string

MediaUrl() 공개 정적인 메소드

public static MediaUrl ( this item, ID mediaFieldId, MediaUrlOptions options = null ) : string
item this
mediaFieldId ID
options MediaUrlOptions
리턴 string

TargetItem() 공개 정적인 메소드

public static TargetItem ( this item, ID linkFieldId ) : System.Item
item this
linkFieldId ID
리턴 System.Item

Url() 공개 정적인 메소드

public static Url ( this item, UrlOptions options = null ) : string
item this
options UrlOptions
리턴 string