2013-11-21 10:17
浏览 17


I want to add a title tag to each checkbox of a Zend_Form_Element_MultiCheckbox, to use jquery tooltip.

I use zend 1.12.

here is the way I make my multicheckbox :

$orderValue = new Zend_Form_Element_MultiCheckbox(Frontend_Model_SiteDetail::CHAMP_ORDER_VALUE);

my decorator is :

    $decorateurs = array('Composite_Table');

I try something like this but it didn't work :

    $orderValue->addDecorator('HtmlTag', array(
        'attribute' => 'title'
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题