C# Class Sitecore.Extensions.ItemExtensions

Afficher le fichier Open project: hnielsen/Sitecore.Extensions

Méthodes publiques

Méthode Description
ChildrenDerivedFrom ( this item, ID templateId ) : IEnumerable
DeleteAndPublish ( this item ) : void
GetAncestors ( this item, System.Boolean descending = true ) : IEnumerable
GetReferrersAsItems ( this item ) : IEnumerable
HasLanguage ( this item, System.Language language ) : bool
HasLanguage ( this item, string languageName ) : bool
IsDerivedFromTemplate ( this item, ID templateId ) : bool
IsInContextSite ( this item ) : System.Boolean
IsPublished ( this pItem ) : bool
IsStandardValues ( this item ) : bool
IsTemplate ( this item ) : bool
IsValidForPublish ( this item ) : System.Boolean
LanguageVersionCount ( this item, System.Language lang ) : int
Publish ( this item, bool deep ) : void
UnPublish ( this item ) : void

Method Details

ChildrenDerivedFrom() public static méthode

public static ChildrenDerivedFrom ( this item, ID templateId ) : IEnumerable
item this
templateId ID
Résultat IEnumerable

DeleteAndPublish() public static méthode

public static DeleteAndPublish ( this item ) : void
item this
Résultat void

GetAncestors() public static méthode

public static GetAncestors ( this item, System.Boolean descending = true ) : IEnumerable
item this
descending System.Boolean
Résultat IEnumerable

GetReferrersAsItems() public static méthode

public static GetReferrersAsItems ( this item ) : IEnumerable
item this
Résultat IEnumerable

HasLanguage() public static méthode

public static HasLanguage ( this item, System.Language language ) : bool
item this
language System.Language
Résultat bool

HasLanguage() public static méthode

public static HasLanguage ( this item, string languageName ) : bool
item this
languageName string
Résultat bool

IsDerivedFromTemplate() public static méthode

public static IsDerivedFromTemplate ( this item, ID templateId ) : bool
item this
templateId ID
Résultat bool

IsInContextSite() public static méthode

public static IsInContextSite ( this item ) : System.Boolean
item this
Résultat System.Boolean

IsPublished() public static méthode

public static IsPublished ( this pItem ) : bool
pItem this
Résultat bool

IsStandardValues() public static méthode

public static IsStandardValues ( this item ) : bool
item this
Résultat bool

IsTemplate() public static méthode

public static IsTemplate ( this item ) : bool
item this
Résultat bool

IsValidForPublish() public static méthode

public static IsValidForPublish ( this item ) : System.Boolean
item this
Résultat System.Boolean

LanguageVersionCount() public static méthode

public static LanguageVersionCount ( this item, System.Language lang ) : int
item this
lang System.Language
Résultat int

Publish() public static méthode

public static Publish ( this item, bool deep ) : void
item this
deep bool
Résultat void

UnPublish() public static méthode

public static UnPublish ( this item ) : void
item this
Résultat void