I wonder what adds ...
resources.view[] =
... init application.inireally?
I know this allows me to access the view from bootstrap using
$this->bootstrap('view');
$view = $this->getResource('view');
but I wonder how zf knows resources.view= zend view? I assume that this is done and access $viewto getResource('view')create a view initialized with the zend view plugin?
If I do not add a line resources.view[] =, is my application still looking like zend on the right? so why do we need this line just to get a view resource?
source
share