当前位置: 首页>>代码示例>>PHP>>正文


PHP ew_DebugMsg函数代码示例

本文整理汇总了PHP中ew_DebugMsg函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_DebugMsg函数的具体用法?PHP ew_DebugMsg怎么用?PHP ew_DebugMsg使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ew_DebugMsg函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ew_Reflow

">
<button class="btn btn-primary ewButton" name="btnAction" id="btnAction" type="submit"><?php 
echo $Language->Phrase("EditBtn");
?>
</button>
</form>
<script type="text/javascript">
fsociosedit.Init();
<?php 
if (EW_MOBILE_REFLOW && ew_IsMobile()) {
    ?>
ew_Reflow();
<?php 
}
?>
</script>
<?php 
$socios_edit->ShowPageFooter();
if (EW_DEBUG_ENABLED) {
    echo ew_DebugMsg();
}
?>
<script type="text/javascript">

// Write your table-specific startup script here
// document.write("page loaded");

</script>
<?php 
include_once "cciagfooter.php";
$socios_edit->Page_Terminate();
开发者ID:scintes,项目名称:sistemas,代码行数:31,代码来源:cciagsociosedit.php

示例2: ExportData

 function ExportData()
 {
     $utf8 = strtolower(EW_CHARSET) == "utf-8";
     $bSelectLimit = EW_SELECT_LIMIT;
     // Load recordset
     if ($bSelectLimit) {
         $this->TotalRecs = $this->SelectRecordCount();
     } else {
         if ($rs = $this->LoadRecordset()) {
             $this->TotalRecs = $rs->RecordCount();
         }
     }
     $this->StartRec = 1;
     // Export all
     if ($this->ExportAll) {
         set_time_limit(EW_EXPORT_ALL_TIME_LIMIT);
         $this->DisplayRecs = $this->TotalRecs;
         $this->StopRec = $this->TotalRecs;
     } else {
         // Export one page only
         $this->SetUpStartRec();
         // Set up start record position
         // Set the last record to display
         if ($this->DisplayRecs <= 0) {
             $this->StopRec = $this->TotalRecs;
         } else {
             $this->StopRec = $this->StartRec + $this->DisplayRecs - 1;
         }
     }
     if ($bSelectLimit) {
         $rs = $this->LoadRecordset($this->StartRec - 1, $this->DisplayRecs <= 0 ? $this->TotalRecs : $this->DisplayRecs);
     }
     if (!$rs) {
         header("Content-Type:");
         // Remove header
         header("Content-Disposition:");
         $this->ShowMessage();
         return;
     }
     $ExportDoc = ew_ExportDocument($this, "h");
     $ParentTable = "";
     if ($bSelectLimit) {
         $StartRec = 1;
         $StopRec = $this->DisplayRecs <= 0 ? $this->TotalRecs : $this->DisplayRecs;
     } else {
         $StartRec = $this->StartRec;
         $StopRec = $this->StopRec;
     }
     $sHeader = $this->PageHeader;
     $this->Page_DataRendering($sHeader);
     $ExportDoc->Text .= $sHeader;
     $this->ExportDocument($ExportDoc, $rs, $StartRec, $StopRec, "");
     $sFooter = $this->PageFooter;
     $this->Page_DataRendered($sFooter);
     $ExportDoc->Text .= $sFooter;
     // Close recordset
     $rs->Close();
     // Export header and footer
     $ExportDoc->ExportHeaderAndFooter();
     // Clean output buffer
     if (!EW_DEBUG_ENABLED && ob_get_length()) {
         ob_end_clean();
     }
     // Write debug message if enabled
     if (EW_DEBUG_ENABLED) {
         echo ew_DebugMsg();
     }
     // Output data
     if ($this->Export == "email") {
         echo $this->ExportEmail($ExportDoc->Text);
     } else {
         $ExportDoc->Export();
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:74,代码来源:montoslist.php

示例3: ExportData


//.........这里部分代码省略.........
     $this->StartRec = 1;
     $this->SetUpStartRec();
     // Set up start record position
     // Set the last record to display
     if ($this->DisplayRecs <= 0) {
         $this->StopRec = $this->TotalRecs;
     } else {
         $this->StopRec = $this->StartRec + $this->DisplayRecs - 1;
     }
     if (!$rs) {
         header("Content-Type:");
         // Remove header
         header("Content-Disposition:");
         $this->ShowMessage();
         return;
     }
     $this->ExportDoc = ew_ExportDocument($this, "v");
     $Doc =& $this->ExportDoc;
     if ($bSelectLimit) {
         $this->StartRec = 1;
         $this->StopRec = $this->DisplayRecs <= 0 ? $this->TotalRecs : $this->DisplayRecs;
     } else {
         //$this->StartRec = $this->StartRec;
         //$this->StopRec = $this->StopRec;
     }
     // Call Page Exporting server event
     $this->ExportDoc->ExportCustom = !$this->Page_Exporting();
     $ParentTable = "";
     $sHeader = $this->PageHeader;
     $this->Page_DataRendering($sHeader);
     $Doc->Text .= $sHeader;
     $this->ExportDocument($Doc, $rs, $this->StartRec, $this->StopRec, "view");
     // Export detail records (detalle_deudas)
     if (EW_EXPORT_DETAIL_RECORDS && in_array("detalle_deudas", explode(",", $this->getCurrentDetailTable()))) {
         global $detalle_deudas;
         if (!isset($detalle_deudas)) {
             $detalle_deudas = new cdetalle_deudas();
         }
         $rsdetail = $detalle_deudas->LoadRs($detalle_deudas->GetDetailFilter());
         // Load detail records
         if ($rsdetail && !$rsdetail->EOF) {
             $ExportStyle = $Doc->Style;
             $Doc->SetStyle("h");
             // Change to horizontal
             if ($this->Export != "csv" || EW_EXPORT_DETAIL_RECORDS_FOR_CSV) {
                 $Doc->ExportEmptyRow();
                 $detailcnt = $rsdetail->RecordCount();
                 $detalle_deudas->ExportDocument($Doc, $rsdetail, 1, $detailcnt);
             }
             $Doc->SetStyle($ExportStyle);
             // Restore
             $rsdetail->Close();
         }
     }
     // Export detail records (pagos)
     if (EW_EXPORT_DETAIL_RECORDS && in_array("pagos", explode(",", $this->getCurrentDetailTable()))) {
         global $pagos;
         if (!isset($pagos)) {
             $pagos = new cpagos();
         }
         $rsdetail = $pagos->LoadRs($pagos->GetDetailFilter());
         // Load detail records
         if ($rsdetail && !$rsdetail->EOF) {
             $ExportStyle = $Doc->Style;
             $Doc->SetStyle("h");
             // Change to horizontal
             if ($this->Export != "csv" || EW_EXPORT_DETAIL_RECORDS_FOR_CSV) {
                 $Doc->ExportEmptyRow();
                 $detailcnt = $rsdetail->RecordCount();
                 $pagos->ExportDocument($Doc, $rsdetail, 1, $detailcnt);
             }
             $Doc->SetStyle($ExportStyle);
             // Restore
             $rsdetail->Close();
         }
     }
     $sFooter = $this->PageFooter;
     $this->Page_DataRendered($sFooter);
     $Doc->Text .= $sFooter;
     // Close recordset
     $rs->Close();
     // Export header and footer
     $Doc->ExportHeaderAndFooter();
     // Call Page Exported server event
     $this->Page_Exported();
     // Clean output buffer
     if (!EW_DEBUG_ENABLED && ob_get_length()) {
         ob_end_clean();
     }
     // Write debug message if enabled
     if (EW_DEBUG_ENABLED) {
         echo ew_DebugMsg();
     }
     // Output data
     if ($this->Export == "email") {
         echo $this->ExportEmail($Doc->Text);
     } else {
         $Doc->Export();
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_deudasview.php

示例4: ExportData

 function ExportData()
 {
     $utf8 = strtolower(EW_CHARSET) == "utf-8";
     $bSelectLimit = EW_SELECT_LIMIT;
     // Load recordset
     if ($bSelectLimit) {
         $this->TotalRecs = $this->SelectRecordCount();
     } else {
         if ($rs = $this->LoadRecordset()) {
             $this->TotalRecs = $rs->RecordCount();
         }
     }
     $this->StartRec = 1;
     // Export all
     if ($this->ExportAll) {
         set_time_limit(EW_EXPORT_ALL_TIME_LIMIT);
         $this->DisplayRecs = $this->TotalRecs;
         $this->StopRec = $this->TotalRecs;
     } else {
         // Export one page only
         $this->SetUpStartRec();
         // Set up start record position
         // Set the last record to display
         if ($this->DisplayRecs <= 0) {
             $this->StopRec = $this->TotalRecs;
         } else {
             $this->StopRec = $this->StartRec + $this->DisplayRecs - 1;
         }
     }
     if ($bSelectLimit) {
         $rs = $this->LoadRecordset($this->StartRec - 1, $this->DisplayRecs <= 0 ? $this->TotalRecs : $this->DisplayRecs);
     }
     if (!$rs) {
         header("Content-Type:");
         // Remove header
         header("Content-Disposition:");
         $this->ShowMessage();
         return;
     }
     $this->ExportDoc = ew_ExportDocument($this, "h");
     $Doc =& $this->ExportDoc;
     if ($bSelectLimit) {
         $this->StartRec = 1;
         $this->StopRec = $this->DisplayRecs <= 0 ? $this->TotalRecs : $this->DisplayRecs;
     } else {
         //$this->StartRec = $this->StartRec;
         //$this->StopRec = $this->StopRec;
     }
     // Call Page Exporting server event
     $this->ExportDoc->ExportCustom = !$this->Page_Exporting();
     $ParentTable = "";
     // Export master record
     if (EW_EXPORT_MASTER_RECORD && $this->GetMasterFilter() != "" && $this->getCurrentMasterTable() == "tramites") {
         global $tramites;
         if (!isset($tramites)) {
             $tramites = new ctramites();
         }
         $rsmaster = $tramites->LoadRs($this->DbMasterFilter);
         // Load master record
         if ($rsmaster && !$rsmaster->EOF) {
             $ExportStyle = $Doc->Style;
             $Doc->SetStyle("v");
             // Change to vertical
             if ($this->Export != "csv" || EW_EXPORT_MASTER_RECORD_FOR_CSV) {
                 $tramites->ExportDocument($Doc, $rsmaster, 1, 1);
                 $Doc->ExportEmptyRow();
             }
             $Doc->SetStyle($ExportStyle);
             // Restore
             $rsmaster->Close();
         }
     }
     $sHeader = $this->PageHeader;
     $this->Page_DataRendering($sHeader);
     $Doc->Text .= $sHeader;
     $this->ExportDocument($Doc, $rs, $this->StartRec, $this->StopRec, "");
     $sFooter = $this->PageFooter;
     $this->Page_DataRendered($sFooter);
     $Doc->Text .= $sFooter;
     // Close recordset
     $rs->Close();
     // Export header and footer
     $Doc->ExportHeaderAndFooter();
     // Call Page Exported server event
     $this->Page_Exported();
     // Clean output buffer
     if (!EW_DEBUG_ENABLED && ob_get_length()) {
         ob_end_clean();
     }
     // Write debug message if enabled
     if (EW_DEBUG_ENABLED) {
         echo ew_DebugMsg();
     }
     // Output data
     if ($this->Export == "email") {
         echo $this->ExportEmail($Doc->Text);
     } else {
         $Doc->Export();
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:100,代码来源:cciag_seguimiento_tramiteslist.php

示例5: ExportData

 function ExportData()
 {
     $utf8 = strtolower(EW_CHARSET) == "utf-8";
     $bSelectLimit = FALSE;
     // Load recordset
     if ($bSelectLimit) {
         $this->TotalRecs = $this->SelectRecordCount();
     } else {
         if (!$this->Recordset) {
             $this->Recordset = $this->LoadRecordset();
         }
         $rs =& $this->Recordset;
         if ($rs) {
             $this->TotalRecs = $rs->RecordCount();
         }
     }
     $this->StartRec = 1;
     $this->SetUpStartRec();
     // Set up start record position
     // Set the last record to display
     if ($this->DisplayRecs <= 0) {
         $this->StopRec = $this->TotalRecs;
     } else {
         $this->StopRec = $this->StartRec + $this->DisplayRecs - 1;
     }
     if (!$rs) {
         header("Content-Type:");
         // Remove header
         header("Content-Disposition:");
         $this->ShowMessage();
         return;
     }
     $this->ExportDoc = ew_ExportDocument($this, "v");
     $Doc =& $this->ExportDoc;
     if ($bSelectLimit) {
         $this->StartRec = 1;
         $this->StopRec = $this->DisplayRecs <= 0 ? $this->TotalRecs : $this->DisplayRecs;
     } else {
         //$this->StartRec = $this->StartRec;
         //$this->StopRec = $this->StopRec;
     }
     // Call Page Exporting server event
     $this->ExportDoc->ExportCustom = !$this->Page_Exporting();
     $ParentTable = "";
     $sHeader = $this->PageHeader;
     $this->Page_DataRendering($sHeader);
     $Doc->Text .= $sHeader;
     $this->ExportDocument($Doc, $rs, $this->StartRec, $this->StopRec, "view");
     $sFooter = $this->PageFooter;
     $this->Page_DataRendered($sFooter);
     $Doc->Text .= $sFooter;
     // Close recordset
     $rs->Close();
     // Call Page Exported server event
     $this->Page_Exported();
     // Export header and footer
     $Doc->ExportHeaderAndFooter();
     // Clean output buffer
     if (!EW_DEBUG_ENABLED && ob_get_length()) {
         ob_end_clean();
     }
     // Write debug message if enabled
     if (EW_DEBUG_ENABLED && $this->Export != "pdf") {
         echo ew_DebugMsg();
     }
     // Output data
     $Doc->Export();
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:68,代码来源:airplaneview.php

示例6: ExportData

 function ExportData()
 {
     global $t_promotions_vins;
     $utf8 = strtolower(EW_CHARSET) == "utf-8";
     $bSelectLimit = EW_SELECT_LIMIT;
     // Load recordset
     if ($bSelectLimit) {
         $this->TotalRecs = $t_promotions_vins->SelectRecordCount();
     } else {
         if ($rs = $this->LoadRecordset()) {
             $this->TotalRecs = $rs->RecordCount();
         }
     }
     $this->StartRec = 1;
     // Export all
     if ($t_promotions_vins->ExportAll) {
         $this->DisplayRecs = $this->TotalRecs;
         $this->StopRec = $this->TotalRecs;
     } else {
         // Export one page only
         $this->SetUpStartRec();
         // Set up start record position
         // Set the last record to display
         if ($this->DisplayRecs < 0) {
             $this->StopRec = $this->TotalRecs;
         } else {
             $this->StopRec = $this->StartRec + $this->DisplayRecs - 1;
         }
     }
     if ($bSelectLimit) {
         $rs = $this->LoadRecordset($this->StartRec - 1, $this->DisplayRecs);
     }
     if (!$rs) {
         header("Content-Type:");
         // Remove header
         header("Content-Disposition:");
         $this->ShowMessage();
         return;
     }
     if ($t_promotions_vins->Export == "xml") {
         $XmlDoc = new cXMLDocument(EW_XML_ENCODING);
     } else {
         $ExportDoc = new cExportDocument($t_promotions_vins, "h");
     }
     $ParentTable = "";
     if ($bSelectLimit) {
         $StartRec = 1;
         $StopRec = $this->DisplayRecs;
     } else {
         $StartRec = $this->StartRec;
         $StopRec = $this->StopRec;
     }
     if ($t_promotions_vins->Export == "xml") {
         $t_promotions_vins->ExportXmlDocument($XmlDoc, $ParentTable != "", $rs, $StartRec, $StopRec, "");
     } else {
         $sHeader = $this->PageHeader;
         $this->Page_DataRendering($sHeader);
         $ExportDoc->Text .= $sHeader;
         $t_promotions_vins->ExportDocument($ExportDoc, $rs, $StartRec, $StopRec, "");
         $sFooter = $this->PageFooter;
         $this->Page_DataRendered($sFooter);
         $ExportDoc->Text .= $sFooter;
     }
     // Close recordset
     $rs->Close();
     // Export header and footer
     if ($t_promotions_vins->Export != "xml") {
         $ExportDoc->ExportHeaderAndFooter();
     }
     // Clean output buffer
     if (!EW_DEBUG_ENABLED && ob_get_length()) {
         ob_end_clean();
     }
     // Write BOM if utf-8
     if ($utf8 && !in_array($t_promotions_vins->Export, array("email", "xml"))) {
         echo "";
     }
     // Write debug message if enabled
     if (EW_DEBUG_ENABLED) {
         echo ew_DebugMsg();
     }
     // Output data
     if ($t_promotions_vins->Export == "xml") {
         header("Content-Type: text/xml");
         echo $XmlDoc->XML();
     } elseif ($t_promotions_vins->Export == "email") {
         $this->ExportEmail($ExportDoc->Text);
         $this->Page_Terminate($t_promotions_vins->ExportReturnUrl());
     } elseif ($t_promotions_vins->Export == "pdf") {
         $this->ExportPDF($ExportDoc->Text);
     } else {
         echo $ExportDoc->Text;
     }
 }
开发者ID:Razinsky,项目名称:echaude-com,代码行数:94,代码来源:t_promotions_vinslist.php


注:本文中的ew_DebugMsg函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。