Map Supplier

Overview

Provides information about 'Map' collections, which are collections of information with a key/value relationship.

Details

Name:

Map Supplier

Prefix:

map

(optional)

Supported Content:

Maps

Provided By:

Supported Keys

The following are the list of keys which this supplier will return a value for.

Key

Content Types

Return Type

Description

[key value]

Maps

anything

Simply returns the item stored with the supplied key, which could be pretty much anything.

@all

Maps

(Since 2.0.0) Returns the complete list of entries in the map.

If you actually want the key value called '@all', you can escape it by doubling the '@'. I.e. put '@@all'. for your key value.

Examples


Output all entries in a map

{report-table}
{local-reporter:my map > @all}
  {text-sort:entry:key}
{local-reporter}

{report-column:title=Key}{report-info:entry:key}{report-column}
{report-column:title=Value}{report-info:entry:value}{report-column}

{report-empty}_No entries are available._{report-empty}

{report-table}