本文整理汇总了PHP中Action::getLink方法的典型用法代码示例。如果您正苦于以下问题:PHP Action::getLink方法的具体用法?PHP Action::getLink怎么用?PHP Action::getLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Action
的用法示例。
在下文中一共展示了Action::getLink方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
?>
</th>
</tr>
<?php
foreach ($arrGuru as $guru) {
$color = isset($guru->guru_color) ? $guru->guru_color : "#ff0000";
?>
<tr>
<td class="tsTable">
<div class="circleme" style="background-color:<?php
echo $color;
?>
;"></div>
<?php
Action::getLink($guru, "Schoolsetup");
?>
</td>
<td>
<?php
if (isset($hrPerGuru[$guru->guru_id])) {
?>
<div class="mjEinzel">
<span class="tsTable"><?php
echo Lang::t('Homeroom');
?>
</span>
<small><?php
echo $hrPerGuru[$guru->guru_id]->kelas_name;
?>
</small>
示例2: count
echo count($muridKelas);
?>
</div>
<?php
foreach ($muridKelas as $murid) {
?>
<div class="row muridkelas">
<a href id="del_<?php
echo $murid->mk_id;
?>
"><?php
echo Lang::t('<<');
?>
</a>
<?php
Action::getLink($murid, "Studentsetup");
?>
</div>
<script type="text/javascript">
$("#del_<?php
echo $murid->mk_id;
?>
").click(function () {
event.preventDefault();
$.get('<?php
echo _SPPATH;
?>
StudentSetup/del_murid_kelas?mk_id=<?php
echo $murid->mk_id;
示例3: count
<tr class="mjGroup">
<td colspan="<?php
echo count($kelas) + 1;
?>
"><?php
echo $group;
?>
</td>
</tr>
<?php
ksort($arrMp);
foreach ($arrMp as $mpname => $kelases) {
?>
<tr>
<td class="mjMpName"><?php
Action::getLink($arrObjs[$mpname], "Schoolsetup");
?>
</td>
<?php
ksort($kelases);
foreach ($kelases as $kelasname => $mj) {
$load = 0;
if (isset($mj)) {
$load = 1;
$color = isset($mj->guru_color) ? $mj->guru_color : "#ff0000";
?>
<td data-toggle="modal" data-target="#myModal" id="tmj_<?php
echo $totalcolom;
?>
"
style="background-color:<?php