This is fully functional Prado View Renderer with a little change.
Together with markers <%= $var %> and <% expression %>
you can use markers in twig style {{ $var }} and {% expression %}
Installation ¶
Put file EPradoViewRenderer.php to "protected/components/" path.
Add to config:
Version 0.2 ¶
Added support for {{base}} or {{BASE}} marker, that transforms into <?php echo Yii::app()->request->baseUrl ?>
'components'=>array(
...........
'viewRenderer'=>array(
'class'=>'EPradoViewRenderer',
),
),
Usage ¶
the same as Prado View Renderer :)
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.