diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-22 09:14:12 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-22 09:14:12 +0100 |
commit | 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (patch) | |
tree | e870d29e21c14d5b1683d638dff978afe0a104fa /framework/Data/SqlMap/DataMapper | |
parent | 53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff) |
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Data/SqlMap/DataMapper')
-rw-r--r-- | framework/Data/SqlMap/DataMapper/TPropertyAccess.php | 6 | ||||
-rw-r--r-- | framework/Data/SqlMap/DataMapper/TSqlMapTypeHandler.php | 2 |
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; |