Note: Latest release and documentation are available from extension GitHub page.
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:
'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}.
Change Log ΒΆ
0.9.2 ΒΆ
- Fixed renderFile method (Sam Dark)
0.9.1 ΒΆ
- Changed translation category to 'yiiext'.
- New naming conventions.
- readme_ru.
- Fixed TIME and MEMORY variables.
- Added $Yii variable.
0.9 ΒΆ
- Initial public release (Sam Dark)
ΠΏΡΠ°Π²ΠΊΠ°
Π²ΠΌΠ΅ΡΡΠΎ {this->pageTitle}
Π½Π°Π΄ΠΎ ΠΏΠΈΡΠ°ΡΡ:{$this->pageTitle}
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.