From 8133b1209aa512544a090d6eaf9ba7031f47c13e Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 4 Nov 2010 16:30:38 +0000 Subject: string cast accesses field --- it_xml.class | 5 +++++ 1 file changed, 5 insertions(+) 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; +} + } ?> -- cgit v1.2.3