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 %}
Put file EPradoViewRenderer.php to "protected/components/" path.
Add to config:
Added support for {{base}} or {{BASE}} marker, that transforms into <?php echo Yii::app()->request->baseUrl ?>
'components'=>array( ........... 'viewRenderer'=>array( 'class'=>'EPradoViewRenderer', ), ),
the same as Prado View Renderer :)
Be the first person to leave a comment
Please login to leave your comment.