Is that piece of code actually executed?

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 12 April 2013 18:55, whisher <whishe...@gmail.com> wrote:

> Hi,
> using this code
> public function indexAction()
>     {
>         $view = new ViewModel(array(
>             'message' => 'Hello world',
>         ));
>         $view->setTemplate('foo/baz-bat/do-something-crazy');
>         return $view;
>     }
> I'm waiting an error nothing is triggered.
> So I'm wondering why ^^
> Thanks in advance
>
>
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Zend-2-View-setTemplate-dont-trigger-any-errors-tp4659712.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
> --
> List: fw-general@lists.zend.com
> Info: http://framework.zend.com/archives
> Unsubscribe: fw-general-unsubscr...@lists.zend.com
>
>
>

Reply via email to