當前位置: 首頁>>代碼示例>>PHP>>正文


PHP FormHelper::bookproHiddenField方法代碼示例

本文整理匯總了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>

開發者ID:hixbotay,項目名稱:executivetransport,代碼行數:29,代碼來源:default.php

示例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,
開發者ID:hixbotay,項目名稱:executivetransport,代碼行數:31,代碼來源:default.php

示例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();
	});
	
開發者ID:hixbotay,項目名稱:executivetransport,代碼行數:30,代碼來源:default.php


注:本文中的FormHelper::bookproHiddenField方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。