public function render() { $zendElement = new HtmlFlash(); $zendElement->setView($this->view); return $zendElement((string) $this->object->getPublicUrl($this->urlType), $this->attributes); }
/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { $this->view = new View(); $this->helper = new HtmlFlash(); $this->helper->setView($this->view); }