本文整理汇总了PHP中Info::player_class方法的典型用法代码示例。如果您正苦于以下问题:PHP Info::player_class方法的具体用法?PHP Info::player_class怎么用?PHP Info::player_class使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Info
的用法示例。
在下文中一共展示了Info::player_class方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: number_format
?>
</a></td>
<td><?php
echo Info::lvl($player->exp);
?>
</td>
<td><?php
echo number_format($player->abyssRank->ap, 0, ' ', ' ');
?>
</td>
<td><?php
echo Info::race($player->race);
?>
</td>
<td><?php
echo Info::player_class($player->player_class);
?>
</td>
<td><?php
echo Info::online($player->online);
?>
</td>
</tr>
<?php
}
?>
</table>
</div>
</div>
<div class="pages">
示例2:
<tr class="center">
<td><a href="<?php
echo Yii::app()->homeUrl . 'player/' . $player['players']['name'];
?>
"><?php
echo $player['players']['name'];
?>
</a></td>
<td><?php
echo Info::legion_rank($player['rank']);
?>
</td>
<td><?php
echo Info::lvl($player->players['exp']);
?>
</td>
<td><?php
echo Info::player_class($player['players']['player_class']);
?>
</td>
<td><?php
echo Info::online($player['players']['online']);
?>
</td>
</tr>
<?php
}
?>
</table>
</div>
</div>
示例3: number_format
?>
</a></td>
<td><?php
echo Info::lvl($model->exp);
?>
</td>
<td><?php
echo number_format($model->abyssRank->ap, 0, ' ', ' ');
?>
</td>
<td><?php
echo Info::race($model->race);
?>
</td>
<td><?php
echo Info::player_class($model->player_class);
?>
</td>
<td><?php
echo Info::online($model->online);
?>
</td>
</tr>
<?php
}
?>
</table>
</div>
</div>
<?php
}
示例4:
echo Yii::app()->homeUrl . 'player/' . $data->name;
?>
"><?php
echo $data->name;
?>
</a></td>
<td><?php
echo Info::lvl($data->exp);
?>
</td>
<td><?php
echo Info::race($data->race);
?>
</td>
<td><?php
echo Info::player_class($data->player_class);
?>
</td>
<td>
<?php
if ($data->show_inventory == 1) {
?>
<input type="checkbox" id="Players_show_inventory" name="Players[show_inventory][<?php
echo $data->id;
?>
]" checked="checked">
<?php
} else {
?>
示例5:
?>
<tr class="center">
<td><?php
echo $referal->name;
?>
</td>
<td><?php
echo Info::lvl($referal->exp);
?>
</td>
<td><?php
echo Info::race($referal->race);
?>
</td>
<td><?php
echo Info::player_class($referal->player_class);
?>
</td>
<td><?php
echo Yii::app()->dateFormatter->format('dd.M.y, HH:mm:ss', $referal->creation_date);
?>
</td>
<td><?php
if (Info::lvl($referal->exp) >= 50) {
?>
<input type="radio" id="LogReferals_slave_id" name="LogReferals[slave_id]" value="<?php
echo $referal->account_id;
?>
" /><?php
}
?>