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


PHP FormFactory::readFileFromDB方法代碼示例

本文整理匯總了PHP中FormFactory::readFileFromDB方法的典型用法代碼示例。如果您正苦於以下問題:PHP FormFactory::readFileFromDB方法的具體用法?PHP FormFactory::readFileFromDB怎麽用?PHP FormFactory::readFileFromDB使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在FormFactory的用法示例。


在下文中一共展示了FormFactory::readFileFromDB方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: pdfGoster

 function pdfGoster($protokolID)
 {
     $_db =& JFactory::getOracleDBO();
     $sql = "SELECT DOSYA\n\t\t\t\tFROM M_PROTOKOL \n\t\t\t\tWHERE PROTOKOL_ID = ?";
     $r = $_db->prep_exec_array($sql, array($protokolID));
     $file = $r[0];
     FormFactory::readFileFromDB($file);
 }
開發者ID:kaantunc,項目名稱:MYK-BOR,代碼行數:8,代碼來源:protokol_ms.php

示例2: pdfGoster

 function pdfGoster($yetkilendirmeID)
 {
     $_db =& JFactory::getOracleDBO();
     $sql = "SELECT DOSYA\n\t\t\t\t    FROM M_YETKI \n\t\t\t\t    WHERE YETKI_ID = ?";
     $r = $_db->prep_exec_array($sql, array($yetkilendirmeID));
     $file = $r[0];
     FormFactory::readFileFromDB($file);
 }
開發者ID:kaantunc,項目名稱:MYK-BOR,代碼行數:8,代碼來源:yetkilendirme_ms.php

示例3: pdfGoster

 function pdfGoster($yeterlilik_id, $id, $revize_no)
 {
     $_db =& JFactory::getOracleDBO();
     switch ($id) {
         //			case 1:
         //				$select = "ILK_TASLAK_PDF";
         //				break;
         case 1:
             $select = "RESMI_GORUS_ONCESI_PDF";
             break;
         case 2:
             $select = "SEKTOR_KOMITESI_ONCESI_PDF";
             break;
         case 3:
             $select = "YONETIM_KURULU_ONCESI_PDF";
             break;
         case 4:
             $select = "SON_TASLAK_PDF";
             break;
     }
     if ($revize_no == "00" or $revize_no == "") {
         $tablo = "M_TASLAK_YETERLILIK";
         $sqlpart = "";
     } else {
         $tablo = "M_YETERLILIK_REVIZYON";
         $sqlpart = "AND REVIZYON_NO=" . $revize_no;
     }
     $sql = "SELECT " . $select . " FROM " . $tablo . "  \n\t\t\t    WHERE YETERLILIK_ID = ? " . $sqlpart;
     $r = $_db->prep_exec_array($sql, array($yeterlilik_id));
     $file = $r[0];
     FormFactory::readFileFromDB($file);
 }
開發者ID:kaantunc,項目名稱:MYK-BOR,代碼行數:32,代碼來源:taslak_revizyon.php

示例4: isset

    }
}
$itemId = JRequest::getVar('Itemid');
$itemId = isset($itemId) ? $itemId : JRequest::getVar('prevItemId');
$itemIdStr = isset($itemId) ? '&prevItemId=' . $itemId : '';
$itemIdStrOrj = isset($itemId) ? '&Itemid=' . $itemId : '';
if ($gorev == "goster") {
    formGoster($itemIdStr);
} else {
    if ($gorev == "hepsi") {
        hepsiIleListele($itemIdStrOrj);
    } else {
        if ($gorev == "indir") {
            $file = getFilePath(JRequest::getVar('denetimId'));
            if ($file != -1) {
                FormFactory::readFileFromDB($file);
            }
        }
    }
}
function formGoster($itemIdStr)
{
    $db =& JFactory::getOracleDBO();
    ?>
<form action="index.php?option=com_denetim_ara<?php 
    echo $itemIdStr;
    ?>
"
	method="post"><input type="hidden" value="hepsi" name="gorev" />
<table>
	<tr>
開發者ID:kaantunc,項目名稱:MYK-BOR,代碼行數:31,代碼來源:denetim_ara.php


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