From 403a344b7f0c57167d3933c906f6b6bbba828e6b Mon Sep 17 00:00:00 2001 From: "Andrey V. Kluev" Date: Tue, 17 Mar 2015 16:45:22 +0500 Subject: [PATCH] Update Widget.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Увртинки модели теперь доступны в шаблоне. --- Widget.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Widget.php b/Widget.php index d0898ec..fa59603 100644 --- a/Widget.php +++ b/Widget.php @@ -264,6 +264,7 @@ public function run() return $this->render( $this->template, [ + 'values' => $this->model->{$this->attributeName}, 'selector' => $this->options['id'], 'paramName' => $this->paramName ]