2010-07-30 4 views
0

Comment créer Zend Form Element implémente une balise html non INPUT. J'ai besoin de créer quelque chose comme ça:Comment créer Zend Form Element étend une balise html non INPUT

$Link = new Zend_Form_Element_Link(
    $field_name, 
    array('label'=>'THIS IS LINK', 'href'="#", 'other_attrs' => array()) 
); 

Dois-je utiliser la fonction loadDefaultDecorators ou bien?

Cet élément de lien n'est pas réellement lié au formulaire, c'est simplement un simple lien à afficher dans Zend Form.

Répondre

Questions connexes