sitrunlab/LearnZF2 — pull request #89 by samsonasik (2014-12-25 04:51:41+00:00)
Title: using viewmodel->terminate() to check whenever view has layout

in favor of usage of #88 that need to set sitemap xml that not using layout. Changed :
```php
!$e->getViewModel() instanceof JsonModel
```
to
```php
!$e->getViewModel()->terminate()
```
so it has general condition ( for example : FeedModel or others ).