[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/class.xmltool.php, 1.1.1.1.2.13
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/class.xmltool.php, 1.1.1.1.2.13 |
Date: |
Fri, 9 Jul 2004 01:22:17 +0200 |
Update of /api
Modified Files:
Branch: proposal-branch
class.xmltool.php
date: 2004/07/08 23:22:17; author: dcech; state: Exp; lines: +5 -5
Log Message:
commented out settings stuff in phpgw class until seek3r commits the settings
class
fixed some issues with xmltool and objects
fixed issue with trailing slash on basepath
=====================================================================
Index: api/class.xmltool.php
diff -u api/class.xmltool.php:1.1.1.1.2.12 api/class.xmltool.php:1.1.1.1.2.13
--- api/class.xmltool.php:1.1.1.1.2.12 Tue Jun 22 15:42:43 2004
+++ api/class.xmltool.php Thu Jul 8 23:22:17 2004
@@ -116,7 +116,7 @@
switch ($this->node_type)
{
case 'root':
- if (!is_object($node_object))
+ if (!is_a($node_object,'api_xmltool'))
{
$this->import_var($name,
$node_object);
break;
@@ -125,7 +125,7 @@
$this->data = $node_object;
break;
case 'node':
- if (!is_object($node_object))
+ if (!is_a($node_object,'api_xmltool'))
{
$this->import_var($name,
$node_object);
break;
@@ -489,7 +489,7 @@
$result .= '<!-- '.$comment."
-->\n";
}
}
- if(is_object($this->data))
+ if(is_a($this->data,'api_xmltool'))
{
$indent = 0;
$result .=
$this->data->export_xml($indent);
@@ -555,7 +555,7 @@
$subindent = $indent+1;
foreach($this->data as $i =>
$item)
{
-
if(is_object($this->data[$i]))
+
if(is_a($this->data[$i],'api_xmltool'))
{
$result .=
$this->data[$i]->export_xml($subindent);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/class.xmltool.php, 1.1.1.1.2.13,
nomail <=