summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/DataMapper
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/SqlMap/DataMapper')
-rw-r--r--framework/Data/SqlMap/DataMapper/TPropertyAccess.php6
-rw-r--r--framework/Data/SqlMap/DataMapper/TSqlMapTypeHandler.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/Data/SqlMap/DataMapper/TPropertyAccess.php b/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
index d5956d9d..666f105b 100644
--- a/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
+++ b/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
@@ -57,7 +57,7 @@ class TPropertyAccess
$properties = explode('.', $path);
foreach($properties as $prop)
{
- if(is_array($object) || $object instanceof ArrayAccess)
+ if(is_array($object) || $object instanceof \ArrayAccess)
{
if(array_key_exists($prop, $object))
$object = $object[$prop];
@@ -94,7 +94,7 @@ class TPropertyAccess
$properties = explode('.', $path);
foreach($properties as $prop)
{
- if(is_array($object) || $object instanceof ArrayAccess)
+ if(is_array($object) || $object instanceof \ArrayAccess)
{
if(array_key_exists($prop, $object))
$object = $object[$prop];
@@ -135,7 +135,7 @@ class TPropertyAccess
else
$object = &$originalObject;
- if(is_array($object) || $object instanceof ArrayAccess)
+ if(is_array($object) || $object instanceof \ArrayAccess)
{
$object[$prop] = $value;
}
diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapTypeHandler.php b/framework/Data/SqlMap/DataMapper/TSqlMapTypeHandler.php
index 1c5c33bf..3105e80a 100644
--- a/framework/Data/SqlMap/DataMapper/TSqlMapTypeHandler.php
+++ b/framework/Data/SqlMap/DataMapper/TSqlMapTypeHandler.php
@@ -28,7 +28,7 @@ namespace Prado\Data\SqlMap\DataMapper;
* @package Prado\Data\SqlMap\DataMapper
* @since 3.1
*/
-abstract class TSqlMapTypeHandler extends TComponent
+abstract class TSqlMapTypeHandler extends \Prado\TComponent
{
private $_dbType='NULL';
private $_type;