Example #1
0
 /**
  * Set the view url
  *
  * Ensure the url is properly escaped
  *
  * @param HttpUrl $url   A HttpUrl object or a string
  * @return  ViewAbstract
  */
 public function setUrl(HttpUrl $url)
 {
     $url->setEscaped(true);
     return parent::setUrl($url);
 }