本文整理汇总了PHP中JoomleagueHelper::showClubIcon方法的典型用法代码示例。如果您正苦于以下问题:PHP JoomleagueHelper::showClubIcon方法的具体用法?PHP JoomleagueHelper::showClubIcon怎么用?PHP JoomleagueHelper::showClubIcon使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JoomleagueHelper
的用法示例。
在下文中一共展示了JoomleagueHelper::showClubIcon方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: elseif
echo '</td>';
echo "\n";
//**************logo - jersey
if ($config['show_logo_small_table'] != "no_logo") {
echo '<td class="rankingrow_logo"';
if ($color != '' && $config['use_background_row_color']) {
echo ' style="background-color: ' . $color . '"';
}
echo ">";
if ($config['show_logo_small_table'] == "country_flag") {
JoomleagueHelper::showClubIcon($team->team, 2);
} elseif ($config['show_logo_small_table'] == "logo_small_country_flag") {
echo JoomleagueHelper::getPictureThumb($team->team->logo_small, $team->team->name, $config['team_picture_width'], $config['team_picture_height'], 3) . ' ';
JoomleagueHelper::showClubIcon($team->team, 2);
} elseif ($config['show_logo_small_table'] == "country_flag_logo_small") {
JoomleagueHelper::showClubIcon($team->team, 2);
echo ' ' . JoomleagueHelper::getPictureThumb($team->team->logo_small, $team->team->name, $config['team_picture_width'], $config['team_picture_height'], 3);
} else {
$pic = $config['show_logo_small_table'];
switch ($pic) {
case 'logo_small':
echo JHTML::image($team->team->{$pic}, $imgTitle, array('title' => $team->team->name, 'width' => '20'));
break;
case 'logo_middle':
echo JHTML::image($team->team->{$pic}, $imgTitle, array('title' => $team->team->name, 'width' => '20'));
break;
case 'logo_big':
echo JHTML::image($team->team->{$pic}, $imgTitle, array('title' => $team->team->name, 'width' => '20'));
break;
}
/*
示例2: elseif
for ($w = 0; $w <= $i; $w++) {
if ($k == 1 + $w * 2 && $j % (2 * pow(2, $w)) == pow(2, $w)) {
echo "{$style}";
}
}
echo ' >';
for ($w = 0; $w <= $i; $w++) {
if ($k == 1 + $w * 2 && $j % (2 * pow(2, $w)) == pow(2, $w)) {
// node __________________________________________________________________________________________________
if ($this->node[$j - 1]->is_leaf) {
if ($this->config['show_overlib_seed'] == 0) {
}
JoomleagueHelper::showClubIcon($this->node[$j - 1], $this->config['show_logo_small_flag_leaf']);
echo ' ';
} else {
JoomleagueHelper::showClubIcon($this->node[$j - 1], $this->config['show_logo_small_flag']);
echo ' ';
}
if ($this->node[$j - 1]->is_leaf) {
if ($this->config['name_team_type_leaf'] == 0 && $this->node[$j - 1]->short_name) {
echo $this->node[$j - 1]->short_name;
} elseif ($this->config['name_team_type_leaf'] == 1 && $this->node[$j - 1]->middle_name) {
echo $this->node[$j - 1]->middle_name;
} elseif ($this->config['name_team_type_leaf'] == 2 && $this->node[$j - 1]->team_name) {
echo $this->node[$j - 1]->team_name;
}
} else {
if ($this->config['name_team_type'] == 0 && $this->node[$j - 1]->short_name) {
echo $this->node[$j - 1]->short_name;
} elseif ($this->config['name_team_type'] == 1 && $this->node[$j - 1]->middle_name) {
echo $this->node[$j - 1]->middle_name;