Documentation of Freemarker functions for ccm-cms-assets-notes
git-svn-id: https://svn.libreccm.org/ccm/trunk@6107 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
da9b2fe4e2
commit
3e2047dce6
|
|
@ -1,31 +1,14 @@
|
|||
### ccm-cms-assets-notes
|
||||
# Freemarker functions for Sidenote assets
|
||||
|
||||
Functions for processing note assets assigned to a content item.
|
||||
|
||||
#### getNotes
|
||||
Import path
|
||||
: `/ccm-cms-assets-notes.ftl`
|
||||
|
||||
getNotes(item)
|
||||
## `getNotes(item: Node): Sequence<Node>`
|
||||
|
||||
Returns the notes assigned to a content item.
|
||||
|
||||
##### Parameters
|
||||
## `getContent(item: Node): String
|
||||
|
||||
`item` The content item
|
||||
|
||||
##### Returns
|
||||
|
||||
A sequence of the notes assigned to the provided item.
|
||||
|
||||
#### getContent
|
||||
|
||||
getContent(note)
|
||||
|
||||
Gets the content of a note.
|
||||
|
||||
##### Parameters
|
||||
|
||||
`note` The note.
|
||||
|
||||
##### Returns
|
||||
|
||||
The content of the note.
|
||||
Gets the content of a note. The return value is the HTML content of the node.
|
||||
Loading…
Reference in New Issue