/home/ecouteteix/www/ls-devtest/framework/base/CComponent.php(614) : eval()'d code(1)
#0 |
+
–
/home/ecouteteix/www/ls-devtest/framework/base/CComponent.php(614): eval() 609 if(is_string($_expression_)) 610 { 611 extract($_data_); 612 try 613 { 614 return eval('return ' . $_expression_ . ';'); 615 } 616 catch (ParseError $e) 617 { 618 return false; 619 } |
#1 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/grid/CDataColumn.php(142): CComponent->evaluateExpression("CHtml::link(CHtml::encode($data->owner->users_name), Yii::app()-...", array("data" => Survey, "row" => 0)) 137 */ 138 public function getDataCellContent($row) 139 { 140 $data=$this->grid->dataProvider->data[$row]; 141 if($this->value!==null) 142 $value=$this->evaluateExpression($this->value,array('data'=>$data,'row'=>$row)); 143 elseif($this->name!==null) 144 $value=CHtml::value($data,$this->name); 145 return $value===null ? $this->grid->nullDisplay : $this->grid->getFormatter()->format($value,$this->type); 146 } 147 } |
#2 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/grid/CGridColumn.php(231): CDataColumn->getDataCellContent(0) 226 * @param mixed $data the data associated with the row 227 * @deprecated since 1.1.16. Use {@link getDataCellContent()} instead. 228 */ 229 protected function renderDataCellContent($row,$data) 230 { 231 echo $this->getDataCellContent($row); 232 } 233 234 /** 235 * Returns the filter cell content. 236 * The default implementation simply returns an empty column. |
#3 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/grid/CGridColumn.php(154): CGridColumn->renderDataCellContent(0, Survey) 149 else 150 $options['class']=$class; 151 } 152 } 153 echo CHtml::openTag('td',$options); 154 $this->renderDataCellContent($row,$data); 155 echo '</td>'; 156 } 157 158 /** 159 * Renders the footer cell. |
#4 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/grid/CGridView.php(639): CGridColumn->renderDataCell(0) 634 * @param integer $row 635 * @since 1.1.16 636 */ 637 protected function renderDataCell($column, $row) 638 { 639 $column->renderDataCell($row); 640 } 641 642 /** 643 * @return boolean whether the table should render a footer. 644 * This is true if any of the {@link columns} has a true {@link CGridColumn::hasFooter} value. |
#5 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/grid/CGridView.php(623): CGridView->renderDataCell(TbDataColumn, 0) 618 $htmlOptions['class']=$class; 619 } 620 621 echo CHtml::openTag('tr', $htmlOptions)."\n"; 622 foreach($this->columns as $column) 623 $this->renderDataCell($column, $row); 624 echo "</tr>\n"; 625 } 626 627 /** 628 * A seam for people extending CGridView to be able to hook onto the data cell rendering process. |
#6 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/grid/CGridView.php(579): CGridView->renderTableRow(0) 574 echo "<tbody>\n"; 575 576 if($n>0) 577 { 578 for($row=0;$row<$n;++$row) 579 $this->renderTableRow($row); 580 } 581 else 582 { 583 echo '<tr><td colspan="'.count($this->columns).'" class="empty">'; 584 $this->renderEmptyText(); |
#7 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/grid/CGridView.php(489): CGridView->renderTableBody() 484 if($this->dataProvider->getItemCount()>0 || $this->showTableOnEmpty) 485 { 486 echo "<table class=\"{$this->itemsCssClass}\">\n"; 487 $this->renderTableHeader(); 488 ob_start(); 489 $this->renderTableBody(); 490 $body=ob_get_clean(); 491 $this->renderTableFooter(); 492 echo $body; // TFOOT must appear before TBODY according to the standard. 493 echo "</table>"; 494 } |
#8 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/CBaseListView.php(181): CGridView->renderItems() 176 protected function renderSection($matches) 177 { 178 $method='render'.$matches[1]; 179 if(method_exists($this,$method)) 180 { 181 $this->$method(); 182 $html=ob_get_contents(); 183 ob_clean(); 184 return $html; 185 } 186 else |
#9 |
unknown(0): CBaseListView->renderSection(array("{items}", "items"))
|
#10 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/CBaseListView.php(164): preg_replace_callback("/{(\w+)}/", array(TbGridView, "renderSection"), "{items}
<div class="row-fluid"><div class="col-sm-4" id="massive...") 159 * The rendering results will replace the corresponding placeholders in {@link template}. 160 */ 161 public function renderContent() 162 { 163 ob_start(); 164 echo preg_replace_callback("/{(\w+)}/",array($this,'renderSection'),$this->template); 165 ob_end_flush(); 166 } 167 168 /** 169 * Renders a section. |
#11 |
+
–
/home/ecouteteix/www/ls-devtest/framework/zii/widgets/CBaseListView.php(149): CBaseListView->renderContent() 144 { 145 $this->registerClientScript(); 146 147 echo CHtml::openTag($this->tagName,$this->htmlOptions)."\n"; 148 149 $this->renderContent(); 150 $this->renderKeys(); 151 152 echo CHtml::closeTag($this->tagName); 153 } 154 |
#12 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CBaseController.php(182): CBaseListView->run() 177 return ob_get_clean(); 178 } 179 else 180 { 181 $widget=$this->createWidget($className,$properties); 182 $widget->run(); 183 return $widget; 184 } 185 } 186 187 /** |
#13 |
+
–
/home/ecouteteix/www/ls-devtest/application/extensions/admin/survey/ListSurveysWidget/views/listSurveys.php(151):
CBaseController->widget("bootstrap.widgets.TbGridView",
array("dataProvider" => CActiveDataProvider, "id" =>
"survey-grid", "emptyText" => "Aucun questionnaire trouvé.",
"summaryText" => "Affichage de {start}-{end} sur {count} résultat(s).
<select cla...", ...)) 146 //'htmlOptions'=>array('style'=>'cursor: pointer;'), 147 'htmlOptions'=>array('style'=>'cursor: pointer;', 'class'=>'hoverAction grid-view'), 148 //'selectionChanged'=>"function(id){window.location='" . Yii::app()->urlManager->createUrl('admin/survey/sa/view/surveyid' ) . '/' . "' + $.fn.yiiGridView.getSelection(id.split(',', 1));}", 149 'ajaxUpdate' => true, 150 'afterAjaxUpdate' => 'doToolTip', 151 'template' => $this->template, 152 )); 153 ?> 154 </div> 155 </div> |
#14 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CBaseController.php(130): require("/home/ecouteteix/www/ls-devtest/application/extensions/admin/sur...") 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } 132 133 /** 134 * Creates a widget and initializes it. 135 * This method first creates the specified widget instance. |
#15 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/ecouteteix/www/ls-devtest/application/extensions/admin/sur...", null, false) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#16 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/widgets/CWidget.php(244): CBaseController->renderFile("/home/ecouteteix/www/ls-devtest/application/extensions/admin/sur...", null, false) 239 * @see getViewFile 240 */ 241 public function render($view,$data=null,$return=false) 242 { 243 if(($viewFile=$this->getViewFile($view))!==false) 244 return $this->renderFile($viewFile,$data,$return); 245 else 246 throw new CException(Yii::t('yii','{widget} cannot find the view "{view}".', 247 array('{widget}'=>get_class($this), '{view}'=>$view))); 248 } 249 } |
#17 |
+
–
/home/ecouteteix/www/ls-devtest/application/extensions/admin/survey/ListSurveysWidget/ListSurveysWidget.php(72):
CWidget->render("listSurveys") 67 68 if ($this->bRenderSearchBox){ 69 $this->render('searchBox'); 70 } 71 72 $this->render('listSurveys'); 73 74 } 75 } |
#18 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CBaseController.php(182): ListSurveysWidget->run() 177 return ob_get_clean(); 178 } 179 else 180 { 181 $widget=$this->createWidget($className,$properties); 182 $widget->run(); 183 return $widget; 184 } 185 } 186 187 /** |
#19 |
+
–
/home/ecouteteix/www/ls-devtest/application/views/admin/survey/listSurveys_view.php(33): CBaseController->widget("ext.admin.survey.ListSurveysWidget.ListSurveysWidget", array("pageSize" => 10, "model" => Survey)) 28 <?php endif;?> 29 <div class="pagetitle h3 ls-space margin top-25"><?php eT('Survey list'); ?></div> 30 <!-- Survey List widget --> 31 <?php $this->widget('ext.admin.survey.ListSurveysWidget.ListSurveysWidget', array( 32 'pageSize' => Yii::app()->user->getState('pageSize', Yii::app()->params['defaultPageSize']), 33 'model' => $model 34 )); 35 ?> 36 </div> 37 38 <div id="surveygroups" class="tab-pane"> |
#20 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CBaseController.php(126): require("/home/ecouteteix/www/ls-devtest/application/views/admin/survey/l...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#21 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/ecouteteix/www/ls-devtest/application/views/admin/survey/l...",
array("issuperadmin" => true, "model" => Survey, "groupModel"
=> SurveysGroups, "fullpagebar" => array("button" =>
array("newsurvey" => true))), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#22 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CController.php(872): CBaseController->renderFile("/home/ecouteteix/www/ls-devtest/application/views/admin/survey/l...",
array("issuperadmin" => true, "model" => Survey, "groupModel"
=> SurveysGroups, "fullpagebar" => array("button" =>
array("newsurvey" => true))), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#23 |
+
–
/home/ecouteteix/www/ls-devtest/application/core/Survey_Common_Action.php(267): CController->renderPartial("/admin/survey/listSurveys_view",
array("issuperadmin" => true, "model" => Survey, "groupModel"
=> SurveysGroups, "fullpagebar" => array("button" =>
array("newsurvey" => true))), true) 262 // Load views 263 $content = ""; 264 foreach ($aViewUrls as $sViewKey => $viewUrl) { 265 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) { 266 if (is_numeric($sViewKey)) { 267 $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true); 268 } elseif (is_array($viewUrl)) { 269 foreach ($viewUrl as $aSubData) { 270 $aSubData = array_merge($aData, $aSubData); 271 $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true); 272 } |
#24 |
+
–
/home/ecouteteix/www/ls-devtest/application/core/Survey_Common_Action.php(338): Survey_Common_Action->renderCentralContents("survey",
array("listSurveys_view"), array("issuperadmin" => true, "model"
=> Survey, "groupModel" => SurveysGroups, "fullpagebar" =>
array("button" => array("newsurvey" => true)))) 333 } 334 } else { 335 $renderFile = $basePath.'/'.$sRenderFile; 336 } 337 338 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); 339 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); 340 341 App()->getClientScript()->render($out); 342 echo $out; 343 } |
#25 |
+
–
/home/ecouteteix/www/ls-devtest/application/controllers/admin/surveyadmin.php(2149): Survey_Common_Action->_renderWrappedTemplate("survey",
"listSurveys_view", array("issuperadmin" => true, "model" =>
Survey, "groupModel" => SurveysGroups, "fullpagebar" =>
array("button" => array("newsurvey" => true))), false) 2144 * @param string|array $aViewUrls View url(s) 2145 * @param array $aData Data to be passed on. Optional. 2146 */ 2147 protected function _renderWrappedTemplate($sAction = 'survey', $aViewUrls = array(), $aData = array(), $sRenderFile = false) 2148 { 2149 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile); 2150 } 2151 } |
#26 |
+
–
/home/ecouteteix/www/ls-devtest/application/controllers/admin/surveyadmin.php(93): SurveyAdmin->_renderWrappedTemplate("survey",
"listSurveys_view", array("issuperadmin" => true, "model" =>
Survey, "groupModel" => SurveysGroups, "fullpagebar" =>
array("button" => array("newsurvey" => true)))) 88 $aData['issuperadmin'] = true; 89 } 90 $aData['model'] = new Survey('search'); 91 $aData['groupModel'] = new SurveysGroups('search'); 92 $aData['fullpagebar']['button']['newsurvey'] = true; 93 $this->_renderWrappedTemplate('survey', 'listSurveys_view', $aData); 94 } 95 96 /** 97 * @todo 98 */ |
#27 |
unknown(0): SurveyAdmin->listsurveys()
|
#28 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveyAdmin, array()) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#29 |
+
–
/home/ecouteteix/www/ls-devtest/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("sa" => "listsurveys")) 78 $oMethod = new ReflectionMethod($this, $sDefault); 79 } 80 81 // We're all good to go, let's execute it 82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 83 return parent::runWithParamsInternal($this, $oMethod, $params); 84 } 85 86 /** 87 * Some functions have different parameters, which are just an alias of the 88 * usual parameters we're getting in the url. This function just populates |
#30 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "listsurveys")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#31 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CController.php(286): CController->runAction(SurveyAdmin) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#32 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CController.php(265): CController->runActionWithFilters(SurveyAdmin, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#33 |
+
–
/home/ecouteteix/www/ls-devtest/application/controllers/AdminController.php(158): CController->run("survey") 153 $this->redirect(array('/admin/authentication/sa/login')); 154 } 155 } 156 } 157 158 return parent::run($action); 159 } 160 161 /** 162 * Routes all the actions to their respective places 163 * |
#34 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CWebApplication.php(282): AdminController->run("survey") 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))); |
#35 |
+
–
/home/ecouteteix/www/ls-devtest/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/listsurveys") 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. |
#36 |
+
–
/home/ecouteteix/www/ls-devtest/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#37 |
+
–
/home/ecouteteix/www/ls-devtest/index.php(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |