[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/cron export_info_as_files.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/inc/cron export_info_as_files.php |
Date: |
Thu, 27 Sep 2007 13:03:56 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Changes by: Sigurd Nes <sigurdne> 07/09/27 13:03:56
Modified files:
inc/cron : export_info_as_files.php
Log message:
update
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/cron/export_info_as_files.php?cvsroot=phpgroupware&r1=1.8&r2=1.9
Patches:
Index: export_info_as_files.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/cron/export_info_as_files.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- export_info_as_files.php 27 Sep 2007 09:10:54 -0000 1.8
+++ export_info_as_files.php 27 Sep 2007 13:03:56 -0000 1.9
@@ -24,7 +24,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage custom
- * @version $Id: export_info_as_files.php,v 1.8 2007/09/27 09:10:54
sigurdne Exp $
+ * @version $Id: export_info_as_files.php,v 1.9 2007/09/27 13:03:56
sigurdne Exp $
*/
/**
@@ -134,6 +134,7 @@
$this->export_sprinkler();
$this->export_smokevent();
$this->export_tenants();
+ $this->export_keyes();
if(!$cron)
{
@@ -256,6 +257,17 @@
$this->export_to_file($name,$descr,$filename, $sql);
}
+ function export_keyes()
+ {
+ $descr = array('ID', 'Objekt', 'Bygg',
'Addresse','System Nr');
+ $name = array('num', 'loc1', 'loc2', 'address',
'system_nr');
+
+ $filename= 'NOEKLER';
+ $sql = "SELECT * from fm_entity_1_6";
+
+ $this->export_to_file($name,$descr,$filename, $sql);
+ }
+
function export_as_excel($name,$descr,$filename, $sql)
{