本文整理汇总了PHP中Info::race方法的典型用法代码示例。如果您正苦于以下问题:PHP Info::race方法的具体用法?PHP Info::race怎么用?PHP Info::race使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Info
的用法示例。
在下文中一共展示了Info::race方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: number_format
echo Yii::app()->homeUrl . 'player/' . $player->name;
?>
"><?php
echo $player->name;
?>
</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>
示例2: foreach
<th width="95px">Уровень</td>
<th width="95px">Очки</td>
</tr>
<?php
foreach ($model as $model) {
?>
<tr class="center">
<td><a href="<?php
echo Yii::app()->homeUrl . 'legion/' . $model->name;
?>
"><?php
echo $model->name;
?>
</a></td>
<td><?php
echo Info::race($model->legat->players->race);
?>
</td>
<td><a href="<?php
echo Yii::app()->homeUrl . 'player/' . $model->legat->players->name;
?>
"><?php
echo $model->legat->players->name;
?>
</a></td>
<td><?php
echo $model->membersCount;
?>
</td>
<td><?php
echo $model->level;
示例3: foreach
foreach ($form2 as $data) {
?>
<tr class="center">
<td><a href="<?php
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">
示例4: number_format
echo Yii::app()->homeUrl . 'player/' . $model->name;
?>
"><?php
echo $model->name;
?>
</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>
示例5: number_format
echo number_format($data['price'], 0, ' ', ' ');
?>
</td>
<td><?php
echo $data['item_count'];
?>
</td>
<td><a href="<?php
echo Yii::app()->homeUrl . 'player/' . $data['seller'];
?>
"><?php
echo $data['seller'];
?>
</a></td>
<td><?php
echo Info::race($data['broker_race']);
?>
</td>
<td><?php
echo Config::datetime($data['expire_time']);
?>
</td>
</tr>
<?php
}
?>
</table>
</div>
</div>
<div class="pages">
示例6: foreach
foreach ($model as $gm) {
?>
<tr>
<!--<td><?php
echo Info::access_level_ico($gm->access_level);
?>
</td>-->
<td><a href="<?php
echo Yii::app()->homeUrl . 'player/' . $gm->players->name;
?>
"><?php
echo $gm->players->name;
?>
</a></td>
<td align="right"><?php
echo Info::race($gm->players->race);
?>
</td>
</tr>
<?php
}
?>
</table>
<?php
} else {
?>
<div class="menu_line">Number of GMs online: <span style="font-weight: bold">0</span></div>
<?php
}
?>
示例7: foreach
<th width="95px">Бонус</th>
</tr>
<?php
foreach ($referals as $referal) {
?>
<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;