Пример #1
0
 function generAnchor($label, $cssClass = "", $absolute = FALSE, $target = "", $encode = TRUE)
 {
     return GenerWidget::generAnchor($this->makeUrl($absolute), $label, $cssClass, $target, $encode);
 }
Пример #2
0
 function generAnchor($label, $cssClass = "overlay", $ajaxFromHref = "")
 {
     return GenerWidget::generAnchor($ajaxFromHref, $label, $cssClass, "", TRUE, "#{$this->id}");
 }
Пример #3
0
 function generImageAnchor($link, $src, $alt, $width = "", $height = "", $cssClass = "", $target = "", $rel = "")
 {
     $alt = htmlspecialchars($alt);
     $img = "<img src='{$src}' alt='{$alt}' border='0' title='{$alt}'";
     if ($width != "") {
         $img .= " width='{$width}'";
     }
     if ($height != "") {
         $img .= " height='{$height}'";
     }
     $img .= ">";
     return GenerWidget::generAnchor($link, $img, $cssClass, $target, FALSE, $rel);
 }