Documentation for ccm-cms-assets-notes.ftl

git-svn-id: https://svn.libreccm.org/ccm/trunk@6290 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2019-11-03 09:51:29 +00:00
parent c8cc43071f
commit 105f6c0c0a
1 changed files with 15 additions and 0 deletions

View File

@ -5,6 +5,21 @@
"ui": "http://www.arsdigita.com/ui/1.0"}
>
<#--filedoc
Functions for processing note attachments.
-->
<#--doc
Generates a sorted sequence of hashes (see Freemarker documentation) for
the note attachments of a content item.
@param item The model of the content item to use.
@return A sorted sequence of note attachments of the provided content item.
The following keys are available in each hash:
* `content`: The content of the note.
* `rank`: The sort key of the note.
-->
<#function getNotes item>
<#-- <#return item["./ca_notes"]> -->
<#return item["./ca_notes"]?map(