Exemplo n.º 1
0
<?php

/**
 * @author Petr Grishin <*****@*****.**>
 */
/** @var \PetrGrishin\View\View $this */
$this->widget(TestWidget::className(), 'test')->run();
$this->widget(TestWidget::className(), 'test2')->run();
printf("View template\n");
Exemplo n.º 2
0
 public function run()
 {
     echo self::t('LANG');
     $this->renderOptions = array('tre' => 'GAGAGAGA');
     parent::run();
 }