Example #1
0
    if ($all) {
        echo 'class="active"';
    }
    ?>
	href="#">
				<span><?php 
    echo JText::_('JALL');
    ?>
</span>
				<input type="hidden" value="">
		</a>
		<?php 
    foreach ($this->listCategories as $category) {
        ?>
			<a data-value="p<?php 
        echo str_replace(',', ',p', Bt_portfolioModelPortfolios::callBackAllChild($category->id));
        ?>
" <?php 
        if ($category->id == $activeID) {
            echo 'class="active"';
        }
        ?>
	href="#">
				<span><?php 
        echo $category->title;
        ?>
</span>
				<input type="hidden" value="<?php 
        echo htmlspecialchars($category->description);
        ?>
">
Example #2
0
 protected function getStoreId($id = '')
 {
     // Compile the store id.
     $id .= $this->getState('filter.featured');
     return parent::getStoreId($id);
 }