public function render()
 {
     $zendElement = new HtmlFlash();
     $zendElement->setView($this->view);
     return $zendElement((string) $this->object->getPublicUrl($this->urlType), $this->attributes);
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }