/home/thegbag/public_html/protected/vendors/mpdf/mpdf.php(30648)
30636 if ($fontsize) { 30637 $size *= $fontsize * 1.5; 30638 } else { 30639 $size *= $maxsize * 1.5; 30640 } 30641 } elseif ($size == 'xx-large') { 30642 if ($fontsize) { 30643 $size *= $fontsize * 2; 30644 } else { 30645 $size *= $maxsize * 2; 30646 } 30647 } else 30648 $size *= (25.4 / $this->dpi); //nothing == px 30649 30650 return $size; 30651 } 30652 30653 // mPDF 5.7.3 TRANSFORMS 30654 function ConvertAngle($s, $makepositive = true) 30655 { 30656 if (preg_match('/([\-]*[0-9\.]+)(deg|grad|rad)/i', $s, $m)) { 30657 $angle = $m[1] + 0; 30658 if (strtolower($m[2]) == 'deg') { 30659 $angle = $angle; 30660 } elseif (strtolower($m[2]) == 'grad') {
#0 |
+
–
/home/thegbag/public_html/protected/vendors/mpdf/mpdf.php(20904): mPDF->ConvertSize(0, 267.00008333333, 3.5277777777778, false) 20899 break; 20900 case 'MARGIN-LEFT': 20901 $this->blk[$this->blklvl]['margin_left'] = $this->ConvertSize($v, $this->blk[$prevlevel]['inner_width'], $this->FontSize, false); 20902 break; 20903 case 'MARGIN-RIGHT': 20904 $this->blk[$this->blklvl]['margin_right'] = $this->ConvertSize($v, $this->blk[$prevlevel]['inner_width'], $this->FontSize, false); 20905 break; 20906 20907 /* -- BORDER-RADIUS -- */ 20908 case 'BORDER-TOP-LEFT-RADIUS-H': 20909 $this->blk[$this->blklvl]['border_radius_TL_H'] = $this->ConvertSize($v, $this->blk[$prevlevel]['inner_width'], $this->FontSize, false); |
#1 |
+
–
/home/thegbag/public_html/protected/vendors/mpdf/Tag.php(1746): mPDF->setCSS(array("MARGIN-COLLAPSE" => "COLLAPSE", "LINE-HEIGHT" => 1.5, "DIRECTION" => "ltr", "TEXT-INDENT" => "0mm", ...), "BLOCK", "DIV") 1741 } 1742 $currblk['list_style_type'] = $listtype; 1743 } 1744 } 1745 1746 $this->mpdf->setCSS($properties, 'BLOCK', $tag); //name(id/class/style) found in the CSS array! 1747 $currblk['InlineProperties'] = $this->mpdf->saveInlineProperties(); 1748 1749 if (isset($properties['VISIBILITY'])) { 1750 $v = strtolower($properties['VISIBILITY']); 1751 if (($v == 'hidden' || $v == 'printonly' || $v == 'screenonly') && $this->mpdf->visibility == 'visible' && !$this->mpdf->tableLevel) { |
#2 |
+
–
/home/thegbag/public_html/protected/vendors/mpdf/mpdf.php(16543): Tag->OpenTag("DIV", array("ID" => "HEADER", "STYLE" => "background-color: #fff; width: auto; margin: 0 auto;"), array(" ", "div id="header" style="background-color: #fff; width: auto; marg...", " ", "div class="header"", ...), 1) 16538 $attr[strtoupper($a3[1])] = trim($a3[2]); 16539 } 16540 } 16541 } 16542 } 16543 $this->tag->OpenTag($tag, $attr, $a, $i); // mPDF 6 16544 /* -- CSS-POSITION -- */ 16545 if ($this->inFixedPosBlock) { 16546 $this->fixedPosBlockBBox = array($tag, $attr, $this->x, $this->y); 16547 $this->fixedPosBlock = ''; 16548 $this->fixedPosBlockDepth = 1; |
#3 |
+
–
/home/thegbag/public_html/protected/controllers/CategoryController.php(444): mPDF->WriteHTML(" <div id="header" style="background-color: #fff; width: auto; ...") 439 // $stylesheet = file_get_contents('css/mpdfstyletables.css'); 440 // $mPDF1->WriteHTML($stylesheet,1); 441 $stylesheet = file_get_contents('css/print.css'); 442 // echo $output; 443 $mPDF1->WriteHTML($stylesheet,1); 444 $mPDF1->WriteHTML($output); 445 $mPDF1->Output('thegbag.com_'.$product->name.'.pdf', EYiiPdf::OUTPUT_TO_DOWNLOAD); 446 }else{ 447 $this->renderPartial('error'); 448 } 449 } |
#4 |
+
–
/home/thegbag/yiinew/web/actions/CInlineAction.php(49): CategoryController->actionPdf() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#5 |
+
–
/home/thegbag/yiinew/web/CController.php(308): CInlineAction->runWithParams(array("id" => "930")) 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; |
#6 |
+
–
/home/thegbag/yiinew/web/CController.php(286): CController->runAction(CInlineAction) 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(); |
#7 |
+
–
/home/thegbag/yiinew/web/CController.php(265): CController->runActionWithFilters(CInlineAction, 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); |
#8 |
+
–
/home/thegbag/yiinew/web/CWebApplication.php(282): CController->run("pdf") 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))); |
#9 |
+
–
/home/thegbag/yiinew/web/CWebApplication.php(141): CWebApplication->runController("category/pdf") 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. |
#10 |
+
–
/home/thegbag/yiinew/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#11 |
+
–
/home/thegbag/public_html/index.php(22): CApplication->run() 17 $app = Yii::createWebApplication($config); 18 // $app = Yii::createWebApplication($config); 19 20 Yii::import('ext.yiiexcel.YiiExcel', true); 21 Yii::registerAutoloader(array('YiiExcel', 'autoload'), true); 22 $app->run(); |