Documentation for the Freemarker functions provided by ccm-sci-types-institute
git-svn-id: https://svn.libreccm.org/ccm/trunk@6127 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
5320e8c9e5
commit
b5f30a7884
|
|
@ -0,0 +1,28 @@
|
||||||
|
# Freemarker functions for SciDepartment items
|
||||||
|
|
||||||
|
Import Path
|
||||||
|
: `/ccm-sci-types-department.ftl`
|
||||||
|
|
||||||
|
## `getDescription(data: Node): HtmlString`
|
||||||
|
|
||||||
|
Returns the description of the institute.
|
||||||
|
|
||||||
|
## `getShortDescription(data: Node): String`
|
||||||
|
|
||||||
|
Returns the short description of the institute.
|
||||||
|
|
||||||
|
## `getDepartments(data: Node): Sequence<Node>`
|
||||||
|
|
||||||
|
Returns the departments assigned to a institute.
|
||||||
|
|
||||||
|
## `getDepartmentOid(department: Node): String`
|
||||||
|
|
||||||
|
Gets the OID of a department.
|
||||||
|
|
||||||
|
## `getDepartmentTitle(department: Node): String`
|
||||||
|
|
||||||
|
Gets the title of a department.
|
||||||
|
|
||||||
|
## `getDepartmentLink(department: Node): String`
|
||||||
|
|
||||||
|
Returns the link to the detail view of a department.
|
||||||
Loading…
Reference in New Issue