/mnt/data/shnoulle/nginx/www/develop/application/views/admin/survey/topbar/topbar_additions.php(16)
04 if ($topBar['type'] == 'survey') { 05 $aExportItemsArray = []; 06 07 $aExportItemsArray["surveystructure"] = [ 08 "key" => "surveystructure", 09 "description" => "".gT("Survey structure (.lss)"), 10 "detailpage" => "<p>".gT("This export will dump all the groups, questions, answers and conditions for your survey into a .LSS file (which is basically an XML file). This dump file can be used with the 'Import survey' feature when creating a new survey.",'json')."</p>" 11 ."<p>".gT("A survey which uses a custom theme will import fine, but the template it refers to will not exist on the new server. In that case the system will use the global default theme.",'json')."</p>" 12 ."<p><b>".gT("Please note: This file does not contain any collected responses.",'json')."</b></p>", 13 "href" => $this->createUrl("admin/export/sa/survey/action/exportstructurexml/surveyid/".$oSurvey->sid), 14 "download" => true, 15 ]; 16 if(($respstatsread && $surveyexport)) { 17 $aExportItemsArray["surveyarchive"] = ($oSurvey->isActive) 18 ? [ 19 "key" => "surveyarchive", 20 "description" => "".gT("Survey archive (.lsa)",'json'), 21 "detailpage" => " 22 <p>".gT("This export is intended to create a complete backup of an active survey for archival purposes.",'json')."</p> 23 <p>".gT("It will include the following data in a ZIP file ending with '.lsa'.",'json')."</p> 24 <ul> 25 <li>".gT("Survey structure",'json')."</li> 26 <li>".gT("Response data (Attention: Doesn't include files uploaded in a file upload question. These have to be exported separately.)",'json')."</li> 27 <li>".gT("Survey participant data (if available)",'json')."</li> 28 <li>".gT("Timings (if activated)",'json')."</li>
#0 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CBaseController.php(126): require("/mnt/data/shnoulle/nginx/www/develop/application/views/admin/sur...") 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 } |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/develop/application/views/admin/sur...",
array("lang" => null, "sid" => "454883", "title_bar" =>
array("title" => "Line can be hidden (ID:454883)"), "subaction" =>
"Survey logic file", ...), 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); |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(872): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/develop/application/views/admin/sur...",
array("lang" => null, "sid" => "454883", "title_bar" =>
array("title" => "Line can be hidden (ID:454883)"), "subaction" =>
"Survey logic file", ...), 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 |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/AdminController.php(220): CController->renderPartial("/admin/survey/topbar/topbar_additions",
array("lang" => null, "sid" => "454883", "title_bar" =>
array("title" => "Line can be hidden (ID:454883)"), "subaction" =>
"Survey logic file", ...), false, false) 215 } 216 217 } 218 } 219 220 return parent::renderPartial($view,$data,$return,$processOutput); 221 } 222 223 /** 224 * Routes all the actions to their respective places 225 * |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(574): AdminController->renderPartial("/admin/survey/topbar/topbar_additions",
array("lang" => null, "sid" => "454883", "title_bar" =>
array("title" => "Line can be hidden (ID:454883)"), "subaction" =>
"Survey logic file", ...)) 569 $aData['respstatsread'] = $respstatsread; 570 $aData['surveyexport'] = $surveyexport; 571 $aData['onelanguage'] = $oneLanguage; 572 $aData['topBar']['type'] = isset($aData['topBar']['type']) ? $aData['topBar']['type'] : 'survey'; 573 } 574 $this->getController()->renderPartial("/admin/survey/topbar/topbar_additions", $aData); 575 576 } 577 578 /** 579 * Shows admin menu for question |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/views/admin/super/layout_insurvey.php(75): Survey_Common_Action->_generaltopbarAdditions(array("lang"
=> null, "sid" => "454883", "title_bar" => array("title" =>
"Line can be hidden (ID:454883)"), "subaction" => "Survey logic
file", ...)) 70 //With content of /admin/survey/surveySummary_view 71 $this->_nsurveysummary($aData); 72 73 echo $content; 74 75 $this->_generaltopbarAdditions($aData); 76 echo "</div>\n"; 77 echo "</div>\n"; 78 echo "</div>\n"; 79 echo "</div>\n"; 80 echo "<!-- END LAYOUT_INSURVEY -->"; |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(235): require("/mnt/data/shnoulle/nginx/www/develop/application/views/admin/sup...") 230 } 231 232 if ($_return_) { 233 ob_start(); 234 ob_implicit_flush(0); 235 require($_viewFile_); 236 return ob_get_clean(); 237 } else { 238 require($_viewFile_); 239 } 240 } |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(342): Survey_Common_Action->renderInternal("/mnt/data/shnoulle/nginx/www/develop/application/views/admin/sup...",
array("content" => "<x-test
id="action::surveyLogicFile"></x-test>
<div id='edit-sur...", "aData" => array("lang" => null, "sid"
=> "454883", "title_bar" => array("title" => "Line can be
hidden (ID:454883)"), "subaction" => "Survey logic file", ...)),
true) 337 } 338 } else { 339 $renderFile = $basePath.'/'.$sRenderFile; 340 } 341 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); 342 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); 343 344 App()->getClientScript()->render($out); 345 echo $out; 346 } 347 |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/expressions.php(284): Survey_Common_Action->_renderWrappedTemplate("expressions",
"test/survey_logic_file", array("lang" => null, "sid" =>
"454883", "title_bar" => array("title" => "Line can be hidden
(ID:454883)"), "subaction" => "Survey logic file", ...), false) 279 $aData['imageurl'] = Yii::app()->getConfig('adminimageurl'); 280 // $aData['display']['header']=true; 281 // $aData['display']['menu_bars'] = true; 282 // $aData['display']['footer']= true; 283 header("Content-type: text/html; charset=UTF-8"); // needed for correct UTF-8 encoding 284 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile); 285 } 286 } 287 /* End of file expressions.php */ 288 /* Location: ./application/controllers/admin/expressions.php */ |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/expressions.php(174): Expressions->_renderWrappedTemplate("expressions",
"test/survey_logic_file", array("lang" => null, "sid" =>
"454883", "title_bar" => array("title" => "Line can be hidden
(ID:454883)"), "subaction" => "Survey logic file", ...)) 169 echo $html; 170 171 Yii::app()->end(); 172 } 173 174 $this->_renderWrappedTemplate('expressions', 'test/survey_logic_file', $aData); 175 } 176 177 public function survey_logic_form() 178 { 179 |
#10 |
unknown(0): Expressions->survey_logic_file()
|
#11 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(Expressions, 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 } |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(77): CAction->runWithParamsInternal(Expressions,
ReflectionMethod, array("r" =>
"admin/expressions/sa/survey_logic_file", "sid" => "454883", "gid"
=> "87", "qid" => "1917", ...)) 72 $oMethod = new ReflectionMethod($this, $sSubAction); 73 74 75 // We're all good to go, let's execute it 76 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 77 return parent::runWithParamsInternal($this, $oMethod, $params); 78 } 79 80 /** 81 * Some functions have different parameters, which are just an alias of the 82 * usual parameters we're getting in the url. This function just populates |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin/expressions/sa/survey_logic_file", "sid" => "454883", "gid" => "87", "qid" => "1917", ...)) 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; |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(286): CController->runAction(Expressions) 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(); |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(265): CController->runActionWithFilters(Expressions, 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); |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/AdminController.php(163): CController->run("expressions") 158 } 159 160 $this->runModuleController($action); 161 162 163 return parent::run($action); 164 } 165 166 /** 167 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 168 */ |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(282): AdminController->run("expressions") 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))); |
#18 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/expressions/sa/survey_logic_file") 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. |
#19 |
+
–
/mnt/data/shnoulle/nginx/www/develop/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 /** |
#20 |
+
–
/mnt/data/shnoulle/nginx/www/develop/index.php(195): CApplication->run() 190 require_once APPPATH . 'core/LSYii_Application' . EXT; 191 192 $config = require_once(APPPATH . 'config/internal' . EXT); 193 194 Yii::$enableIncludePath = false; 195 Yii::createApplication('LSYii_Application', $config)->run(); 196 197 /* End of file index.php */ 198 /* Location: ./index.php */ |