summaryrefslogtreecommitdiff
path: root/it_xml.class
diff options
context:
space:
mode:
authorUrban Müller2010-03-05 13:25:03 +0000
committerUrban Müller2010-03-05 13:25:03 +0000
commit7773df0accb4115fab52a62bfd44a0a169dd76cf (patch)
tree894092986ddf588bb043da3be6ceec98a5285bc6 /it_xml.class
parent226098dbf14fc5921d26767721fdde5aecbecf45 (diff)
downloaditools-7773df0accb4115fab52a62bfd44a0a169dd76cf.tar.gz
itools-7773df0accb4115fab52a62bfd44a0a169dd76cf.tar.bz2
itools-7773df0accb4115fab52a62bfd44a0a169dd76cf.zip
too kludgy for now
Diffstat (limited to 'it_xml.class')
-rw-r--r--it_xml.class4
1 files changed, 1 insertions, 3 deletions
diff --git a/it_xml.class b/it_xml.class
index d22dc23..7dd82c7 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -334,13 +334,11 @@ function error()
function set($vals)
{
- $prefix = it::match(".*_", get_class($this));
-
if (is_array($vals))
{
foreach ($vals as $key => $val)
{
- $classname = $prefix . $this->_make_identifier($key);
+ $classname = $this->_p['prefix'] . $this->_make_identifier($key);
if (!class_exists($classname))
eval("class $classname extends it_xml {}");