centurion-project/Centurion — Issue #50: Centurion_Application_Resource_View does not follow Zend updates
Author: DiaFR
Created: 2012-02-22 09:20:55+00:00
State: open

Centurion_Application_Resource_View

```php
public function getView()
{
if (null === $this->_view) {
$this->_view = new Centurion_View($this->getOptions());
}

return $this->_view;
}
```

Zend_Application_Resource_View

```php
public function getView()
{
if (null === $this->_view) {
$options = $this->getOptions();
$this->_view = new Zend_View($options);

if(isset($options['doctype'])) {
$this->_view->doctype()->setDoctype(strtoupper($options['doctype']));
}
}
return $this->_view;
}
```

doctype management is omitted
also means that this file has to be carefully updated each time his parent is modified