本文整理汇总了PHP中FormHelper::bookproHiddenField方法的典型用法代码示例。如果您正苦于以下问题:PHP FormHelper::bookproHiddenField方法的具体用法?PHP FormHelper::bookproHiddenField怎么用?PHP FormHelper::bookproHiddenField使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FormHelper
的用法示例。
在下文中一共展示了FormHelper::bookproHiddenField方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
?>
</div>
<div class="center-button" align="center">
<button type="submit" class="btn btn-primary">
<?php
echo JText::_('COM_BOOKPRO_CONTINUE');
?>
</button>
</div>
</div>
</div>
</div>
<?php
$hidden = array('controller' => 'transport', 'task' => 'confirm', 'customer_id' => $this->customer->id, "Itemid" => JRequest::getVar('Itemid'));
echo FormHelper::bookproHiddenField($hidden);
?>
<input type="hidden" name="<?php
echo $this->token;
?>
" value="1" />
<input type="hidden" value="<?php
echo JFactory::getDate($this->cart->start)->format('Y-m-d');
?>
" id="start" name="">
</form>
示例2: getPaymentForm
<?php
echo JText::_("COM_BOOKPRO_ACCEPT_TERM");
?>
</a>
</label>
</div>
<br />
<div class="center-button">
<input class="btn btn-large btn-primary" type="submit" value="<?php
echo JText::_('COM_BOOKPRO_PAYNOW');
?>
" name="btnSubmit" id="submitpayment" />
</div>
<?php
echo FormHelper::bookproHiddenField(array('controller' => 'payment', 'task' => 'process', 'Itemid' => JRequest::getVar('Itemid'), 'order_id' => $this->order->id));
?>
</div>
</div>
</form>
<script type="text/javascript">
function getPaymentForm(element,container){
jQuery(document).ready(function($) {
container = '#'+container;
$.ajax({
url : siteURL + 'index.php?option=com_bookpro&controller=payment&task=getPaymentForm&format=raw&payment_element='+ element,
type : 'post',
cache: false,
示例3: JLayoutFile
echo JHtml::_('bootstrap.addTab', 'tourTab', 'tab3', JText::_('COM_BOOKPRO_TOUR_TERMS_AND_CONDITIONS'));
echo $this->tour->condition;
echo JHtml::_('bootstrap.endTab');
}
if ($this->tour->addons) {
echo JHtml::_('bootstrap.addTab', 'tourTab', 'tab4', JText::_('COM_BOOKPRO_ADDONS'));
$layout = new JLayoutFile('addon_detail', $basePath = JPATH_ROOT . '/components/com_bookpro/layouts');
$html = $layout->render($this->tour->addons);
echo $html;
echo JHtml::_('bootstrap.endTab');
}
echo JHtml::_('bootstrap.endTabSet');
?>
</fieldset>
<?php
echo FormHelper::bookproHiddenField(array('view' => 'tourbook', 'Itemid' => JRequest::getInt('Itemid')));
?>
<input type="hidden" name="id" value="<?php
echo $this->tour->id;
?>
" />
</form>
<script type="text/javascript">
jQuery(document).ready(function($) {
jQuery("#sendInquiry").live('click',function(){
$("input[name='view']").val('inquiry');
$("#tourBook").submit();
});