Skip to content

yiiext/quicky-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quicky view renderer

This extension allows you to use Quicky templates in Yii.

###Resources

###Requirements

  • Yii 1.0 or above

###Installation

  • Extract the release file under protected/extensions.
  • Download and extract Quicky under protected/vendors/Quicky.
  • Add the following to your config file 'components' section:
[php]
'viewRenderer'=>array(
  'class'=>'ext.yiiext.renderers.quicky.EQuickyViewRenderer',
    'fileExtension' => '.tpl',
    //'pluginsDir' => 'application.quickyPlugins',
    //'configDir' => 'application.quickyConfig',
),

###Usage

  • Quicky syntax is pretty much like Smarty one.
  • Current controller properties are accessible via {$this->pageTitle}.
  • Yii properties are available as follows: {$Yii->theme->baseUrl}.
  • Used memory is stored in {$MEMORY}, used time is in {$TIME}.