listExpressions()

Overview

public array function listExpressions(
      string context      = ""
    , string filterObject = ""
    , string excludeTags  = ""
    , struct roleLimits  
    , array  userRoles   
)

Returns an array of expressions ordered by their translated labels and optionally filtered by context

Arguments

NameTypeRequiredDescription
contextstringNo (default="")Expression context with which to filter the results
filterObjectstringNo (default="")Filter expressions by those that can be used as a filter for this object (ID)
excludeTagsstringNo (default="")Expressions with any of these tags (comma-separated list) will be ignored
roleLimitsstructNo
userRolesarrayNo