summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/Statements/TMappedStatement.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/SqlMap/Statements/TMappedStatement.php')
-rw-r--r--framework/Data/SqlMap/Statements/TMappedStatement.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Data/SqlMap/Statements/TMappedStatement.php b/framework/Data/SqlMap/Statements/TMappedStatement.php
index db83f755..2f7e8619 100644
--- a/framework/Data/SqlMap/Statements/TMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TMappedStatement.php
@@ -21,7 +21,7 @@ namespace Prado\Data\SqlMap\Statements;
* @package Prado\Data\SqlMap\Statements
* @since 3.0
*/
-class TMappedStatement extends TComponent implements IMappedStatement
+class TMappedStatement extends \Prado\TComponent implements IMappedStatement
{
/**
* @var TSqlMapStatement current SQL statement.
@@ -226,7 +226,7 @@ class TMappedStatement extends TComponent implements IMappedStatement
public function runQueryForList($connection, $parameter, $sql, $result, $delegate=null)
{
$registry=$this->getManager()->getTypeHandlers();
- $list = $result instanceof ArrayAccess ? $result :
+ $list = $result instanceof \ArrayAccess ? $result :
$this->_statement->createInstanceOfListClass($registry);
$connection->setActive(true);
$reader = $sql->query();
@@ -581,7 +581,7 @@ class TMappedStatement extends TComponent implements IMappedStatement
$resultObject = $this->_statement->createInstanceOfResultClass($registry,$row);
}
- if($resultObject instanceOf ArrayAccess)
+ if($resultObject instanceOf \ArrayAccess)
return $this->fillResultArrayList($row, $resultObject);
else if(is_object($resultObject))
return $this->fillResultObjectProperty($row, $resultObject);