/media/shnoulle/data/webdev/master/vendor/tecnickcom/tcpdf/include/tcpdf_static.php(115)
103 /** 104 * Array page boxes names 105 * @public static 106 */ 107 public static $pageboxes = array('MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox'); 108 109 /** 110 * Array of default cURL options for curl_setopt_array. 111 * 112 * @var array<int, bool|int|string> cURL options. 113 */ 114 protected const CURLOPT_DEFAULT = [ 115 CURLOPT_CONNECTTIMEOUT => 5, 116 CURLOPT_MAXREDIRS => 5, 117 CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP | CURLPROTO_FTP | CURLPROTO_FTPS, 118 CURLOPT_SSL_VERIFYHOST => 2, 119 CURLOPT_SSL_VERIFYPEER => true, 120 CURLOPT_TIMEOUT => 30, 121 CURLOPT_USERAGENT => 'tcpdf', 122 ]; 123 124 /** 125 * Array of fixed cURL options for curl_setopt_array. 126 * 127 * @var array<int, bool|int|string> cURL options.
| #0 |
+
–
/media/shnoulle/data/webdev/master/vendor/tecnickcom/tcpdf/include/tcpdf_static.php(2511): [constant expression]() 2506 * @return array containing page width and height in points 2507 * @since 5.0.010 (2010-05-17) 2508 * @public static 2509 */ 2510 public static function getPageSizeFromFormat($format) { 2511 if (isset(self::$page_formats[$format])) { 2512 return self::$page_formats[$format]; 2513 } 2514 return self::$page_formats['A4']; 2515 } 2516 |
| #1 |
+
–
/media/shnoulle/data/webdev/master/vendor/tecnickcom/tcpdf/tcpdf.php(2153): TCPDF_STATIC::getPageSizeFromFormat() 2148 // remove inherited values 2149 unset($this->pagedim[$this->page]); 2150 } 2151 if (is_string($format)) { 2152 // get page measures from format name 2153 $pf = TCPDF_STATIC::getPageSizeFromFormat($format); 2154 $this->fwPt = $pf[0]; 2155 $this->fhPt = $pf[1]; 2156 } else { 2157 // the boundaries of the physical medium on which the page shall be displayed or printed 2158 if (isset($format['MediaBox'])) { |
| #2 |
+
–
/media/shnoulle/data/webdev/master/vendor/tecnickcom/tcpdf/tcpdf.php(1958): TCPDF->setPageFormat() 1953 'zapfdingbats'=>'ZapfDingbats' 1954 ); 1955 // set scale factor 1956 $this->setPageUnit($unit); 1957 // set page format and orientation 1958 $this->setPageFormat($format, $orientation); 1959 // page margins (1 cm) 1960 $margin = 28.35 / $this->k; 1961 $this->setMargins($margin, $margin); 1962 $this->clMargin = $this->lMargin; 1963 $this->crMargin = $this->rMargin; |
| #3 |
+
–
/media/shnoulle/data/webdev/master/application/libraries/admin/pdf.php(456): TCPDF->__construct() 451 #echo sprintf("Defining: %s = %s\n<br />", $const, $this->_config[$cfgkey]); 452 } 453 } 454 455 # initialize TCPDF 456 parent::__construct( 457 $this->_config['page_orientation'], 458 $this->_config['page_unit'], 459 $this->_config['page_format'], 460 $this->_config['unicode'], 461 $this->_config['encoding'], |
| #4 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/admin/export/PdfWriter.php(33): pdf->__construct() 28 Yii::import('application.libraries.admin.pdf', true); 29 Yii::import('application.helpers.pdfHelper'); 30 $aPdfLanguageSettings = pdfHelper::getPdfLanguageSettings($sLanguageCode); 31 32 // create PDF document 33 $this->pdf = new pdf(); 34 $this->surveyName = $survey->info['surveyls_title']; 35 $this->pdf->initAnswerPDF($survey->info, $aPdfLanguageSettings, Yii::app()->getConfig('sitename'), $this->surveyName); 36 $this->separator = "\t"; 37 $this->rowCounter = 0; 38 $this->aGroupMap = $this->setGroupMap($survey, $oOptions); |
| #5 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/admin/exportresults_helper.php(105): PdfWriter->init() 100 throw new Exception(sprintf('Writer for %s should implement IWriter', $sExportPlugin)); 101 } 102 103 $surveyDao = new SurveyDao(); 104 $survey = $surveyDao->loadSurveyById($iSurveyId, $sLanguageCode, $oOptions); 105 $writer->init($survey, $sLanguageCode, $oOptions); 106 107 $countResponsesCommand = $surveyDao->loadSurveyResults($survey, $oOptions->responseMinRecord, $oOptions->responseMaxRecord, $sFilter, $oOptions->responseCompletionState, $oOptions->selectedColumns, $oOptions->aResponses); 108 $countResponsesCommand->order = false; 109 $countResponsesCommand->select('count(*)'); 110 $responseCount = $countResponsesCommand->queryScalar(); |
| #6 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/admin/Export.php(306): ExportSurveyResultsService->exportResponses() 301 } else { 302 $sFilter = ''; 303 } 304 305 viewHelper::disableHtmlLogging(); 306 $resultsService->exportResponses($iSurveyID, $explang, $sExportType, $options, $sFilter); 307 308 Yii::app()->end(); 309 } 310 311 /** |
| #7 |
unknown(0): Export->exportresults()
|
| #8 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/actions/CAction.php(114): ReflectionMethod->invokeArgs() 109 elseif($param->isDefaultValueAvailable()) 110 $ps[]=$param->getDefaultValue(); 111 else 112 return false; 113 } 114 $method->invokeArgs($object,$ps); 115 return true; 116 } 117 } |
| #9 |
+
–
/media/shnoulle/data/webdev/master/application/core/SurveyCommonAction.php(83): CAction->runWithParamsInternal() 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 |
| #10 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(308): SurveyCommonAction->runWithParams() 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; |
| #11 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction() 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(); |
| #12 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters() 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); |
| #13 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/AdminController.php(204): CController->run() 199 $this->runModuleController($action); 200 // this will redirect the default action to the new controller previously "admin/index" or "admin" to "dashboard/view" 201 if (empty($action) || $action === 'index') { 202 $this->redirect($this->createUrl('dashboard/view')); 203 } 204 return parent::run($action); 205 } 206 207 /** 208 * Starting with LS4, 3rd party developer can extends any of the LimeSurve controllers. 209 * |
| #14 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): AdminController->run() 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))); |
| #15 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() 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. |
| #16 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/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 /** |
| #17 |
+
–
/media/shnoulle/data/webdev/master/index.php(161): CApplication->run() 156 require_once APPPATH . 'core/LSYii_Application' . EXT; 157 158 $config = require_once(APPPATH . 'config/internal' . EXT); 159 160 Yii::$enableIncludePath = false; 161 Yii::createApplication('LSYii_Application', $config)->run(); 162 163 /* End of file index.php */ 164 /* Location: ./index.php */ |