summaryrefslogtreecommitdiff
path: root/framework/Collections/TMap.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/Collections/TMap.php
parent53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff)
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Collections/TMap.php')
-rw-r--r--framework/Collections/TMap.php19
1 files changed, 11 insertions, 8 deletions
diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php
index d06028e0..3a83fa4c 100644
--- a/framework/Collections/TMap.php
+++ b/framework/Collections/TMap.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Collections;
+use Prado\Exceptions\TInvalidDataTypeException;
+use Prado\Exceptions\TInvalidOperationException;
+use Prado\TPropertyValue;
/**
* TMap class
@@ -32,7 +35,7 @@ namespace Prado\Collections;
* @package Prado\Collections
* @since 3.0
*/
-class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
+class TMap extends \Prado\TComponent implements \IteratorAggregate, \ArrayAccess, \Countable
{
/**
* @var array internal data storage
@@ -75,17 +78,17 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
/**
* Returns an iterator for traversing the items in the list.
- * This method is required by the interface IteratorAggregate.
+ * This method is required by the interface \IteratorAggregate.
* @return Iterator an iterator for traversing the items in the list.
*/
public function getIterator()
{
- return new ArrayIterator( $this->_d );
+ return new \ArrayIterator( $this->_d );
}
/**
* Returns the number of items in the map.
- * This method is required by Countable interface.
+ * This method is required by \Countable interface.
* @return integer number of items in the map.
*/
public function count()
@@ -222,7 +225,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
/**
* Returns whether there is an element at the specified offset.
- * This method is required by the interface ArrayAccess.
+ * This method is required by the interface \ArrayAccess.
* @param mixed the offset to check on
* @return boolean
*/
@@ -233,7 +236,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
/**
* Returns the element at the specified offset.
- * This method is required by the interface ArrayAccess.
+ * This method is required by the interface \ArrayAccess.
* @param integer the offset to retrieve element.
* @return mixed the element at the offset, null if no element is found at the offset
*/
@@ -244,7 +247,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
/**
* Sets the element at the specified offset.
- * This method is required by the interface ArrayAccess.
+ * This method is required by the interface \ArrayAccess.
* @param integer the offset to set element
* @param mixed the element value
*/
@@ -255,7 +258,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
/**
* Unsets the element at the specified offset.
- * This method is required by the interface ArrayAccess.
+ * This method is required by the interface \ArrayAccess.
* @param mixed the offset to unset element
*/
public function offsetUnset($offset)