C# Class Rock.Lava.LavaHelper

Show file Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method 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 method

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.
return object>.Dictionary

GetLavaCommands() public static method

Gets a list of custom lava commands.
public static GetLavaCommands ( ) : List
return List

GetPagePropertiesMergeObject() public static method

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