/home/cavitech/public_html/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php(11973)
11961 $tag_index = 0; 11962 continue; 11963 } 11964 switch($token->name) { 11965 case 'caption': 11966 case 'colgroup': 11967 case 'thead': 11968 case 'tfoot': 11969 case 'tbody': 11970 case 'tr': 11971 $is_collecting = true; 11972 $collection[] = $token; 11973 continue; 11974 default: 11975 if (!empty($token->is_whitespace)) { 11976 $collection[] = $token; 11977 $tag_index++; 11978 } 11979 continue; 11980 } 11981 } 11982 } 11983 11984 if (empty($content)) return false; 11985
#0 |
+
–
/home/cavitech/public_html/framework/utils/CMarkdownParser.php(14): require_once() 09 */ 10 11 require_once(Yii::getPathOfAlias('system.vendors.markdown.markdown').'.php'); 12 if(!class_exists('HTMLPurifier_Bootstrap',false)) 13 { 14 require_once(Yii::getPathOfAlias('system.vendors.htmlpurifier').DIRECTORY_SEPARATOR.'HTMLPurifier.standalone.php'); 15 HTMLPurifier_Bootstrap::registerAutoload(); 16 } 17 18 /** 19 * CMarkdownParser is a wrapper of {@link http://michelf.com/projects/php-markdown/extra/ MarkdownExtra_Parser}. |
#1 |
+
–
/home/cavitech/public_html/framework/YiiBase.php(399): include("/home/cavitech/public_html/framework/utils/CMarkdownParser.php") 394 { 395 // use include so that the error PHP file may appear 396 if(isset(self::$classMap[$className])) 397 include(self::$classMap[$className]); 398 else if(isset(self::$_coreClasses[$className])) 399 include(YII_PATH.self::$_coreClasses[$className]); 400 else 401 { 402 // include class file relying on include_path 403 if(strpos($className,'\\')===false) // class without namespace 404 { |
#2 |
unknown(0): YiiBase::autoload("CMarkdownParser")
|
#3 |
+
–
/home/cavitech/public_html/framework/web/widgets/CMarkdown.php(116): spl_autoload_call("CMarkdownParser") 111 * By default, this method creates a {@link CMarkdownParser} instance. 112 * @return CMarkdownParser the markdown parser. 113 */ 114 protected function createMarkdownParser() 115 { 116 return new CMarkdownParser; 117 } 118 } |
#4 |
+
–
/home/cavitech/public_html/framework/web/widgets/CMarkdown.php(105): CMarkdown->createMarkdownParser() 100 * @return CMarkdownParser the parser instance 101 */ 102 public function getMarkdownParser() 103 { 104 if($this->_parser===null) 105 $this->_parser=$this->createMarkdownParser(); 106 return $this->_parser; 107 } 108 109 /** 110 * Creates a markdown parser. |
#5 |
+
–
/home/cavitech/public_html/framework/web/widgets/CMarkdown.php(75): CMarkdown->getMarkdownParser() 70 * @return string the converted content 71 */ 72 public function transform($output) 73 { 74 $this->registerClientScript(); 75 return $this->getMarkdownParser()->transform($output); 76 } 77 78 /** 79 * Registers the needed CSS and JavaScript. 80 */ |
#6 |
+
–
/home/cavitech/public_html/framework/web/widgets/CMarkdown.php(57): CMarkdown->transform("<p style="margin-left: 210px;">Cégünk termelé...") 52 * @param string $output the captured output to be processed 53 * @see convert 54 */ 55 public function processOutput($output) 56 { 57 $output=$this->transform($output); 58 if($this->purifyOutput) 59 { 60 $purifier=new CHtmlPurifier; 61 $output=$purifier->purify($output); 62 } |
#7 |
+
–
/home/cavitech/public_html/framework/web/widgets/COutputProcessor.php(45): CMarkdown->processOutput("<p style="margin-left: 210px;">Cégünk termelé...") 40 * This method stops output buffering and processes the captured output. 41 */ 42 public function run() 43 { 44 $output=ob_get_clean(); 45 $this->processOutput($output); 46 } 47 48 /** 49 * Processes the captured output. 50 * |
#8 |
+
–
/home/cavitech/public_html/framework/web/CBaseController.php(207): COutputProcessor->run() 202 */ 203 public function endWidget($id='') 204 { 205 if(($widget=array_pop($this->_widgetStack))!==null) 206 { 207 $widget->run(); 208 return $widget; 209 } 210 else 211 throw new CException(Yii::t('yii','{controller} has an extra endWidget({id}) call in its view.', 212 array('{controller}'=>get_class($this),'{id}'=>$id))); |
#9 |
+
–
/home/cavitech/public_html/protected/modules/article/views/post/view.php(23): CBaseController->endWidget() 18 </div> 19 <div class="content_f"> 20 <?php 21 $this->beginWidget('CMarkdown', array('purifyOutput' => true)); 22 echo $data->content; 23 $this->endWidget(); 24 ?> 25 </div> 26 <div class="nav"> 27 <?php 28 /* $this->widget('SimpleShare', array( |
#10 |
+
–
/home/cavitech/public_html/framework/web/CBaseController.php(127): require("/home/cavitech/public_html/protected/modules/article/views/post/...") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } |
#11 |
+
–
/home/cavitech/public_html/framework/web/CBaseController.php(96): CBaseController->renderInternal("/home/cavitech/public_html/protected/modules/article/views/post/...", array("model" => Post, "translated" => true), true) 091 { 092 $widgetCount=count($this->_widgetStack); 093 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 094 $content=$renderer->renderFile($this,$viewFile,$data,$return); 095 else 096 $content=$this->renderInternal($viewFile,$data,$return); 097 if(count($this->_widgetStack)===$widgetCount) 098 return $content; 099 else 100 { 101 $widget=end($this->_widgetStack); |
#12 |
+
–
/home/cavitech/public_html/framework/web/CController.php(870): CBaseController->renderFile("/home/cavitech/public_html/protected/modules/article/views/post/...", array("model" => Post, "translated" => true), true) 865 */ 866 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 867 { 868 if(($viewFile=$this->getViewFile($view))!==false) 869 { 870 $output=$this->renderFile($viewFile,$data,true); 871 if($processOutput) 872 $output=$this->processOutput($output); 873 if($return) 874 return $output; 875 else |
#13 |
+
–
/home/cavitech/public_html/framework/web/CController.php(783): CController->renderPartial("view", array("model" => Post, "translated" => true), true) 778 */ 779 public function render($view,$data=null,$return=false) 780 { 781 if($this->beforeRender($view)) 782 { 783 $output=$this->renderPartial($view,$data,true); 784 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 785 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 786 787 $this->afterRender($view,$output); 788 |
#14 |
+
–
/home/cavitech/public_html/protected/modules/article/controllers/PostController.php(71): CController->render("view", array("model" => Post, "translated" => true)) 66 Yii::app()->clientScript->registerMetaTag($post->tags, 'keywords'); 67 Yii::app()->clientScript->registerMetaTag(extra::getIntro($post->content, 140), 'content'); 68 69 $this->render('view', array( 70 'model' => $post, 71 'translated' => $translated 72 )); 73 } 74 75 /** 76 * Creates a new model. |
#15 |
+
–
/home/cavitech/public_html/framework/web/actions/CInlineAction.php(50): PostController->actionView() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#16 |
+
–
/home/cavitech/public_html/framework/web/CController.php(309): CInlineAction->runWithParams(array("lang" => "hu", "id" => "2", "title" => "the-company-does-not-sell-product-currently!")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#17 |
+
–
/home/cavitech/public_html/framework/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction) 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#18 |
+
–
/home/cavitech/public_html/framework/web/filters/CFilter.php(41): CFilterChain->run() 36 */ 37 public function filter($filterChain) 38 { 39 if($this->preFilter($filterChain)) 40 { 41 $filterChain->run(); 42 $this->postFilter($filterChain); 43 } 44 } 45 46 /** |
#19 |
+
–
/home/cavitech/public_html/framework/web/CController.php(1146): CFilter->filter(CFilterChain) 1141 */ 1142 public function filterAccessControl($filterChain) 1143 { 1144 $filter=new CAccessControlFilter; 1145 $filter->setRules($this->accessRules()); 1146 $filter->filter($filterChain); 1147 } 1148 1149 /** 1150 * Returns a persistent page state value. 1151 * A page state is a variable that is persistent across POST requests of the same page. |
#20 |
+
–
/home/cavitech/public_html/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(CFilterChain) 54 * @param CFilterChain $filterChain the filter chain that the filter is on. 55 */ 56 public function filter($filterChain) 57 { 58 $method='filter'.$this->name; 59 $filterChain->controller->$method($filterChain); 60 } 61 } |
#21 |
+
–
/home/cavitech/public_html/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(CFilterChain) 126 { 127 if($this->offsetExists($this->filterIndex)) 128 { 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#22 |
+
–
/home/cavitech/public_html/framework/web/CController.php(292): CFilterChain->run() 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); 293 $this->_action=$priorAction; 294 } 295 } 296 297 /** |
#23 |
+
–
/home/cavitech/public_html/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array("accessControl")) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#24 |
+
–
/home/cavitech/public_html/framework/web/CWebApplication.php(276): CController->run("view") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init(); 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 281 array('{route}'=>$route===''?$this->defaultController:$route))); |
#25 |
+
–
/home/cavitech/public_html/framework/web/CWebApplication.php(135): CWebApplication->runController("article/post/view") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
#26 |
+
–
/home/cavitech/public_html/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#27 |
+
–
/home/cavitech/public_html/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |