下载地址:http://code.google.com/p/freecms/ 缓存
mailList google
从FreeCMS 1.2 开始支持 spa
根据参数提取信件对象列表。 code
参数 对象 |
说明 排序 |
querycode 索引 |
查询码 ci |
title 字符串 |
标题 get |
num |
提取数量 |
order |
排序类型 1发表时间降序(默认) 2发表时间升序 3回复时间降序 4回复时间升序 |
titleLen |
标题显示长度 |
writer |
写信人 |
type |
类型 unit部门信件 user我的信件 other 其余信件 空字符串表示全部(默认) |
mailtype |
信件类型 |
state |
办理状态 空字符串表示全部(默认) 1已办结 0办理中 |
isopen |
是否公开 空字符串表示全部(默认) 1公开 0不公开 |
userid |
指定用户id |
unitid |
指定部门id |
cache |
是否使用缓存,默认为false |
返回值 |
说明 |
|
信件对象,类型为数据对象mail |
index |
索引 |
示例1
提取办结的而且公开的部门信件。
<@mailList type="unit" isopen="1" state="1" num="10" ;mail,index>
${mail.title}
</@mailList>