/var/data/hosting/armeco-ch/www/protected/views/site/news.php(8)
01 <div id="message-type"> 02 <div id="message2"> 03 Regrouper les forces pour une cité dynamique, où il fait bon vivre et entreprendre. 04 </div> 05 <img src="/images/background-type-<?php echo rand(1, 11); ?>.jpg" /> 06 </div> 07 <div id="content-type"> 08 <h5>Accueil > <?php echo $model->Title; ?></h5> 09 10 <h3><?php echo $model->Title; ?></h3> 11 <b><?php echo AvengerUtils::parseImage($model->Summary); ?></b> 12 <?php echo AvengerUtils::parseImage($model->Text); ?> 13 </div> 14 15 <div id="clear"></div> 16 17 <div id="back-footer"><img src="/images/background_footer.png"/></div>
#0 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3072): require("/var/data/hosting/armeco-ch/www/protected/views/site/news.php") 3067 $data=$_data_; 3068 if($_return_) 3069 { 3070 ob_start(); 3071 ob_implicit_flush(false); 3072 require($_viewFile_); 3073 return ob_get_clean(); 3074 } 3075 else 3076 require($_viewFile_); 3077 } |
#1 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3051): CBaseController->renderInternal("/var/data/hosting/armeco-ch/www/protected/views/site/news.php", array("model" => null), true) 3046 { 3047 $widgetCount=count($this->_widgetStack); 3048 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3049 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3050 else 3051 $content=$this->renderInternal($viewFile,$data,$return); 3052 if(count($this->_widgetStack)===$widgetCount) 3053 return $content; 3054 else 3055 { 3056 $widget=end($this->_widgetStack); |
#2 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3475): CBaseController->renderFile("/var/data/hosting/armeco-ch/www/protected/views/site/news.php", array("model" => null), true) 3470 } 3471 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 3472 { 3473 if(($viewFile=$this->getViewFile($view))!==false) 3474 { 3475 $output=$this->renderFile($viewFile,$data,true); 3476 if($processOutput) 3477 $output=$this->processOutput($output); 3478 if($return) 3479 return $output; 3480 else |
#3 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3443): CController->renderPartial("news", array("model" => null), true) 3438 } 3439 public function render($view,$data=null,$return=false) 3440 { 3441 if($this->beforeRender($view)) 3442 { 3443 $output=$this->renderPartial($view,$data,true); 3444 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 3445 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 3446 $this->afterRender($view,$output); 3447 $output=$this->processOutput($output); 3448 if($return) |
#4 |
+
–
/var/data/hosting/armeco-ch/www/protected/controllers/SiteController.php(43): CController->render("news", array("model" => null)) 38 39 public function actionNews($id) 40 { 41 $model = Text::model()->translate()->findByPk($id); 42 43 $this->render("news", array("model"=>$model)); 44 } 45 46 public function actionFocus($id) 47 { 48 $model = Text::model()->translate()->findByPk($id); |
#5 |
unknown(0): SiteController->actionNews("40")
|
#6 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3701): ReflectionMethod->invokeArgs(SiteController, array("40")) 3696 else if($param->isDefaultValueAvailable()) 3697 $ps[]=$param->getDefaultValue(); 3698 else 3699 return false; 3700 } 3701 $method->invokeArgs($object,$ps); 3702 return true; 3703 } 3704 } 3705 class CInlineAction extends CAction 3706 { |
#7 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3718): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array("r" => "site/news", "id" => "40")) 3713 { 3714 $methodName='action'.$this->getId(); 3715 $controller=$this->getController(); 3716 $method=new ReflectionMethod($controller, $methodName); 3717 if($method->getNumberOfParameters()>0) 3718 return $this->runWithParamsInternal($controller, $method, $params); 3719 else 3720 return $controller->$methodName(); 3721 } 3722 } 3723 class CWebUser extends CApplicationComponent implements IWebUser |
#8 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3223): CInlineAction->runWithParams(array("r" => "site/news", "id" => "40")) 3218 { 3219 $priorAction=$this->_action; 3220 $this->_action=$action; 3221 if($this->beforeAction($action)) 3222 { 3223 if($action->runWithParams($this->getActionParams())===false) 3224 $this->invalidActionParams($action); 3225 else 3226 $this->afterAction($action); 3227 } 3228 $this->_action=$priorAction; |
#9 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3208): CController->runAction(CInlineAction) 3203 $this->missingAction($actionID); 3204 } 3205 public function runActionWithFilters($action,$filters) 3206 { 3207 if(empty($filters)) 3208 $this->runAction($action); 3209 else 3210 { 3211 $priorAction=$this->_action; 3212 $this->_action=$action; 3213 CFilterChain::create($this,$action,$filters)->run(); |
#10 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(3198): CController->runActionWithFilters(CInlineAction, array()) 3193 { 3194 if(($parent=$this->getModule())===null) 3195 $parent=Yii::app(); 3196 if($parent->beforeControllerAction($this,$action)) 3197 { 3198 $this->runActionWithFilters($action,$this->filters()); 3199 $parent->afterControllerAction($this,$action); 3200 } 3201 } 3202 else 3203 $this->missingAction($actionID); |
#11 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(1686): CController->run("news") 1681 { 1682 list($controller,$actionID)=$ca; 1683 $oldController=$this->_controller; 1684 $this->_controller=$controller; 1685 $controller->init(); 1686 $controller->run($actionID); 1687 $this->_controller=$oldController; 1688 } 1689 else 1690 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1691 array('{route}'=>$route===''?$this->defaultController:$route))); |
#12 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(1606): CWebApplication->runController("site/news") 1601 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1602 $_GET[$name]=$value; 1603 } 1604 else 1605 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1606 $this->runController($route); 1607 } 1608 protected function registerCoreComponents() 1609 { 1610 parent::registerCoreComponents(); 1611 $components=array( |
#13 |
+
–
/var/data/hosting/avenger1.1/framework/yiilite.php(1135): CWebApplication->processRequest() 1130 } 1131 public function run() 1132 { 1133 if($this->hasEventHandler('onBeginRequest')) 1134 $this->onBeginRequest(new CEvent($this)); 1135 $this->processRequest(); 1136 if($this->hasEventHandler('onEndRequest')) 1137 $this->onEndRequest(new CEvent($this)); 1138 } 1139 public function end($status=0, $exit=true) 1140 { |
#14 |
+
–
/var/data/hosting/armeco-ch/www/index.php(11): CApplication->run() 06 07 // remove the following line when in production mode 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 10 require_once($yii); 11 Yii::createWebApplication($config)->run(); 12 13 ?> |