/var/www/vhosts/mariazarzalejos.com/httpdocs/protected/controllers/SiteController.php(518)
506 foreach ($products as $key => $product) { 507 $cats[$product->pro->marcat->mca_name][] = $product; 508 } 509 asort($cats); 510 } 511 elseif(!empty($_GET['catname']) and $mcategory = $this->loadMarketCategory($_GET['catname'])){ 512 $str = $mcategory->mca_name; 513 $criteriasel->with = array('mon'=>array('order'=>'mon_name ASC'),'pro'=>array('order'=>'pro_name ASC','condition'=>'marcat_id=:marcat_id')); 514 $criteriasel->params = array(':marcat_id'=>$mcategory->marcat_id); 515 $products = Monthproduct::model()->findAll($criteriasel); 516 foreach ($products as $key => $product) { 517 $obj = ''; 518 $obj['key'] = $product->mon->mon_id; 519 $obj['name'] = $product->mon->mon_name; 520 $obj['object'] = $product; 521 $otro[] = $obj; 522 } 523 $SMA = new SortMultiArray($otro,'key',0); 524 $mas = $SMA->GetSortedArray(); 525 foreach ($mas as $key => $value) { 526 $cats[$value['name']][]=$value['object']; 527 } 528 }else { 529 $month = Month::model()->findByPk(date('n')); 530 $str = $month->mon_name;
#0 |
+
–
/var/www/vhosts/mariazarzalejos.com/httpdocs/yii-1.1.12.b600af/framework/web/actions/CInlineAction.php(50): SiteController->actionmarket() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#1 |
+
–
/var/www/vhosts/mariazarzalejos.com/httpdocs/yii-1.1.12.b600af/framework/web/CController.php(309): CInlineAction->runWithParams(array("catname" => "frutas_y_frutos_secos")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#2 |
+
–
/var/www/vhosts/mariazarzalejos.com/httpdocs/yii-1.1.12.b600af/framework/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#3 |
+
–
/var/www/vhosts/mariazarzalejos.com/httpdocs/yii-1.1.12.b600af/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#4 |
+
–
/var/www/vhosts/mariazarzalejos.com/httpdocs/yii-1.1.12.b600af/framework/web/CWebApplication.php(283): CController->run("market") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
#5 |
+
–
/var/www/vhosts/mariazarzalejos.com/httpdocs/yii-1.1.12.b600af/framework/web/CWebApplication.php(142): CWebApplication->runController("site/market") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#6 |
+
–
/var/www/vhosts/mariazarzalejos.com/httpdocs/yii-1.1.12.b600af/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#7 |
+
–
/var/www/vhosts/mariazarzalejos.com/httpdocs/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',30); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |