Ejemplo n.º 1
0
 /**
  * Builds the product link with the given parameters.
  * 
  * @param ViewableData $controller Base object to build the link.
  * @param string       $urlSegment URL segment.
  * 
  * @return string
  *
  * @author Sebastian Diel <*****@*****.**>
  * @since 03.03.2015
  */
 public function buildLink($controller, $urlSegment)
 {
     $link = '';
     $linkIdentifier = $this->ID;
     $this->extend('updatelinkIdentifier', $linkIdentifier);
     $link = $controller->OriginalLink() . 'detail/' . $linkIdentifier . '/' . $urlSegment;
     return $link;
 }