Código PHP:
public function getForm(){
$form = new Zend_Form();
$this->view->code = new Zend_Form_Element_Text('code',array('id' => 'accesscode'));
$this->view->captcha = new Zend_Form_Element_Captcha(
'captcha',
array(
'captcha' => array(
'captcha' => 'Image',
'id'=>'captcha',
'wordLen' => 4,
'width' => 150,
'timeout' => 300,
'font' => 'images/captcha/CENTURY.TTF',
'imgDir' => IMG_DIR.'captcha/img',
'imgUrl' => IMG_URL.'captcha/img',
)));
$this->view->label = $this->get_lang_mapping();
return $form;
}
array('Description', array('tag' => 'p', 'class' => 'fied')),??? o como.. y donde pongo esto?
thanks very much!!!!!