C# Class Rock.Lava.LavaHelper

Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
GetCommonMergeFields ( RockPage rockPage, Person currentPerson = null, CommonMergeFieldsOptions options = null ) : object>.Dictionary

Gets the common merge fields for Lava operations. By default it'll include CurrentPerson, Context, PageParameter, and Campuses

GetLavaCommands ( ) : List

Gets a list of custom lava commands.

GetPagePropertiesMergeObject ( RockPage rockPage ) : object>.Dictionary

Gets the page properties merge object.

Method Details

GetCommonMergeFields() public static méthode

Gets the common merge fields for Lava operations. By default it'll include CurrentPerson, Context, PageParameter, and Campuses
public static GetCommonMergeFields ( RockPage rockPage, Person currentPerson = null, CommonMergeFieldsOptions options = null ) : object>.Dictionary
rockPage Rock.Web.UI.RockPage The rock page.
currentPerson Person The current person.
options CommonMergeFieldsOptions The options.
Résultat object>.Dictionary

GetLavaCommands() public static méthode

Gets a list of custom lava commands.
public static GetLavaCommands ( ) : List
Résultat List

GetPagePropertiesMergeObject() public static méthode

Gets the page properties merge object.
public static GetPagePropertiesMergeObject ( RockPage rockPage ) : object>.Dictionary
rockPage Rock.Web.UI.RockPage The rock page.
Résultat object>.Dictionary