Documentation for the Freemarker functions provided by ccm-cms-types-address

git-svn-id: https://svn.libreccm.org/ccm/trunk@6110 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2019-06-06 17:13:16 +00:00
parent b3119cfbe5
commit a61bbc73f2
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Freemarker functions for ccm-cms-types-address
Import Path
: `/ccm-cms-type-address.ftl`
## `getAddressText(item: Node): String`
Returns the value of the `text` property of the address.
## `getCity(item: Node): String`
Returns the value of the `city` property of the address.
## `getPostalCode(item: Node): String`
Gets the postal code of the address.
## `getState(item: Node): String`
Gets the value of the `state` property of the address. (state means the a federal state or the equivialent here, for example California in the USA oder Lower Saxony in Germany)
## `getCountry(item: Node): String`
The country of the address.
## `getIsoCountryCode(item: Node): String`
Gets the ISO country code for the country of the address.