C# Class EPiCode.Relations.Helpers.PageHelper

Afficher le fichier Open project: BVNetwork/Relations

Méthodes publiques

Méthode Description
GetPagesRelated ( PageReference page, string ruleName ) : PageDataCollection

Getting related pages through one rule

GetPagesRelated ( PageReference page, string ruleName, Rule direction ) : PageDataCollection
GetPagesRelated ( PageReference page, string firstRuleName, Rule firstRuleDirection, string secondRuleName, Rule secondRuleDirection ) : PageDataCollection

Getting related pages through two rules.

GetPagesRelated ( PageReference page, string firstRuleName, string secondRuleName ) : PageDataCollection
PageIDListToPages ( List pageIDList ) : PageDataCollection

Helper method for page relation getters to convert relations to pages.

Method Details

GetPagesRelated() public static méthode

Getting related pages through one rule
public static GetPagesRelated ( PageReference page, string ruleName ) : PageDataCollection
page PageReference The page to find relations to
ruleName string The relation rule to search through
Résultat PageDataCollection

GetPagesRelated() public static méthode

public static GetPagesRelated ( PageReference page, string ruleName, Rule direction ) : PageDataCollection
page PageReference
ruleName string
direction Rule
Résultat PageDataCollection

GetPagesRelated() public static méthode

Getting related pages through two rules.
public static GetPagesRelated ( PageReference page, string firstRuleName, Rule firstRuleDirection, string secondRuleName, Rule secondRuleDirection ) : PageDataCollection
page PageReference Page to find relations to
firstRuleName string The first relation rule to search through
firstRuleDirection Rule
secondRuleName string The second relation rule to search through
secondRuleDirection Rule
Résultat PageDataCollection

GetPagesRelated() public static méthode

public static GetPagesRelated ( PageReference page, string firstRuleName, string secondRuleName ) : PageDataCollection
page PageReference
firstRuleName string
secondRuleName string
Résultat PageDataCollection

PageIDListToPages() public static méthode

Helper method for page relation getters to convert relations to pages.
public static PageIDListToPages ( List pageIDList ) : PageDataCollection
pageIDList List Collection of page IDs
Résultat PageDataCollection