ZF ReCaptcha Inline Configuration Code Snippet
Somehow it’s always a pain to find the right configuration parameters and proper format in ZF which makes me reverse engineer them.
$this->captcha = new Zend_Form_Element_Captcha('captcha',
array(
'captcha'=>array ('ReCaptcha'),
'captchaOptions'=>array (
'pubkey'=>'...',
'privkey'=>'...'
)
)
);