/var/www/yurey/data/www/optimusgroup.ru/protected/modules/content/controllers/front/ClientcityController.php(156)
144 145 public function getMapDpdDeliveryPointByCityName($cityName) { 146 147 $cahceKey='dpdp-client-city-list'; 148 $cityList=Yii::app()->cache->get($cahceKey); 149 if($cityList===false) 150 { 151 $this->actionResetDPDClientCityList(); 152 $cityList=Yii::app()->cache->get($cahceKey); 153 } 154 155 156 return $cityList[$cityName]; 157 } 158 159 160 161 /* 162 * Запрос и кеширование всех пунктов выдачи для городов 163 * Должно дёргатся по крону 164 */ 165 public function actionResetDPDClientCityList() { 166 167 ini_set('default_socket_timeout', '500'); 168 ini_set('memory_limit', '512M');
#0 |
+
–
/var/www/yurey/data/www/optimusgroup.ru/protected/modules/content/controllers/front/ClientcityController.php(122): ClientcityController->getMapDpdDeliveryPointByCityName("Королёв") 117 118 119 120 121 122 $deliveryPoints=$this->getMapDpdDeliveryPointByCityName($cityOne->name); 123 //$deliveryPoints=array(); 124 125 126 127 $this->render('cityClientOne',array('model'=>$cityOne,'cityName'=>$cityOne->name,'delivery_points'=>$deliveryPoints)); |
#1 |
+
–
/var/www/yurey/data/www/framework/web/actions/CInlineAction.php(50): ClientcityController->actionCityClientOne() 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 } |
#2 |
+
–
/var/www/yurey/data/www/framework/web/CController.php(309): CInlineAction->runWithParams(array("alias" => "Korolev")) 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; |
#3 |
+
–
/var/www/yurey/data/www/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(); |
#4 |
+
–
/var/www/yurey/data/www/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); |
#5 |
+
–
/var/www/yurey/data/www/framework/web/CWebApplication.php(283): CController->run("CityClientOne") 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))); |
#6 |
+
–
/var/www/yurey/data/www/framework/web/CWebApplication.php(142): CWebApplication->runController("content/Clientcity/CityClientOne") 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. |
#7 |
+
–
/var/www/yurey/data/www/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 /** |
#8 |
+
–
/var/www/yurey/data/www/optimusgroup.ru/protected/components/WebApplicationEndBehavior.php(26): CApplication->run() 21 // Attach the changeModulePaths event handler 22 // and raise it. 23 $this->onModuleCreate = array($this, 'changeModulePaths'); 24 $this->onModuleCreate(new CEvent($this->owner)); 25 26 $this->owner->run(); // Run application. 27 } 28 29 // This event should be raised when CWebApplication 30 // or CWebModule instances are being initialized. 31 public function onModuleCreate($event) |
#9 |
+
–
/var/www/yurey/data/www/framework/base/CComponent.php(261): WebApplicationEndBehavior->runEnd("front") 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#10 |
+
–
/var/www/yurey/data/www/optimusgroup.ru/index.php(57): CComponent->__call("runEnd", array("front")) 52 // Remove the following lines when in production mode 53 defined('YII_DEBUG') or define('YII_DEBUG', true); 54 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 55 56 require_once($yii); 57 Yii::createWebApplication($config)->runEnd('front'); 58 59 60 61 62 |