summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/DataMapper
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2015-01-22 09:14:12 +0100
committerFabio Bas <ctrlaltca@gmail.com>2015-01-22 09:14:12 +0100
commit5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (patch)
treee870d29e21c14d5b1683d638dff978afe0a104fa /framework/Data/SqlMap/DataMapper
parent53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff)
Apply namespaces to class inheritances (pt1)
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;