/mnt/data/shnoulle/nginx/www/3LTS/framework/base/CComponent.php(614) : eval()'d code(1)
#0 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/zii/widgets/grid/CDataColumn.php(142): CComponent->evaluateExpression("$data->menu->title." (".$data->menu_id.")"", array("data" => SurveymenuEntries, "row" => 27)) 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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/zii/widgets/grid/CGridColumn.php(231): CDataColumn->getDataCellContent(27) 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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/zii/widgets/grid/CGridColumn.php(154): CGridColumn->renderDataCellContent(27, SurveymenuEntries) 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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/zii/widgets/grid/CGridView.php(639): CGridColumn->renderDataCell(27) 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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/zii/widgets/grid/CGridView.php(623): CGridView->renderDataCell(TbDataColumn, 27) 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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/zii/widgets/grid/CGridView.php(579): CGridView->renderTableRow(27) 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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/zii/widgets/CBaseListView.php(164): preg_replace_callback("/{(\w+)}/", array(TbGridView, "renderSection"), "{items}
<div id='tokenListPager'><div class="col-sm-4" id="massi...") 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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/views/admin/surveymenu_entries/index.php(67): CBaseController->widget("bootstrap.widgets.TbGridView", array("dataProvider" => CActiveDataProvider, "id" => "surveymenu-entries-grid", "columns" => array(array("name" => "id", "value" => "'<input type="checkbox" name="id[]" class="action_selectthisentr...", "type" => "raw", "filter" => false), array("name" => "buttons", "type" => "raw", "filter" => false), array("name" => "title", "type" => "text"), array("name" => "name"), ...), "filter" => SurveymenuEntries, ...)) 62 'rowHtmlOptionsExpression' => '["data-surveymenu-entry-id" => $data->id]', 63 'htmlOptions'=>array('style'=>'cursor: pointer;', 'class'=>'hoverAction grid-view col-12'), 64 'ajaxType' => 'POST', 65 'ajaxUpdate' => 'bindAction', 66 'afterAjaxUpdate'=>'bindAction', 67 'template' => "{items}\n<div id='tokenListPager'><div class=\"col-sm-4\" id=\"massive-action-container\">$massiveAction</div><div class=\"col-sm-4 pager-container ls-ba \">{pager}</div><div class=\"col-sm-4 summary-container\">{summary}</div></div>", 68 )); 69 ?> 70 </div> 71 </div> 72 </div> |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CBaseController.php(126): require("/mnt/data/shnoulle/nginx/www/3LTS/application/views/admin/survey...") 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 } |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/3LTS/application/views/admin/survey...", array("model" => SurveymenuEntries, "user" => 1), 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); |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(872): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/3LTS/application/views/admin/survey...", array("model" => SurveymenuEntries, "user" => 1), 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 |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/Survey_Common_Action.php(269): CController->renderPartial("/admin/surveymenu_entries/index", array("model" => SurveymenuEntries, "user" => 1), 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 } |
#18 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/Survey_Common_Action.php(346): Survey_Common_Action->renderCentralContents(null, array("surveymenu_entries/index"), array("model" => SurveymenuEntries, "user" => 1)) 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 } |
#19 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/admin/SurveymenuEntryController.php(54): Survey_Common_Action->_renderWrappedTemplate(null, array("surveymenu_entries/index"), array("model" => SurveymenuEntries, "user" => 1)) 49 Yii::app()->user->setState('pageSize', (int) Yii::app()->request->getParam('pageSize')); 50 } 51 $aData['pageSize'] = Yii::app()->user->getState('pageSize', (int) Yii::app()->params['defaultPageSize']); 52 53 App()->getClientScript()->registerPackage('surveymenufunctions'); 54 $this->_renderWrappedTemplate(null, array('surveymenu_entries/index'), $data); 55 } 56 57 public function getsurveymenuentryform($menuentryid = null) 58 { 59 $menuentryid = Yii::app()->request->getParam('menuentryid', null); |
#20 |
unknown(0): SurveymenuEntryController->view()
|
#21 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveymenuEntryController, 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 } |
#22 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(SurveymenuEntryController, ReflectionMethod, array("r" => "admin/menuentries/sa/view", "sa" => "view")) 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 |
#23 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin/menuentries/sa/view", "sa" => "view")) 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; |
#24 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(286): CController->runAction(SurveymenuEntryController) 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(); |
#25 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(265): CController->runActionWithFilters(SurveymenuEntryController, 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); |
#26 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/AdminController.php(165): CController->run("menuentries") 160 $this->redirect(array('/admin/authentication/sa/login')); 161 } 162 } 163 } 164 165 return parent::run($action); 166 } 167 168 /** 169 * Routes all the actions to their respective places 170 * |
#27 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(282): AdminController->run("menuentries") 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===''?substr($this->defaultController,0,20).'...':substr($route,0,20).'...'))); |
#28 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/menuentries/sa/view") 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. |
#29 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 /** |
#30 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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 */ |