From 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 22 Jan 2015 09:14:12 +0100 Subject: Apply namespaces to class inheritances (pt1) --- framework/Web/TUrlMapping.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'framework/Web/TUrlMapping.php') 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 ? -- cgit v1.2.3