摘要: 1. Create a file named "StringHelper.php", and locate it in protected/components , and insert the code as below:代码2. Demo[代码]Have fun with Yii! :) 阅读全文
posted @ 2010-08-23 23:26 DavidHHuan 阅读(357) 评论(0) 推荐(0) 编辑
摘要: There may be another good way to create and get the thumb image in Yii, here is my method to do it.1. You have to install this extension, "phpthumb", please search this extension in this website. 2. C... 阅读全文
posted @ 2010-08-23 22:30 DavidHHuan 阅读(447) 评论(0) 推荐(0) 编辑
摘要: Just test the code as below:代码Have fun! 阅读全文
posted @ 2010-08-23 14:16 DavidHHuan 阅读(390) 评论(0) 推荐(0) 编辑