/mnt/data/shnoulle/nginx/www/3LTS/application/third_party/tcpdf/include/tcpdf_fonts.php(1671)
1659 * Returns the unicode caracter specified by the value 1660 * @param $c (int) UTF-8 value 1661 * @param $unicode (boolean) True if we are in unicode mode, false otherwise. 1662 * @return Returns the specified character. 1663 * @since 2.3.000 (2008-03-05) 1664 * @public static 1665 */ 1666 public static function unichr($c, $unicode=true) { 1667 if (!$unicode) { 1668 return chr($c); 1669 } elseif ($c <= 0x7F) { 1670 // one byte 1671 return chr($c); 1672 } elseif ($c <= 0x7FF) { 1673 // two bytes 1674 return chr(0xC0 | $c >> 6).chr(0x80 | $c & 0x3F); 1675 } elseif ($c <= 0xFFFF) { 1676 // three bytes 1677 return chr(0xE0 | $c >> 12).chr(0x80 | $c >> 6 & 0x3F).chr(0x80 | $c & 0x3F); 1678 } elseif ($c <= 0x10FFFF) { 1679 // four bytes 1680 return chr(0xF0 | $c >> 18).chr(0x80 | $c >> 12 & 0x3F).chr(0x80 | $c >> 6 & 0x3F).chr(0x80 | $c & 0x3F); 1681 } else { 1682 return ''; 1683 }
#0 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/third_party/tcpdf/include/tcpdf_fonts.php(1671): chr("") 1666 public static function unichr($c, $unicode=true) { 1667 if (!$unicode) { 1668 return chr($c); 1669 } elseif ($c <= 0x7F) { 1670 // one byte 1671 return chr($c); 1672 } elseif ($c <= 0x7FF) { 1673 // two bytes 1674 return chr(0xC0 | $c >> 6).chr(0x80 | $c & 0x3F); 1675 } elseif ($c <= 0xFFFF) { 1676 // three bytes |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/third_party/tcpdf/include/tcpdf_fonts.php(1803): TCPDF_FONTS::unichr("", true) 1798 if (strlen($end) == 0) { 1799 $end = count($strarr); 1800 } 1801 $string = ''; 1802 for ($i = $start; $i < $end; ++$i) { 1803 $string .= self::unichr($strarr[$i], $unicode); 1804 } 1805 return $string; 1806 } 1807 1808 /** |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/third_party/tcpdf/include/tcpdf_fonts.php(2099): TCPDF_FONTS::UTF8ArrSubString(array(""), 0, 1, true) 2094 $pel = 0; 2095 // max level 2096 $maxlevel = 0; 2097 if (TCPDF_STATIC::empty_string($str)) { 2098 // create string from array 2099 $str = self::UTF8ArrSubString($ta, '', '', $isunicode); 2100 } 2101 // check if string contains arabic text 2102 if (preg_match(TCPDF_FONT_DATA::$uni_RE_PATTERN_ARABIC, $str)) { 2103 $arabic = true; 2104 } else { |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/third_party/tcpdf/tcpdf.php(1963): TCPDF_FONTS::utf8Bidi(array(""), "", false, true, ...) 1958 $this->ur['ef'] = '/Create/Delete/Modify/Import'; 1959 $this->ur['formex'] = ''; 1960 // set default JPEG quality 1961 $this->jpeg_quality = 75; 1962 // initialize some settings 1963 TCPDF_FONTS::utf8Bidi(array(''), '', false, $this->isunicode, $this->CurrentFont); 1964 // set default font 1965 $this->SetFont($this->FontFamily, $this->FontStyle, $this->FontSizePt); 1966 $this->setHeaderFont(array($this->FontFamily, $this->FontStyle, $this->FontSizePt)); 1967 $this->setFooterFont(array($this->FontFamily, $this->FontStyle, $this->FontSizePt)); 1968 // check if PCRE Unicode support is enabled |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/libraries/admin/pdf.php(263): TCPDF->__construct("P", "mm", "A4", true, ...) 258 $this->_config['page_orientation'], 259 $this->_config['page_unit'], 260 $this->_config['page_format'], 261 $this->_config['unicode'], 262 $this->_config['encoding'], 263 $this->_config['enable_disk_cache'] 264 ); 265 266 267 # margin settings 268 $this->SetMargins($this->_config['margin_left'], $this->_config['margin_top'], $this->_config['margin_right']); |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/admin/export/PdfWriter.php(32): pdf->__construct() 27 Yii::import('application.libraries.admin.pdf', true); 28 Yii::import('application.helpers.pdfHelper'); 29 $aPdfLanguageSettings = pdfHelper::getPdfLanguageSettings($sLanguageCode); 30 31 // create PDF document 32 $this->pdf = new pdf(); 33 $this->surveyName = $survey->info['surveyls_title']; 34 $this->pdf->initAnswerPDF($survey->info, $aPdfLanguageSettings, Yii::app()->getConfig('sitename'), $this->surveyName); 35 $this->separator = "\t"; 36 $this->rowCounter = 0; 37 $this->aGroupMap = $this->setGroupMap($survey, $oOptions); |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/admin/exportresults_helper.php(103): PdfWriter->init(SurveyObj, "de", FormattingOptions) 098 throw new Exception(sprintf('Writer for %s should implement IWriter', $sExportPlugin)); 099 } 100 101 $surveyDao = new SurveyDao(); 102 $survey = $surveyDao->loadSurveyById($iSurveyId, $sLanguageCode, $oOptions); 103 $writer->init($survey, $sLanguageCode, $oOptions); 104 105 $surveyDao->loadSurveyResults($survey, $oOptions->responseMinRecord, $oOptions->responseMaxRecord, $sFilter, $oOptions->responseCompletionState, $oOptions->selectedColumns, $oOptions->aResponses); 106 $writer->write($survey, $sLanguageCode, $oOptions, true); 107 $result = $writer->close(); 108 |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/admin/export.php(325): ExportSurveyResultsService->exportResponses("971892", "de", "pdf", FormattingOptions, ...) 320 } else { 321 $sFilter = ''; 322 } 323 324 viewHelper::disableHtmlLogging(); 325 $resultsService->exportResponses($iSurveyID, $explang, $sExportType, $options, $sFilter); 326 327 Yii::app()->end(); 328 } 329 330 /* |
#8 |
unknown(0): export->exportresults()
|
#9 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(export, 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 } |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(export,
ReflectionMethod, array("r" =>
"admin/export/sa/exportresults/surveyid/971892", "sa" =>
"exportresults", "surveyid" => "971892", "iSurveyId" => "971892",
...)) 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 |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r"
=> "admin/export/sa/exportresults/surveyid/971892", "sa" =>
"exportresults", "surveyid" => "971892", "iSurveyId" => "971892",
...)) 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; |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(286): CController->runAction(export) 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(); |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(265): CController->runActionWithFilters(export, 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); |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/AdminController.php(165): CController->run("export") 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 * |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(282): AdminController->run("export") 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))); |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/export/sa/exportresults/surveyid/971892") 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. |
#17 |
+
–
/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 /** |
#18 |
+
–
/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 */ |