30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 06:50:49 +00:00
weblinks/src/components/com_weblinks/src/Service/Category.php

39 lines
847 B
PHP
Raw Normal View History

2021-06-19 14:17:09 +00:00
<?php
2023-05-18 16:45:59 +00:00
2021-06-19 14:17:09 +00:00
/**
* @package Joomla.Site
2021-07-01 14:26:06 +00:00
* @subpackage com_weblinks
2021-06-19 14:17:09 +00:00
*
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Weblinks\Site\Service;
2023-05-18 16:45:59 +00:00
// phpcs:disable PSR1.Files.SideEffects
2021-06-19 14:17:09 +00:00
\defined('_JEXEC') or die;
2023-05-18 16:45:59 +00:00
// phpcs:enable PSR1.Files.SideEffects
2021-06-19 14:17:09 +00:00
use Joomla\CMS\Categories\Categories;
/**
2021-07-01 15:06:22 +00:00
* Weblinks Component Category Tree
2021-06-19 14:17:09 +00:00
*
* @since 1.6
*/
class Category extends Categories
{
2023-05-18 16:45:59 +00:00
/**
* Class constructor
*
* @param array $options Array of options
*
* @since 1.7.0
*/
public function __construct($options = [])
{
$options['table'] = '#__weblinks';
$options['extension'] = 'com_weblinks';
parent::__construct($options);
}
2021-06-19 14:17:09 +00:00
}