From 33b2284955a8f0015922d4c69c5082141b584f27 Mon Sep 17 00:00:00 2001 From: wei <> Date: Tue, 5 Dec 2006 23:37:07 +0000 Subject: load the inlineeditor textbox in client side onload. --- framework/Data/SqlMap/Configuration/TResultProperty.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'framework/Data/SqlMap/Configuration/TResultProperty.php') diff --git a/framework/Data/SqlMap/Configuration/TResultProperty.php b/framework/Data/SqlMap/Configuration/TResultProperty.php index e8fc5c38..884f1a78 100644 --- a/framework/Data/SqlMap/Configuration/TResultProperty.php +++ b/framework/Data/SqlMap/Configuration/TResultProperty.php @@ -282,10 +282,12 @@ class TResultProperty extends TComponent { if(class_exists($type = $this->getType(), false)) //NO force autoloading { + if($type==='TList') + return self::LIST_TYPE; $class = new ReflectionClass($type); if($class->isSubclassOf('TList')) return self::LIST_TYPE; - if($class->inmplementsInterface('ArrayAccess')) + if($class->implementsInterface('ArrayAccess')) return self::ARRAY_TYPE; } if(strtolower($type) == 'array') -- cgit v1.2.3