Alan's Blog

导航

2010年11月16日 #

feemarker对Boolean类型的值的处理

摘要: string 用于将布尔值转换为字符串输出true转为“true”,false转换为“false”如:foo?string(“yes”,”no”)如果布尔值是true,那么返回“yes”,否则返回no 阅读全文

posted @ 2010-11-16 20:22 Alan's Blog 阅读(390) 评论(0) 推荐(0) 编辑