public function __construct() { $this->_vars = new ArrayStorage(); $this->_formatVars = new ArrayStorage(); $this->_flash = new SessionStorage(array(), 'view_flash'); $this->_response = DC::getResponse(); $this->_responseFormat = $this->detectResponseFormat(); }