extendedpradoviewrenderer Prado View Renderer with Twig-like markers

  1. Installation
  2. Version 0.2
  3. Usage
  4. Resources

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 :)

Resources

2 0
3 followers
511 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Developed by: aliaksej
Created on: May 5, 2011
Last updated: 13 years ago

Downloads

show all

Related Extensions