/var/www/clients/client68/web136/web/Yii/framework/web/CController.php(878)
866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else 875 echo $output; 876 } 877 else 878 throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".', 879 array('{controller}'=>get_class($this), '{view}'=>$view))); 880 } 881 882 /** 883 * Renders a named clip with the supplied parameters. 884 * This is similar to directly accessing the {@link clips} property. 885 * The main difference is that it can take an array of named parameters 886 * which will replace the corresponding placeholders in the clip. 887 * @param string $name the name of the clip 888 * @param array $params an array of named parameters (name=>value) that should replace 889 * their corresponding placeholders in the clip 890 * @param boolean $return whether to return the clip content or echo it.
#0 |
+
–
/var/www/clients/client68/web136/web/Yii/framework/web/CController.php(782): CController->renderPartial() 777 */ 778 public function render($view,$data=null,$return=false) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 |
#1 |
+
–
/var/www/clients/client68/web136/web/protected/controllers/StruttureController.php(43): CController->render() 38 Yii::app()->getClientScript()->registerCoreScript('fancybox'); 39 40 $struttura = Strutture::model()->findByAttributes(['alias' => $name, 'enabled' => 1]); 41 42 if (!$struttura) { 43 $this->render('404'); 44 return; 45 } 46 $this->pageTitle = $struttura->name; 47 $this->bodyCSS = 'property-details-page'; 48 $this->headerBgd = $struttura->_mainImage->getImageUrl(); |
#2 |
+
–
/var/www/clients/client68/web136/web/protected/controllers/StruttureController.php(13): StruttureController->struttura() 08 09 public function missingAction($actionID) 10 { 11 $struttura = Strutture::model()->findByAttributes(['alias' => $actionID]); 12 if ($struttura) { 13 $this->struttura($actionID); 14 } else { 15 parent::missingAction($actionID); 16 } 17 } 18 |
#3 |
+
–
/var/www/clients/client68/web136/web/Yii/framework/web/CController.php(270): StruttureController->missingAction() 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); 271 } 272 273 /** 274 * Runs an action with the specified filters. 275 * A filter chain will be created based on the specified filters |
#4 |
+
–
/var/www/clients/client68/web136/web/Yii/framework/web/CWebApplication.php(282): CController->run() 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#5 |
+
–
/var/www/clients/client68/web136/web/Yii/framework/web/CWebApplication.php(141): CWebApplication->runController() 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#6 |
+
–
/var/www/clients/client68/web136/web/Yii/framework/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#7 |
+
–
/var/www/clients/client68/web136/web/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG', true); 09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 10 // } 11 12 require_once ($yii); 13 Yii::createWebApplication($config)->run(); |