0
我已经从一个很长的时间寻找这一点,但无法找到一个很好的文章。我使用下面的代码 -
复选框Zend框架1
$this->addElement('Text', 'to',array('label'=>'My Text Box'));
$this->addElement('checkbox',
'my checkbox',
array('label'=>'',
'decorators' => array(
array('Label', array('placement' => 'PREPEND')),
array('ViewHelper')))
);
相反的复选框来的文本框后面的线。提前致谢!