Ejemplo n.º 1
0
 /**
  * Gets short url on external link by \CBXShortUri.
  * @param array $paramsUri  Parameters for uri.
  * @param bool  $absolute Prepend host url.
  * @return string
  */
 public function getShortUrlExternalLink(array $paramsUri, $absolute = false)
 {
     return ($absolute ? $this->getHostUrl() : '') . \CBXShortUri::getShortUri($this->getUrlExternalLink($paramsUri, false));
 }