摘要:
http://blog.sina.com.cn/s/articlelist_1842103974_6_1.html http://blog.csdn.net/dreamzml/article/category/1285252 http://www.cnsecer.com/ 阅读全文
摘要:
转载http://blog.sina.com.cn/s/blog_6dcc46a60101c0f2.html model中使用 public function rules(){ return array( array('Name,Email','required'), array('Email',' 阅读全文
摘要:
转自http://blog.csdn.net/dreamzml/article/details/8718887 // 格式化邮件,输出 <a href="mailto:....."></a> echo Yii::app()->format->formatEmail('xiyi_pp@qq.com') 阅读全文
摘要:
转载http://www.maben.com.cn/archives/421.html array( array(‘username’, ‘required’), array(‘username’, ‘length’, ‘min’=>3, ‘max’=>12), array(‘password’, 阅读全文
摘要:
安全者 » Yii rules常用规则 ,适用Yii2 public function rules(){return array(//必须填写array('email, username, password,agree,verifyPassword,verifyCode', 'required'), 阅读全文