本文整理匯總了PHP中GWF_User::displayProfileLinkS方法的典型用法代碼示例。如果您正苦於以下問題:PHP GWF_User::displayProfileLinkS方法的具體用法?PHP GWF_User::displayProfileLinkS怎麽用?PHP GWF_User::displayProfileLinkS使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類GWF_User
的用法示例。
在下文中一共展示了GWF_User::displayProfileLinkS方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: displayLastSolvedBy
public function displayLastSolvedBy()
{
if (NULL === ($username = $this->getVar('user_name'))) {
return '';
}
return GWF_User::displayProfileLinkS($username);
}
示例2: array
<?php
$headers = array(array('Rank'), array(''), array('Points'), array('Username'), array('Solved'), array('Last Activity'));
$box = $tVars['box'];
$box instanceof WC_Warbox;
$site = $box->getSite();
echo $tVars['site_quickjump'];
echo $tVars['pagemenu'];
$vars = array($tVars['playercount'], $box->displayName(), $site->displayName());
echo GWF_Box::box($tLang->lang('info_warbox_players', $vars), $tLang->lang('title_warbox_players', $vars));
echo GWF_Table::start();
echo GWF_Table::displayHeaders1($headers);
$rank = $tVars['rank'];
foreach ($tVars['data'] as $row) {
echo GWF_Table::rowStart();
echo GWF_Table::column($rank++, 'gwf_num');
echo GWF_Table::column(GWF_Country::displayFlagS($row['country']));
echo GWF_Table::column($row['score'], 'gwf_num');
echo GWF_Table::column(GWF_User::displayProfileLinkS($row['user_name']));
echo GWF_Table::column(sprintf('%s (%.02f%%)', $row['solved'], $row['percent']), 'gwf_num');
echo GWF_Table::column(GWF_Time::displayDate($row['solvedate']), 'gwf_date');
echo GWF_Table::rowEnd();
}
echo GWF_Table::end();
echo $tVars['pagemenu'];