06 2014 档案

摘要:$model=Post::model();$transaction=$model->dbConnection->beginTransaction(); try{ $post=$model->findByPk(10); $post->title='new post title'; $po... 阅读全文
posted @ 2014-06-30 01:04 chenzsh 阅读(317) 评论(0) 推荐(0)
摘要:1、2014年6月29日 10:51:44 原型模式 疑问一: String类型中,动态为其加入函数时候,可以通过String.prototype.[[functionname]] = function(){}方式或者直接string.[[functionname]] = functio... 阅读全文
posted @ 2014-06-29 11:07 chenzsh 阅读(144) 评论(1) 推荐(0)