static function checkCaptcha($value) { $captcha = new Cola_Ext_Captcha(); return $captcha->check($value); }
/** * 验证码 */ public function captchaAction() { $captcha = new Cola_Ext_Captcha(); $captcha->display(); }