本文整理汇总了PHP中General::getMst方法的典型用法代码示例。如果您正苦于以下问题:PHP General::getMst方法的具体用法?PHP General::getMst怎么用?PHP General::getMst使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类General
的用法示例。
在下文中一共展示了General::getMst方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: date
echo date('H:i:s d/m/Y', strtotime($PhieuMuon->thoi_gian_lap));
?>
</td>
<td class="center "><?php
if ($PhieuMuon->thoi_gian_xu_ly == null || $PhieuMuon->thoi_gian_xu_ly == "") {
echo "Không có";
} else {
echo date('H:i:s d/m/Y', strtotime($PhieuMuon->thoi_gian_xu_ly));
}
?>
</td>
<td class="center "><?php
if ($PhieuMuon->id_nguoi_xu_ly == null || $PhieuMuon->id_nguoi_xu_ly == "") {
echo "Đặt mượn online";
} else {
echo General::getMst($PhieuMuon->id_nguoi_xu_ly);
}
?>
</td>
<td class="center "><?php
if ($PhieuMuon->trang_thai_phieu == 0) {
echo "Mượn online";
} else {
if ($PhieuMuon->trang_thai_phieu == 1) {
echo "Xử lý";
} else {
if ($PhieuMuon->trang_thai_phieu == 2) {
echo "Bị hủy";
}
}
}
示例2: date
echo date('d/m/Y', strtotime($Sach->thoi_gian_hen_tra));
?>
</td>
<td class="center "><?php
if ($Sach->ghi_chu_sach_muon == null || $Sach->ghi_chu_sach_muon == "") {
echo "Không có ghi chú";
} else {
echo $Sach->ghi_chu_sach_muon;
}
?>
</td>
<td class="center "><?php
if ($Sach->id_nguoi_cap_nhat == null || $Sach->id_nguoi_cap_nhat == "") {
echo "Đặt mượn online";
} else {
echo General::getMst($Sach->id_nguoi_cap_nhat);
}
?>
</td>
<td class="center "><?php
if ($Sach->tg_cap_nhat_trang_thai == null || $Sach->tg_cap_nhat_trang_thai == "") {
echo "Không có";
} else {
echo date('H:i:s d/m/Y', strtotime($Sach->tg_cap_nhat_trang_thai));
}
?>
</td>
<td class="center "><?php
if ($Sach->trang_thai_sach_muon == 1) {
echo "Đang mượn";
} else {
示例3: date
echo date('d/m/Y', strtotime($PhieuMuon->thoi_gian_hen_tra));
?>
</td>
<td class="center "><?php
if ($PhieuMuon->ghi_chu_sach_muon == null || $PhieuMuon->ghi_chu_sach_muon == "") {
echo "Không có ghi chú nào";
} else {
echo $PhieuMuon->ghi_chu_sach_muon;
}
?>
</td>
<td class="center "><?php
if ($PhieuMuon->id_nguoi_cap_nhat == null || $PhieuMuon->id_nguoi_cap_nhat == "") {
echo "Đặt mượn online";
} else {
echo General::getMst($PhieuMuon->id_nguoi_cap_nhat);
}
?>
</td>
<td class="center "><?php
if ($PhieuMuon->tg_cap_nhat_trang_thai == null || $PhieuMuon->tg_cap_nhat_trang_thai == "") {
echo "Không có";
} else {
echo date('H:i:s d/m/Y', strtotime($PhieuMuon->tg_cap_nhat_trang_thai));
}
?>
</td>
<td class="center ">
<?php
if ($PhieuMuon->trang_thai_sach_muon == 1) {
echo "Đang mượn";