本文整理汇总了PHP中ew_DeleteTmpImages函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_DeleteTmpImages函数的具体用法?PHP ew_DeleteTmpImages怎么用?PHP ew_DeleteTmpImages使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ew_DeleteTmpImages函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: Page_Terminate
function Page_Terminate($url = "")
{
global $conn, $gsExportFile, $gTmpImages;
// Page Unload event
$this->Page_Unload();
// Global Page Unloaded event (in userfn*.php)
Page_Unloaded();
// Export
global $EW_EXPORT, $v_hoja_manteniminto;
if ($this->CustomExport != "" && $this->CustomExport == $this->Export && array_key_exists($this->CustomExport, $EW_EXPORT)) {
$sContent = ob_get_contents();
if ($gsExportFile == "") {
$gsExportFile = $this->TableVar;
}
$class = $EW_EXPORT[$this->CustomExport];
if (class_exists($class)) {
$doc = new $class($v_hoja_manteniminto);
$doc->Text = $sContent;
if ($this->Export == "email") {
echo $this->ExportEmail($doc->Text);
} else {
$doc->Export();
}
ew_DeleteTmpImages();
// Delete temp images
exit;
}
}
$this->Page_Redirecting($url);
// Close connection
$conn->Close();
// Go to URL if specified
if ($url != "") {
if (!EW_DEBUG_ENABLED && ob_get_length()) {
ob_end_clean();
}
header("Location: " . $url);
}
exit;
}
开发者ID:scintes,项目名称:sistemas,代码行数:40,代码来源:v_hoja_mantenimintolist.php
示例2: Page_Terminate
function Page_Terminate($url = "")
{
global $conn, $gsExportFile, $gTmpImages;
// Export
global $EW_EXPORT, $cuenta;
if ($this->CustomExport != "" && $this->CustomExport == $this->Export && array_key_exists($this->CustomExport, $EW_EXPORT)) {
$sContent = ob_get_contents();
if ($gsExportFile == "") {
$gsExportFile = $this->TableVar;
}
$class = $EW_EXPORT[$this->CustomExport];
if (class_exists($class)) {
$doc = new $class($cuenta);
$doc->Text = $sContent;
if ($this->Export == "email") {
echo $this->ExportEmail($doc->Text);
} else {
$doc->Export();
}
ew_DeleteTmpImages();
// Delete temp images
exit;
}
}
// $GLOBALS["Table"] = &$GLOBALS["MasterTable"];
unset($GLOBALS["Grid"]);
if ($url == "") {
return;
}
$this->Page_Redirecting($url);
// Go to URL if specified
if ($url != "") {
if (!EW_DEBUG_ENABLED && ob_get_length()) {
ob_end_clean();
}
header("Location: " . $url);
}
exit;
}
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:39,代码来源:cuentagridcls.php
示例3: __destruct
function __destruct()
{
ew_DeleteTmpImages();
}
开发者ID:NaurozAhmad,项目名称:Senho,代码行数:4,代码来源:phpfn12.php
示例4: ExportPDF
function ExportPDF($html)
{
echo $html;
ew_DeleteTmpImages();
exit;
}
开发者ID:Razinsky,项目名称:echaude-com,代码行数:6,代码来源:t_promotions_vinslist.php
示例5: Export
function Export()
{
global $gsExportFile;
ob_end_clean();
header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' . (EW_CHARSET != "" ? ";charset=" . EW_CHARSET : ""));
header('Content-Disposition: attachment; filename=' . $gsExportFile . '.xlsx');
header('Cache-Control: max-age=0');
$objWriter = PHPExcel_IOFactory::createWriter($this->phpexcel, 'Excel2007');
$objWriter->save('php://output');
ew_DeleteTmpImages();
}
开发者ID:erick-chali,项目名称:Ubicacion,代码行数:11,代码来源:phpfn11.php
注:本文中的ew_DeleteTmpImages函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论