summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2010-11-04 16:30:38 +0000
committerUrban Müller2010-11-04 16:30:38 +0000
commit8133b1209aa512544a090d6eaf9ba7031f47c13e (patch)
treeb456ea87d7d7f5a2cd3cbe9cf536fa30e2ac33d3
parent0b71f9f37f6f30890a478e127802a2912f71be74 (diff)
downloaditools-8133b1209aa512544a090d6eaf9ba7031f47c13e.tar.gz
itools-8133b1209aa512544a090d6eaf9ba7031f47c13e.tar.bz2
itools-8133b1209aa512544a090d6eaf9ba7031f47c13e.zip
string cast accesses field
-rw-r--r--it_xml.class5
1 files changed, 5 insertions, 0 deletions
diff --git a/it_xml.class b/it_xml.class
index da74b4e..f367147 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -371,6 +371,11 @@ function set($vals, $parentprefix = null)
$this->val = $vals;
}
+function __toString()
+{
+ return $this->val;
+}
+
}
?>