Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
Yii Dwoo renderer
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Common
Yii Dwoo renderer
Commits
f93076e3
Commit
f93076e3
authored
Dec 13, 2010
by
samdark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for all template renderers
git-svn-id:
http://yiiext.googlecode.com/svn/trunk/app/extensions/yiiext/renderers/dwoo@346
175f29da-e50b-11de-93f0-cd01e99e34ab
parent
abff8079
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
EDwooViewRenderer.php
EDwooViewRenderer.php
+4
-1
changelog.txt
changelog.txt
+13
-7
No files found.
EDwooViewRenderer.php
View file @
f93076e3
...
@@ -82,7 +82,10 @@ class EDwooViewRenderer extends CApplicationComponent implements IViewRenderer {
...
@@ -82,7 +82,10 @@ class EDwooViewRenderer extends CApplicationComponent implements IViewRenderer {
if
(
!
is_file
(
$sourceFile
)
||
(
$file
=
realpath
(
$sourceFile
))
===
false
)
if
(
!
is_file
(
$sourceFile
)
||
(
$file
=
realpath
(
$sourceFile
))
===
false
)
throw
new
CException
(
Yii
::
t
(
'yiiext'
,
'View file "{file}" does not exist.'
,
array
(
'{file}'
=>
$sourceFile
)));
throw
new
CException
(
Yii
::
t
(
'yiiext'
,
'View file "{file}" does not exist.'
,
array
(
'{file}'
=>
$sourceFile
)));
//render
//render or return
if
(
$return
)
return
$this
->
dwoo
->
get
(
$sourceFile
,
$data
);
return
$this
->
dwoo
->
get
(
$sourceFile
,
$data
);
else
$this
->
dwoo
->
get
(
$sourceFile
,
$data
,
null
,
true
);
}
}
}
}
changelog.txt
View file @
f93076e3
next
----
- Fixed renderFile method (Sam Dark)
0.9.1
0.9.1
[*] Changed translation category to 'yiiext'.
-----
[*] New naming conventions.
- Changed translation category to 'yiiext'.
[+] readme_ru.
- New naming conventions.
[+] Added Yii varialbe.
- readme_ru.
[+] Added TIME and MEMORY variables.
- Added Yii varialbe.
- Added TIME and MEMORY variables.
0.9
0.9
[+] Initial public release.
---
\ No newline at end of file
- Initial public release (Sam Dark)
\ No newline at end of file
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