Commit f93076e3 by samdark

Fixes for all template renderers

parent abff8079
...@@ -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);
} }
} }
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment