/var/www/codebase/yowcow/frontend/models/SearchForm.php(430)
418 else 419 $name=''; 420 return Category::queryCategoryID($name); 421 } 422 else 423 { 424 $allCategories=param('categories.fullmap'); 425 if (isset($allCategories[$parent])) 426 $parentName=$allCategories[$parent]; 427 if (isset($allCategories[$parent.'.'.$category])) 428 $name=$allCategories[$parent.'.'.$category]; 429 if ($parentName && $name) 430 return Category::queryCategoryID($name, $parentName); 431 else 432 return 0; 433 } 434 } 435 }
#0 |
+
–
/var/www/codebase/yowcow/frontend/models/SearchForm.php(47): SearchForm->getCategoryID("smallbiz", "services") 42 { 43 if (isset($params['category'])) 44 { 45 if (isset($params['parent'])) 46 { 47 $this->category_id=$this->getCategoryID($params['category'],$params['parent']); 48 $this->category=$params['category']; 49 } 50 else 51 { 52 $this->category_id=$this->getCategoryID($params['category']); |
#1 |
+
–
/var/www/codebase/yowcow/frontend/controllers/SearchController.php(9): SearchForm->loadAttributesFromUrl(array("services", "smallbiz", "l-charlotte-nc")) 04 { 05 public function actionIndex() 06 { 07 $form=new SearchForm(); 08 //$form->attributes = $_GET; 09 $form->loadAttributesFromUrl($_GET); 10 $form->expandGetAttributes(); 11 if (empty($this->searchForm)) 12 $this->searchForm=new HeaderSearchForm(); 13 $this->searchForm->attributes=$form->attributes; 14 $search = new SiteSearch($form); |
#2 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/actions/CInlineAction.php(57): SearchController->actionIndex() 52 throw new CHttpException(400,Yii::t('yii','Your request is invalid.')); 53 } 54 $method->invokeArgs($controller,$params); 55 } 56 else 57 $controller->$methodName(); 58 } 59 } |
#3 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/CController.php(300): CInlineAction->run() 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 $action->run(); 301 $this->afterAction($action); 302 } 303 $this->_action=$priorAction; 304 } 305 |
#4 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#5 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/filters/CFilter.php(41): CFilterChain->run() 36 */ 37 public function filter($filterChain) 38 { 39 if($this->preFilter($filterChain)) 40 { 41 $filterChain->run(); 42 $this->postFilter($filterChain); 43 } 44 } 45 46 /** |
#6 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/CController.php(1088): CFilter->filter(CFilterChain) 1083 */ 1084 public function filterAccessControl($filterChain) 1085 { 1086 $filter=new CAccessControlFilter; 1087 $filter->setRules($this->accessRules()); 1088 $filter->filter($filterChain); 1089 } 1090 1091 /** 1092 * Generates pagination information. 1093 * This method can be used to generate pagination information given item count |
#7 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/filters/CInlineFilter.php(59): CController->filterAccessControl(CFilterChain) 54 * @param CFilterChain $filterChain the filter chain that the filter is on. 55 */ 56 public function filter($filterChain) 57 { 58 $method='filter'.$this->name; 59 $filterChain->controller->$method($filterChain); 60 } 61 } |
#8 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#9 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/CController.php(283): CFilterChain->run() 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); 284 $this->_action=$priorAction; 285 } 286 } 287 288 /** |
#10 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array("accessControl")) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#11 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/CWebApplication.php(328): CController->run("index") 323 { 324 list($controller,$actionID)=$ca; 325 $oldController=$this->_controller; 326 $this->_controller=$controller; 327 $controller->init(); 328 $controller->run($actionID); 329 $this->_controller=$oldController; 330 } 331 else 332 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 333 array('{route}'=>$route===''?$this->defaultController:$route))); |
#12 |
+
–
/var/www/codebase/yowcow/common/lib/yii/web/CWebApplication.php(121): CWebApplication->runController("search/index") 116 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 117 $_GET[$name]=$value; 118 } 119 else 120 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 121 $this->runController($route); 122 } 123 124 /** 125 * Registers the core application components. 126 * This method overrides the parent implementation by registering additional core components. |
#13 |
+
–
/var/www/codebase/yowcow/common/lib/yii/base/CApplication.php(155): CWebApplication->processRequest() 150 */ 151 public function run() 152 { 153 if($this->hasEventHandler('onBeginRequest')) 154 $this->onBeginRequest(new CEvent($this)); 155 $this->processRequest(); 156 if($this->hasEventHandler('onEndRequest')) 157 $this->onEndRequest(new CEvent($this)); 158 } 159 160 /** |
#14 |
+
–
/var/www/codebase/yowcow/frontend/www/index.php(19): CApplication->run() 14 $config=$root.'/config/main-local.php'; 15 16 require_once($common.'/lib/yii/yii.php'); 17 require_once($common.'/lib/global.php'); 18 19 Yii::createWebApplication($config)->run(); 20 21 |