Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
3fb840f3
Commit
3fb840f3
authored
Mar 31, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated errorhandler views doc
parent
82bdcdcb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
callStackItem.php
framework/views/errorHandler/callStackItem.php
+1
-1
error.php
framework/views/errorHandler/error.php
+1
-1
exception.php
framework/views/errorHandler/exception.php
+1
-1
previousException.php
framework/views/errorHandler/previousException.php
+1
-1
No files found.
framework/views/errorHandler/callStackItem.php
View file @
3fb840f3
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
* @var string[] $lines
* @var string[] $lines
* @var integer $begin
* @var integer $begin
* @var integer $end
* @var integer $end
* @var \yii\
base
\ErrorHandler $handler
* @var \yii\
web
\ErrorHandler $handler
*/
*/
?>
?>
<li
class=
"
<?php
if
(
!
$handler
->
isCoreFile
(
$file
)
||
$index
===
1
)
echo
'application'
;
?>
call-stack-item"
<li
class=
"
<?php
if
(
!
$handler
->
isCoreFile
(
$file
)
||
$index
===
1
)
echo
'application'
;
?>
call-stack-item"
...
...
framework/views/errorHandler/error.php
View file @
3fb840f3
<?php
<?php
/**
/**
* @var \Exception $exception
* @var \Exception $exception
* @var \yii\
base
\ErrorHandler $handler
* @var \yii\
web
\ErrorHandler $handler
*/
*/
if
(
$exception
instanceof
\yii\web\HttpException
)
{
if
(
$exception
instanceof
\yii\web\HttpException
)
{
$code
=
$exception
->
statusCode
;
$code
=
$exception
->
statusCode
;
...
...
framework/views/errorHandler/exception.php
View file @
3fb840f3
<?php
<?php
/**
/**
* @var \Exception $exception
* @var \Exception $exception
* @var \yii\
base
\ErrorHandler $handler
* @var \yii\
web
\ErrorHandler $handler
*/
*/
?>
?>
<?php
if
(
method_exists
(
$this
,
'beginPage'
))
$this
->
beginPage
();
?>
<?php
if
(
method_exists
(
$this
,
'beginPage'
))
$this
->
beginPage
();
?>
...
...
framework/views/errorHandler/previousException.php
View file @
3fb840f3
<?php
<?php
/**
/**
* @var \yii\base\Exception $exception
* @var \yii\base\Exception $exception
* @var \yii\
base
\ErrorHandler $handler
* @var \yii\
web
\ErrorHandler $handler
*/
*/
?>
?>
<div
class=
"previous"
>
<div
class=
"previous"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment