Component-Builder/site/helpers/category.php

53 lines
2.4 KiB
PHP
Raw Normal View History

<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
2017-10-30 13:30:20 +00:00
@version 2.6.0
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage category.php
@author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Builds Complex Joomla Components
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
/**
* Componentbuilder Component Category Tree
*/
//Insure this view category file is loaded.
$classname = 'componentbuilderFieldsCategories';
if (!class_exists($classname))
{
$path = JPATH_SITE . '/components/com_componentbuilder/helpers/categoryfields.php';
if (is_file($path))
{
include_once $path;
}
}
//Insure this view category file is loaded.
$classname = 'componentbuilderFieldtypesCategories';
if (!class_exists($classname))
{
$path = JPATH_SITE . '/components/com_componentbuilder/helpers/categoryfieldtypes.php';
if (is_file($path))
{
include_once $path;
}
}