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


PHP FormHelper::getCustomerMenu方法代碼示例

本文整理匯總了PHP中FormHelper::getCustomerMenu方法的典型用法代碼示例。如果您正苦於以下問題:PHP FormHelper::getCustomerMenu方法的具體用法?PHP FormHelper::getCustomerMenu怎麽用?PHP FormHelper::getCustomerMenu使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在FormHelper的用法示例。


在下文中一共展示了FormHelper::getCustomerMenu方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: count

JHtml::_('behavior.multiselect');
JHtml::_('formbehavior.chosen', 'select');
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$loggeduser = JFactory::getUser();
$sortFields = $this->getSortFields();
$itemsCount = count($this->items);
BookProHelper::setSubmenu(12);
?>
<div class="span10" id="j-main-container">
<form action="<?php 
echo JRoute::_('index.php?option=com_bookpro&view=customers');
?>
" method="post" name="adminForm" id="adminForm">
<?php 
echo FormHelper::getCustomerMenu('customers');
?>
 
      <fieldset id="filter-bar">
			<div class="filter-search fltlft">
				<div class="btn-group pull-left">					
					<input type="text" name="filter_search" id="filter_search" value="<?php 
echo $this->state->get('filter.search');
?>
" class="" onchange="this.form.submit();" value="<?php 
?>
" placeholder="<?php 
echo JText::_('COM_BOOKPRO_KEYWORD');
?>
"/>
				</div>	
開發者ID:hixbotay,項目名稱:executivetransport,代碼行數:31,代碼來源:default.php

示例2: count

JHtml::_('behavior.multiselect');
JHtml::_('formbehavior.chosen', 'select');
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$loggeduser = JFactory::getUser();
$sortFields = $this->getSortFields();
$itemsCount = count($this->items);
BookProHelper::setSubmenu(12);
?>
<div class="span10" id="j-main-container">
<form action="<?php 
echo JRoute::_('index.php?option=com_bookpro&view=agents');
?>
" method="post" name="adminForm" id="adminForm">
<?php 
echo FormHelper::getCustomerMenu('agents');
?>
      <fieldset id="filter-bar">
			<div class="filter-search fltlft">
				<div class="btn-group pull-left">					
					<input type="text" name="filter_search" id="filter_search" value="<?php 
echo $this->state->get('filter.search');
?>
" class="" onchange="this.form.submit();" value="<?php 
?>
" placeholder="<?php 
echo JText::_('COM_BOOKPRO_KEYWORD');
?>
"/>
				</div>	
			
開發者ID:hixbotay,項目名稱:executivetransport,代碼行數:30,代碼來源:default.php


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