summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/Configuration/TResultProperty.php
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/Configuration/TResultProperty.php
parent53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff)
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Data/SqlMap/Configuration/TResultProperty.php')
-rw-r--r--framework/Data/SqlMap/Configuration/TResultProperty.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/Data/SqlMap/Configuration/TResultProperty.php b/framework/Data/SqlMap/Configuration/TResultProperty.php
index 2404d2c9..59ce44a9 100644
--- a/framework/Data/SqlMap/Configuration/TResultProperty.php
+++ b/framework/Data/SqlMap/Configuration/TResultProperty.php
@@ -33,7 +33,7 @@ namespace Prado\Data\SqlMap\Configuration;
* @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
-class TResultProperty extends TComponent
+class TResultProperty extends \Prado\TComponent
{
private $_nullValue;
private $_propertyName;
@@ -275,7 +275,7 @@ class TResultProperty extends TComponent
}
/**
- * Determines if the type is an instance of ArrayAccess, TList or an array.
+ * Determines if the type is an instance of \ArrayAccess, TList or an array.
* @return int TResultProperty::LIST_TYPE or TResultProperty::ARRAY_TYPE
*/
protected function getPropertyValueType()
@@ -308,10 +308,10 @@ class TResultProperty extends TComponent
}
/**
- * Returns true if the result property {@link Type getType()} is of ArrayAccess
- * or that the actual result object is an array or implements ArrayAccess
+ * Returns true if the result property {@link Type getType()} is of \ArrayAccess
+ * or that the actual result object is an array or implements \ArrayAccess
* @param object result object
- * @return boolean true if the result object is an instance of ArrayAccess or is an array.
+ * @return boolean true if the result object is an instance of \ArrayAccess or is an array.
*/
public function instanceOfArrayType($target)
{
@@ -319,7 +319,7 @@ class TResultProperty extends TComponent
{
$prop = TPropertyAccess::get($target,$this->getProperty());
if(is_object($prop))
- return $prop instanceof ArrayAccess;
+ return $prop instanceof \ArrayAccess;
return is_array($prop);
}
return $this->getPropertyValueType() == self::ARRAY_TYPE;