C# Класс Rock.Lava.LavaHelper

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetCommonMergeFields() публичный статический Метод

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.
Результат object>.Dictionary

GetLavaCommands() публичный статический Метод

Gets a list of custom lava commands.
public static GetLavaCommands ( ) : List
Результат List

GetPagePropertiesMergeObject() публичный статический Метод

Gets the page properties merge object.
public static GetPagePropertiesMergeObject ( RockPage rockPage ) : object>.Dictionary
rockPage Rock.Web.UI.RockPage The rock page.
Результат object>.Dictionary