b0y-101 Mini Shell


Current Path : E:/www/instructor/teacher16/components/com_eventgallery/library/Configuration/
File Upload :
Current File : E:/www/instructor/teacher16/components/com_eventgallery/library/Configuration/Categories.php

<?php

namespace Joomla\Component\Eventgallery\Site\Library\Configuration;

/**
 * @package     Sven.Bluege
 * @subpackage  com_eventgallery
 *
 * @copyright   Copyright (C) 2005 - 2019 Sven Bluege All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

class Categories extends Configuration
{
    public function doShowItemsPerCategoryCountRecursive() {
        return $this->get('show_items_per_category_count_recursive', 0) == 1;
    }

    public function doShowItemsPerCategoryRecursive() {
        return $this->get('show_items_per_category_recursive', 0) == 1;
    }

    public function getCategoriesLayout() {
        return $this->get('categories_layout', 'textlinks');
    }

    public function doShowItemsPerCategoryCount() {
        return $this->get('show_items_per_category_count', 0) == 1;
    }

    public function doShowSubcategoryHeadline() {
        return $this->get('show_category_subcategories_headline', 1) == 1;
    }
}

Copyright © 2019 by b0y-101