摘要:
http://blog.sina.com.cn/s/blog_685213e70101mo4i.html1)首先在model文件夹中新建文件 LoginForm.php 代码如下'Remember me next time', );}public function authenticate($attribute,$params){ if(!$this->hasErrors()) { $this->_identity=new UserIdentity($this->username,$this->password); if(!$this->_iden 阅读全文