當前位置: 首頁>>代碼示例>>PHP>>正文


PHP General::getMst方法代碼示例

本文整理匯總了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";
                }
            }
        }
開發者ID:ngogiangthanh,項目名稱:code-nien-luan-ktpm-k36,代碼行數:31,代碼來源:index.blade.php

示例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 {
開發者ID:ngogiangthanh,項目名稱:code-nien-luan-ktpm-k36,代碼行數:31,代碼來源:create.blade.php

示例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";
開發者ID:ngogiangthanh,項目名稱:code-nien-luan-ktpm-k36,代碼行數:31,代碼來源:view.blade.php


注:本文中的General::getMst方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。