/home/www/demonstrations/demo.sondages.pro/htdocs/framework/base/CComponent.php(614) : eval()'d code(1)
#0 |
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/base/CComponent.php(614) : eval()'d code(1): boolval()
|
#1 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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 } |
#2 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/application/extensions/bootstrap/widgets/TbButtonColumn.php(60):
CComponent->evaluateExpression("boolval()", array("row" => 0, "data" => SurveyDynamic)) 55 */ 56 protected function renderButton($id, $button, $row, $data) 57 { 58 if (isset($button['visible']) && !$this->evaluateExpression( 59 $button['visible'], 60 array('row' => $row, 'data' => $data) 61 ) 62 ) { 63 return; 64 } 65 |
#3 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/zii/widgets/grid/CButtonColumn.php(321): TbButtonColumn->renderButton("edit",
array("label" => "<span class="sr-only">Edit this
response</span><span class="fa f...", "imageUrl" => false,
"url" =>
"App()->createUrl("admin/dataentry/sa/editdata/subaction/edit",ar...",
"options" => array("class" => "btn btn-default btn-xs", "target"
=> "_blank", "data-toggle" => "tooltip", "title" => "Edit this
response"), ...), 0, SurveyDynamic) 316 $data=$this->grid->dataProvider->data[$row]; 317 $tr=array(); 318 ob_start(); 319 foreach($this->buttons as $id=>$button) 320 { 321 $this->renderButton($id,$button,$row,$data); 322 $tr['{'.$id.'}']=ob_get_contents(); 323 ob_clean(); 324 } 325 ob_end_clean(); 326 return strtr($this->template,$tr); |
#4 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/zii/widgets/grid/CGridColumn.php(231): CButtonColumn->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. |
#5 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/zii/widgets/grid/CGridColumn.php(154): CGridColumn->renderDataCellContent(0, SurveyDynamic) 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. |
#6 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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. |
#7 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/zii/widgets/grid/CGridView.php(623): CGridView->renderDataCell(TbButtonColumn, 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. |
#8 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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(); |
#9 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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 } |
#10 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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 |
#11 |
unknown(0): CBaseListView->renderSection(array("{items}", "items"))
|
#12 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/zii/widgets/CBaseListView.php(164): preg_replace_callback("/{(\w+)}/", array(LimeGridView, "renderSection"), "<div class='push-grid-pager'>{items}
</div><div id='ListPager'><...") 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. |
#13 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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 |
#14 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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 /** |
#15 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/application/views/admin/responses/listResponses_view.php(233):
CBaseController->widget("ext.LimeGridView.LimeGridView",
array("dataProvider" => CActiveDataProvider, "filter" =>
SurveyDynamic, "columns" => array(array("id" => "id", "class"
=> "CCheckBoxColumn", "selectableRows" => "100"), array("class"
=> "bootstrap.widgets.TbButtonColumn", "template" =>
"{detail}{quexmlpdf}{edit}{downloadfiles}{deletefiles}{deleteresp...",
"buttons" => array("detail" => array("label" => "<span
class="sr-only">View response details</span><span
class="f...", "imageUrl" => false, "url" =>
"App()->createUrl("/admin/responses/sa/view",array("surveyid"=>42...",
"options" => array("class" => "btn btn-default btn-xs", "target"
=> "_blank", "data-toggle" => "tooltip", "title" => "View
response details")), "quexmlpdf" => array("label" => "<span
class="sr-only">View response details as queXML PDF</span>...",
"imageUrl" => false, "url" =>
"App()->createUrl("/admin/responses/sa/viewquexmlpdf",array("surv...",
"options" => array("class" => "btn btn-default btn-xs", "target"
=> "_blank", "data-toggle" => "tooltip", "title" => "View
response details as queXML PDF")), "edit" => array("label" =>
"<span class="sr-only">Edit this response</span><span
class="fa f...", "imageUrl" => false, "url" =>
"App()->createUrl("admin/dataentry/sa/editdata/subaction/edit",ar...",
"options" => array("class" => "btn btn-default btn-xs", "target"
=> "_blank", "data-toggle" => "tooltip", "title" => "Edit this
response"), ...), "downloadfiles" => array("label" => "<span
class="sr-only">Download all files in this response as a z...",
"imageUrl" => false, "url" =>
"App()->createUrl("admin/responses/sa/actionDownloadfiles",array(...",
"visible" => "boolval(0) &&
Response::model(423356)->findByPk($data->id)->some...", ...),
...)), array("header" => "id", "name" => "id"), array("header"
=> "seed", "name" => "seed"), ...), "itemsCssClass" =>
"table-striped", ...)) 228 'summaryText' => gT('Displaying {start}-{end} of {count} result(s).').' '. sprintf(gT('%s rows per page'), 229 CHtml::dropDownList( 230 'pageSize', 231 $pageSize, 232 Yii::app()->params['pageSizeOptions'], 233 array('class'=>'changePageSize form-control', 'style'=>'display: inline; width: auto')) 234 ), 235 )); 236 237 ?> 238 </div> |
#16 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/CBaseController.php(126): require("/home/www/demonstrations/demo.sondages.pro/htdocs/application/vi...") 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 } |
#17 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/www/demonstrations/demo.sondages.pro/htdocs/application/vi...",
array("iSurveyId" => "423356", "surveyid" => "423356", "imageurl"
=> "/assets/images", "action" => null, ...), 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); |
#18 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/CController.php(872): CBaseController->renderFile("/home/www/demonstrations/demo.sondages.pro/htdocs/application/vi...",
array("iSurveyId" => "423356", "surveyid" => "423356", "imageurl"
=> "/assets/images", "action" => null, ...), 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 |
#19 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/application/core/Survey_Common_Action.php(269): CController->renderPartial("/admin/responses/listResponses_view",
array("iSurveyId" => "423356", "surveyid" => "423356", "imageurl"
=> "/assets/images", "action" => null, ...), true) 264 // Load views 265 $content = ""; 266 foreach ($aViewUrls as $sViewKey => $viewUrl) { 267 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) { 268 if (is_numeric($sViewKey)) { 269 $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true); 270 } elseif (is_array($viewUrl)) { 271 foreach ($viewUrl as $aSubData) { 272 $aSubData = array_merge($aData, $aSubData); 273 $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true); 274 } |
#20 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/application/core/Survey_Common_Action.php(346): Survey_Common_Action->renderCentralContents("responses",
array("listResponses_view"), array("iSurveyId" => "423356",
"surveyid" => "423356", "imageurl" => "/assets/images", "action"
=> null, ...)) 341 } 342 } else { 343 $renderFile = $basePath.'/'.$sRenderFile; 344 } 345 346 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); 347 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); 348 349 App()->getClientScript()->render($out); 350 echo $out; 351 } |
#21 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/application/controllers/admin/responses.php(1077): Survey_Common_Action->_renderWrappedTemplate("responses",
array("listResponses_view"), array("iSurveyId" => "423356",
"surveyid" => "423356", "imageurl" => "/assets/images", "action"
=> null, ...)) 1072 $oSurvey = Survey::model()->findByPk($iSurveyId); 1073 $aData['display']['menu_bars'] = false; 1074 $aData['subaction'] = gT("Responses and statistics"); 1075 $aData['display']['menu_bars']['browse'] = gT('Browse responses'); // browse is independent of the above 1076 $aData['title_bar']['title'] = gT('Browse responses').': '.$oSurvey->currentLanguageSettings->surveyls_title; 1077 parent::_renderWrappedTemplate('responses', $aViewUrls, $aData); 1078 } 1079 1080 } |
#22 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/application/controllers/admin/responses.php(482): responses->_renderWrappedTemplate("responses",
array("listResponses_view"), array("iSurveyId" => 423356, "surveyid"
=> "423356", "imageurl" => "/assets/images", "action" => null,
...)) 477 $aData['model'] = $model; 478 $aData['bHaveToken'] = $bHaveToken; 479 $aData['aDefaultColumns'] = $model->defaultColumns; // Some specific columns 480 $aData['pageSize'] = Yii::app()->user->getState('pageSize', Yii::app()->params['defaultPageSize']); // Page size 481 482 $this->_renderWrappedTemplate('responses', $aViewUrls, $aData); 483 } else { 484 Yii::app()->setFlashMessage(gT("You do not have permission to access this page."), 'error'); 485 $this->getController()->redirect(array('admin/survey', 'sa'=>'view', 'surveyid'=>$iSurveyId)); 486 } 487 |
#23 |
unknown(0): responses->browse("423356")
|
#24 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(responses, array("423356")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#25 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(responses,
ReflectionMethod, array(1576232765085 => "", "surveyid" =>
"423356", "sa" => "browse", "iSurveyId" => "423356", ...)) 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 |
#26 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array(1576232765085 => "", "surveyid" => "423356", "sa" => "browse", "iSurveyId" => "423356", ...)) 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; |
#27 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/CController.php(286): CController->runAction(responses) 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(); |
#28 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/CController.php(265): CController->runActionWithFilters(responses, 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); |
#29 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/application/controllers/AdminController.php(158): CController->run("responses") 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 * |
#30 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/CWebApplication.php(282): AdminController->run("responses") 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))); |
#31 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/responses/sa/browse") 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. |
#32 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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 /** |
#33 |
+
–
/home/www/demonstrations/demo.sondages.pro/htdocs/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 */ |