panels[$id]));}$this->panels[$id]=$panel;return$this;}public
function
render(){$obLevel=ob_get_level();$panels=array();foreach($this->panels
as$id=>$panel){try{$panels[]=array('id'=>preg_replace('#[^a-z0-9]+#i','-',$id),'tab'=>$tab=(string)$panel->getTab(),'panel'=>$tab?(string)$panel->getPanel():NULL);}catch(Exception$e){$panels[]=array('id'=>"error-$id",'tab'=>"Error: $id",'panel'=>nl2br(htmlSpecialChars((string)$e)));while(ob_get_level()>$obLevel){ob_end_clean();}}}?>
$panel):if(!$panel['panel'])continue;?>
- "> Nette Framework
- ',trim($panel['tab']),'';endif?>
- ×
panels,TRUE)){$this->panels[]=$panel;}return$this;}public
function
render(Exception$exception){$panels=$this->panels;static$errorTypes=array(E_ERROR=>'Fatal Error',E_USER_ERROR=>'User Error',E_RECOVERABLE_ERROR=>'Recoverable Error',E_CORE_ERROR=>'Core Error',E_COMPILE_ERROR=>'Compile Error',E_PARSE=>'Parse Error',E_WARNING=>'Warning',E_CORE_WARNING=>'Core Warning',E_COMPILE_WARNING=>'Compile Warning',E_USER_WARNING=>'User Warning',E_NOTICE=>'Notice',E_USER_NOTICE=>'User Notice',E_STRICT=>'Strict',E_DEPRECATED=>'Deprecated',E_USER_DEPRECATED=>'User Deprecated');$title=($exception
instanceof
FatalErrorException&&isset($errorTypes[$exception->getSeverity()]))?$errorTypes[$exception->getSeverity()]:get_class($exception);$expandPath=NETTE_DIR.DIRECTORY_SEPARATOR;$counter=0;?>
▼
getCode()?' #'.$ex->getCode():''))?>
getMessage())?>
getTrace();$expanded=NULL?>
getFile(),$expandPath)===0){foreach($stack
as$key=>$row){if(isset($row['file'])&&strpos($row['file'],$expandPath)!==0){$expanded=$key;break;}}}?>
File: getFile(),$ex->getLine())?> Line: getLine()?>
getFile())):?>getFile(),$ex->getLine(),15,isset($ex->context)?$ex->context:NULL)?>
$row):?>
inner-code
">source ►
(">arguments ►)
">
getParameters();}catch(Exception$e){$params=array();}foreach($row['args']as$k=>$v){echo'',htmlspecialchars(isset($params[$k])?'$'.$params[$k]->name:"#$k"),' | ';echo
NDebugHelpers::clickableDump($v);echo" |
\n";}?>
id="netteBsSrc">
context)&&is_array($ex->context)):?>
context
as$k=>$v){echo'$',htmlspecialchars($k),' | ',NDebugHelpers::clickableDump($v)," |
\n";}?>
getPrevious())||(isset($ex->previous)&&$ex=$ex->previous));?>
'?>
$v){echo'',htmlspecialchars($k),' | ';echo'',NDebugHelpers::clickableDump($v)," |
\n";}?>
',htmlspecialchars($v)," | \n";}?>
|.+$#s','',ob_get_clean())?>
$v)echo'',htmlspecialchars($k),' | ',NDebugHelpers::clickableDump($v)," |
\n";?>
Headers
$v)echo'',htmlspecialchars($k),' | ',htmlspecialchars($v)," |
\n";?>
$
empty
$v)echo'',htmlspecialchars($k),' | ',NDebugHelpers::clickableDump($v)," |
\n";?>
- Report generated at
- PHP
- (revision )