[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.boXport.inc.php, 1.5
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.boXport.inc.php, 1.5 |
Date: |
Fri, 16 Jul 2004 01:22:40 +0200 |
Update of /property/inc
Modified Files:
Branch:
class.boXport.inc.php
date: 2004/07/15 23:22:40; author: sigurdne; state: Exp; lines: +16 -4
Log Message:
no message
=====================================================================
Index: property/inc/class.boXport.inc.php
diff -u property/inc/class.boXport.inc.php:1.4
property/inc/class.boXport.inc.php:1.5
--- property/inc/class.boXport.inc.php:1.4 Wed Jul 14 08:58:29 2004
+++ property/inc/class.boXport.inc.php Thu Jul 15 23:22:40 2004
@@ -244,14 +244,18 @@
return $buffer;
}
- function export($conv_type,$download,$pre_transfer='')
+ function export($data)
{
- include (PHPGW_APP_INC . '/export/' . $conv_type);
+ $conv_type = $data['conv_type'];
+ $download = $data['download'];
+ $pre_transfer = $data['pre_transfer'];
+
+ include(PHPGW_SERVER_ROOT.'/'.'property'.'/inc/export/'
. $conv_type);
$invoice = new export_conv;
$buffer = $invoice->overfor($download,$pre_transfer);
- $tsvfilename =
$GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $tsvfilename;
+// $tsvfilename =
$GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $tsvfilename;
return $buffer;
}
@@ -265,5 +269,13 @@
}
+ function export_cron($data)
+ {
+ if($data['enabled']==1)
+ {
+ $this->export($data);
+ }
+ }
+
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.boXport.inc.php, 1.5,
nomail <=