本文整理汇总了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;
?>
" />