2017-08-20 17:52:35 +00:00
|
|
|
<?php
|
2021-03-05 03:08:47 +00:00
|
|
|
/**
|
|
|
|
* @package Joomla.Component.Builder
|
|
|
|
*
|
|
|
|
* @created 30th April, 2015
|
|
|
|
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
|
|
|
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
|
|
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
2018-05-18 06:28:27 +00:00
|
|
|
*/
|
2017-08-20 17:52:35 +00:00
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Componentbuilder Component Category Tree
|
|
|
|
*/
|
|
|
|
|
|
|
|
//Insure this view category file is loaded.
|
2020-05-29 01:01:07 +00:00
|
|
|
$classname = 'ComponentbuilderFieldCategories';
|
2017-08-20 17:52:35 +00:00
|
|
|
if (!class_exists($classname))
|
|
|
|
{
|
2020-05-29 01:01:07 +00:00
|
|
|
$path = JPATH_SITE . '/components/com_componentbuilder/helpers/categoryfield.php';
|
2017-08-20 17:52:35 +00:00
|
|
|
if (is_file($path))
|
|
|
|
{
|
|
|
|
include_once $path;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//Insure this view category file is loaded.
|
2020-05-29 01:01:07 +00:00
|
|
|
$classname = 'ComponentbuilderFieldtypeCategories';
|
2017-08-20 17:52:35 +00:00
|
|
|
if (!class_exists($classname))
|
|
|
|
{
|
2020-05-29 01:01:07 +00:00
|
|
|
$path = JPATH_SITE . '/components/com_componentbuilder/helpers/categoryfieldtype.php';
|
2017-08-20 17:52:35 +00:00
|
|
|
if (is_file($path))
|
|
|
|
{
|
|
|
|
include_once $path;
|
|
|
|
}
|
|
|
|
}
|