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


PHP ca_users::getUserNameFormattedForLookup方法代碼示例

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


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

示例1: _t

 * WITHOUT ANY WARRANTIES whatsoever, including any implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
 *
 * This source code is free and modifiable under the terms of 
 * GNU General Public License. (http://www.gnu.org/copyleft/gpl.html). See
 * the "license.txt" file for details, or visit the CollectiveAccess web site at
 * http://www.CollectiveAccess.org
 *
 * ----------------------------------------------------------------------
 */
$va_order_list = $this->getVar('order_list');
$t_order = $this->getVar('t_order');
$va_filter_options = $this->getVar('filter_options');
$vs_currency_symbol = $this->getVar('currency_symbol');
$t_filter_user = new ca_users($va_filter_options['user_id']);
$vs_filter_user_id_name = $t_filter_user->getUserNameFormattedForLookup();
?>
<script language="JavaScript" type="text/javascript">
/* <![CDATA[ */
	$(document).ready(function(){
		$('#caClientOrdersList').caFormatListTable();
	});
/* ]]> */
</script>
<div class="sectionBox">
	
	<a href='#' id='showTools'><?php 
print _t("Show tools");
?>
 <img src="<?php 
print $this->request->getThemeUrlPath();
開發者ID:idiscussforum,項目名稱:providence,代碼行數:31,代碼來源:list_orders_html.php

示例2: join

                    break;
                case 'shipped_on_date':
                    $va_filter_options_proc[$vs_key = _t('Scheduled ship date')] = $vs_opt_val;
                    break;
                case 'shipping_date':
                    $va_filter_options_proc[$vs_key = _t('Ship date')] = $vs_opt_val;
                    break;
                case 'shipping_method':
                    $va_filter_options_proc[$vs_key = _t('Ship method')] = $vs_opt_val;
                    break;
                case 'search':
                    $va_filter_options_proc[$vs_key = _t('Search')] = $vs_opt_val;
                    break;
                case 'user_id':
                    $t_filter_user = new ca_users($vs_opt_val);
                    $va_filter_options_proc[$vs_key = _t('Client')] = $t_filter_user->getUserNameFormattedForLookup();
                    break;
            }
            if ($vs_key) {
                $va_filter_options_print[] = "{$vs_key}: " . $va_filter_options_proc[$vs_key];
            }
        }
        if (sizeof($va_filter_options_print)) {
            print "<span class='headerText'>" . _t('Orders with %1', join("; ", $va_filter_options_print)) . "</span>";
        }
        print "<span class='pagingText'>" . _t("Page [%1]/[%2]", "[page_cu]", "[page_nb]") . "</span>";
        ?>
		</div>
	</page_header>
<?php 
    }
開發者ID:idiscussforum,項目名稱:providence,代碼行數:31,代碼來源:order_pdf_export_html.php


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