本文整理匯總了PHP中FormHelper::getButtons方法的典型用法代碼示例。如果您正苦於以下問題:PHP FormHelper::getButtons方法的具體用法?PHP FormHelper::getButtons怎麽用?PHP FormHelper::getButtons使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類FormHelper
的用法示例。
在下文中一共展示了FormHelper::getButtons方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
$k = 7 - $k;
}
}
}
?>
<!-- End: List of existing events -->
</tbody>
<!-- End: tabel body for events -->
</table>
<!-- End: Events -->
<?php
}
?>
<?php
echo FormHelper::getButtons(2, $but, $indParent1);
?>
</fieldset>
<!-- keep counter values in the form -->
<input type="hidden" id="namevtcounter" name="namevtcounter" value="<?php
echo $evtCnt;
?>
" />
<input type="hidden" id="refcounter" name="refcounter"
value="<?php
echo is_object($this->item) ? $this->item->getMaxReference() : 0;
?>
"
/>
示例2:
}
}
?>
<!-- End: List of existing additional names -->
</tbody>
<!-- End: tabel body for additional names -->
</table>
<!-- End: Additional names -->
<?php
}
?>
<!-- Save + cancel buttons -->
<div class="jt-clearfix"></div>
<?php
echo FormHelper::getButtons(2);
?>
<!-- End save + cancel buttons -->
</fieldset>
<!-- keep counter values in the form -->
<input type="hidden" id="namevtcounter" name="namevtcounter" value="<?php
echo $namCnt;
?>
" />
<input type="hidden" id="refcounter" name="refcounter"
value="<?php
echo is_object($this->item) ? $this->item->getMaxReference() : '0';
?>
"
示例3:
<!-- End: Row for one existing picture -->
<?php
$k = 7 - $k;
}
}
?>
<!-- End: List of existing pictures -->
</tbody>
<!-- End: tabel body for pictures -->
</table>
<!-- End: Person media -->
<!-- Save + cancel buttons -->
<?php
echo FormHelper::getButtons(2, $but);
?>
<!-- End save + cancel buttons -->
</fieldset>
<!-- keep counter values in the form -->
<input type="hidden" id="namevtcounter" name="namevtcounter" value="<?php
echo $picCnt;
?>
" />
<input type="hidden" name="personId" value="<?php
echo $this->lists['appId'] . '!' . $this->item->id;
?>
" />