本文整理汇总了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'];