Documentation for ccm-cms-types-bookmark.ftl
git-svn-id: https://svn.libreccm.org/ccm/trunk@6294 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
7044babdd2
commit
def48dcb3e
|
|
@ -5,6 +5,17 @@
|
||||||
"ui": "http://www.arsdigita.com/ui/1.0"}
|
"ui": "http://www.arsdigita.com/ui/1.0"}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<#--filedoc
|
||||||
|
Functions for Bookmark items.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<#--doc
|
||||||
|
Gets the description of a bookmark.
|
||||||
|
|
||||||
|
@param item The bookmark item to use.
|
||||||
|
|
||||||
|
@return The description of the provided bookmark.
|
||||||
|
-->
|
||||||
<#function getDescription item>
|
<#function getDescription item>
|
||||||
<#if (item["./description"]?size > 0)>
|
<#if (item["./description"]?size > 0)>
|
||||||
<#return item["./description"]>
|
<#return item["./description"]>
|
||||||
|
|
@ -13,6 +24,13 @@
|
||||||
</#if>
|
</#if>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#--doc
|
||||||
|
Gets the link of a bookmark.
|
||||||
|
|
||||||
|
@param item The bookmark item to use.
|
||||||
|
|
||||||
|
@return The link of the provided bookmark.
|
||||||
|
-->
|
||||||
<#function getLink item>
|
<#function getLink item>
|
||||||
<#if (item["./url"]?size > 0)>
|
<#if (item["./url"]?size > 0)>
|
||||||
<#return item["./url"]>
|
<#return item["./url"]>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue