Property | Type | Description | |
---|---|---|---|
$_application | Reference to the current Phalcon application instance | ||
$_showActive | Flag to control that only one exception/error is show at time | ||
$_showApplicationDump | Show debug information about the application | ||
$_showBackTrace | Print the backtrace | ||
$_showFileFragment | Show only the related part of the application | ||
$_showFiles | Show the application's code | ||
$_theme | CSS theme | ||
$_uri | Pretty Exceptions |
Method | Description | |
---|---|---|
__construct ( Phalcon\Mvc\Application $application = null ) | Constructor | |
getCssSources ( ) : string | Returns the css sources | |
getJsSources ( ) : string | Returns the javascript sources | |
getVersion ( ) | Returns the current framework version | |
handle ( Exception $e, Phalcon\Mvc\Application $application = null ) : boolean | Handles exceptions | |
handleError ( integer $errorCode, string $errorMessage, string $errorFile, integer $errorLine, Phalcon\Mvc\Application $application = null ) | Handles errors/warnings/notices | |
setBaseUri ( string $uri ) | Change the base uri for css/javascript sources | |
setTheme ( string $theme ) | Change the CSS theme | |
showApplicationDump ( boolean $showApplicationDump ) | Set to display a dump of the Phalcon application instance | |
showBackTrace ( boolean $showBackTrace ) | Set if the exception/error backtrace must be shown | |
showFileFragment ( boolean $showFileFragment ) | Set if only the file fragment related to the exception must be shown instead of the complete file | |
showFiles ( boolean $showFiles ) | Set if the application's files must be opened an showed as part of the backtrace |
Method | Description | |
---|---|---|
_escapeString ( $value ) | ||
_getArrayDump ( $argument, $n ) | ||
_showTraceItem ( integer $n, array $trace ) | Shows a backtrace item | |
getApplicationDump ( Phalcon\Mvc\Application $application ) | Returns human readable dump of the current Phalcon application instance. |
public __construct ( Phalcon\Mvc\Application $application = null ) | ||
$application | Phalcon\Mvc\Application | OPTIONAL To display a dump of the current state of the Phalcon application instance. |
protected _showTraceItem ( integer $n, array $trace ) | ||
$n | integer | |
$trace | array |
protected getApplicationDump ( Phalcon\Mvc\Application $application ) | ||
$application | Phalcon\Mvc\Application | OPTIONAL To display a dump of the current state of the Phalcon application instance. |
public getCssSources ( ) : string | ||
return | string |
public getJsSources ( ) : string | ||
return | string |
public handleError ( integer $errorCode, string $errorMessage, string $errorFile, integer $errorLine, Phalcon\Mvc\Application $application = null ) | ||
$errorCode | integer | |
$errorMessage | string | |
$errorFile | string | |
$errorLine | integer | |
$application | Phalcon\Mvc\Application | OPTIONAL To display a dump of the current state of the Phalcon application instance. |
public setBaseUri ( string $uri ) | ||
$uri | string |
public showApplicationDump ( boolean $showApplicationDump ) | ||
$showApplicationDump | boolean |
public showBackTrace ( boolean $showBackTrace ) | ||
$showBackTrace | boolean |
public showFileFragment ( boolean $showFileFragment ) | ||
$showFileFragment | boolean |
protected $_application |
protected static $_showActive |
protected $_showApplicationDump |
protected $_showFileFragment |