fnc.tld
4.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>JSTL 1.1 functions library</description>
<display-name>JSTL functions cms</display-name>
<tlib-version>1.1</tlib-version>
<short-name>fnc</short-name>
<uri>http://java.sun.com/jsp/jstl/functionsc</uri>
<function>
<description>获取当前管理站点编号</description>
<name>getCurrentSiteId</name>
<function-class>com.thinkgem.jeesite.modules.cms.entity.Site</function-class>
<function-signature>java.lang.String getCurrentSiteId()</function-signature>
<example>${fnc:getCurrentSiteId()}</example>
</function>
<function>
<description>获取站点</description>
<name>getSite</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>com.thinkgem.jeesite.entity.cms.Site getSite(java.lang.String)</function-signature>
<example>${fnc:getSite(siteId)}</example>
</function>
<function>
<description>获取站点列表</description>
<name>getSiteList</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>java.util.List getSiteList()</function-signature>
<example>${fnc:getSiteList()}</example>
</function>
<function>
<description>获取主导航列表</description>
<name>getMainNavList</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>java.util.List getMainNavList(java.lang.String)</function-signature>
<example>${fnc:getMainNavList(siteId)}</example>
</function>
<function>
<description>获取栏目</description>
<name>getCategory</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>com.thinkgem.jeesite.entity.cms.Category getCategory(java.lang.String)</function-signature>
<example>${fnc:getCategory(categoryId)}</example>
</function>
<function>
<description>获得栏目列表</description>
<name>getCategoryList</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>java.util.List getCategoryList(java.lang.String, java.lang.String, int, java.lang.String)</function-signature>
<example>${fnc:getCategoryList(siteId, parentId, number, param)}</example>
</function>
<function>
<description>获得栏目列表</description>
<name>getCategoryListByIds</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>java.util.List getCategoryListByIds(java.lang.String)</function-signature>
<example>${fnc:getCategoryListByIds(categoryIds)}</example>
</function>
<function>
<description>获取文章</description>
<name>getArticle</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>com.thinkgem.jeesite.entity.cms.Article getArticle(java.lang.String)</function-signature>
<example>${fnc:getArticle(articleId)}</example>
</function>
<function>
<description>获取文章列表</description>
<name>getArticleList</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>java.util.List getArticleList(java.lang.String, java.lang.String, int, java.lang.String)</function-signature>
<example>${fnc:getArticleList(siteId, categoryId, number, param)}</example>
</function>
<function>
<description>获取链接</description>
<name>getLink</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>com.thinkgem.jeesite.entity.cms.Link getLink(java.lang.String)</function-signature>
<example>${fnc:getLink(linkId)}</example>
</function>
<function>
<description>获取链接列表</description>
<name>getLinkList</name>
<function-class>com.thinkgem.jeesite.modules.cms.utils.CmsUtils</function-class>
<function-signature>java.util.List getLinkList(java.lang.String, java.lang.String, int, java.lang.String)</function-signature>
<example>${fnc:getLinkList(siteId, categoryId, number, param)}</example>
</function>
<function>
<description>获取XY坐标位置的格式化字符串</description>
<name>getXyPositionFromat</name>
<function-class>com.thinkgem.jeesite.modules.reg.utils.RegUtils</function-class>
<function-signature>java.lang.String getXyPositionFromat(java.lang.String, java.lang.String)</function-signature>
<example>${fnc:getXyPositionFromat(ccode, hcode)}</example>
</function>
</taglib>