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/Web/TUrlMapping.php | |
parent | 53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff) |
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Web/TUrlMapping.php')
-rw-r--r-- | framework/Web/TUrlMapping.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/framework/Web/TUrlMapping.php b/framework/Web/TUrlMapping.php index fdca7482..d8c0aed7 100644 --- a/framework/Web/TUrlMapping.php +++ b/framework/Web/TUrlMapping.php @@ -10,9 +10,11 @@ */ namespace Prado\Web; - -Prado::using('System.Web.TUrlManager'); -Prado::using('System.Collections.TAttributeCollection'); +use Prado\Exceptions\TConfigurationException; +use Prado\Prado; +use Prado\TApplication; +use Prado\Xml\TXmlDocument; +use Prado\Xml\TXmlElement; /** * TUrlMapping Class @@ -351,7 +353,7 @@ class TUrlMapping extends TUrlManager { if($this->_customUrl) { - if(!(is_array($getItems) || ($getItems instanceof Traversable))) + if(!(is_array($getItems) || ($getItems instanceof \Traversable))) $getItems=array(); $key=$serviceID.':'.$serviceParam; $wildCardKey = ($pos=strrpos($serviceParam,'.'))!==false ? |