随笔分类 -  smarty

摘要:在视图中使用smarty来截取字符串的方法: {$array|truncate:15:"...":true} php:控制器中 $index['content'] = utf8substr($index['content'],start,length); 阅读全文
posted @ 2016-04-08 15:47 隐匿山猫 阅读(740) 评论(0) 推荐(0)