╃巡洋艦㊣ 2011-03-02 09:50:26 7254次浏览 17条回复 3 1 0
public function actions()
{
        return array(
        // captcha action renders the CAPTCHA image displayed on the contact page
                'captcha'=>array(
                'class'=>'CCaptchaAction',
                'backColor'=>0xFFFFFF,  //背景颜色
                'minLength'=>4,  //最短为4位
                'maxLength'=>4,   //是长为4位
                'transparent'=>true,  //显示为透明
        ),
        );
}
觉得很赞
您需要登录后才可以回复。登录 | 立即注册