默认情况下,在zend中选中的删除单选按钮

时间:2018-10-19 12:24:31

标签: php html zend-framework

嗨,我正在尝试删除我的应用程序中默认选中的单选按钮

由于我是zend的新手,所以我不明白该怎么做

这是我的代码:

/**
 * Get single selection action column for grid.
 * 
 * @return Bvb_Grid_Extra_Column
 */
protected function getSingleSelectionActionColumn()
{
    $column = new Bvb_Grid_Extra_Column();
    $selection = $this->getView()->render('_partial/selection-order.phtml');
    $column->position('left')->name('selection')->title('')->decorator($selection);

    return  $column;
}

View:selection-order.phtml

<span class="actions">
<input name="ticketId" id="ticketId-{{ticketId}}" type="radio" class="selectAll js-set-order-ticket" value="{{ticketId}}"/>

有人可以帮我怎么做

谢谢。

0 个答案:

没有答案
相关问题