/**
  * 
  * get url ov preview gallery view
  */
 public static function getUrlViewPreview($galleryID = "")
 {
     if (empty($galleryID)) {
         $galleryID = GlobalsUGGallery::$galleryID;
     }
     UniteFunctionsUG::validateNotEmpty($galleryID, "gallery id");
     $url = HelperUG::getPreviewView($galleryID);
     return $url;
 }
Exemplo n.º 2
0
</th>						
			</tr>
		</thead>
		<tbody>
			<?php 
    foreach ($arrGalleries as $gallery) {
        $id = $gallery->getID();
        $typeTitle = $gallery->getTypeTitle();
        $isTypeExists = $gallery->isTypeExists();
        $showTitle = $gallery->getShowTitle();
        $title = $gallery->getTitle();
        $alias = $gallery->getAlias();
        $shortCode = $gallery->getShortcode();
        $editLink = HelperUG::getGalleryView($id);
        $editItemsLink = HelperUG::getItemsView($id);
        $previewLink = HelperUG::getPreviewView($id);
        $showTitle = UniteFunctionsUG::getHtmlLink($editLink, $showTitle);
        ?>
				<tr>
					<td><?php 
        echo $id;
        ?>
<span id="slider_title_<?php 
        echo $id;
        ?>
" style="display:none"><?php 
        echo $title;
        ?>
</span></td>								
					<td><?php 
        echo $showTitle;