PATH:
home
/
lab2454c
/
equitablegold.com
/
wp-content
/
plugins
/
unlimited-elements-for-elementor
/
inc_php
<?php /** * @package Unlimited Elements * @author unlimited-elements.com * @copyright (C) 2021 Unlimited Elements, All Rights Reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html * */ defined('UNLIMITED_ELEMENTS_INC') or die('Restricted access'); class UniteCreatorDataset{ public static $arrDatasetTypes = array(); public static $arrTypeNames = array(); /** * get short queries array */ private function getArrQueryShort($arrQueries){ $arrShort = array(); foreach($arrQueries as $name => $arrQuery){ $title = UniteFunctionsUC::getVal($arrQuery, "title"); $arrShort[$name] = $title; } return($arrShort); } /** * register dataset */ public function registerDataset($type, $title, $arrQueries){ if(isset(self::$arrDatasetTypes[$type])) UniteFunctionsUC::throwError("Dataset type is already exists"); $arrDataset = array(); $arrDataset["title"] = $title; $arrDataset["queries"] = $arrQueries; self::$arrDatasetTypes[$type] = $arrDataset; self::$arrTypeNames[$type] = $title; } /** * get dataset types */ public function getDatasetTypes(){ return(self::$arrDatasetTypes); } /** * get dataset types */ public function getDatasetTypeNames(){ return(self::$arrTypeNames); } /** * get dataset */ public function getDataset($type){ if(!isset(self::$arrDatasetTypes[$type])) UniteFunctionsUC::throwError("The dataset type: $type not exists"); $arrDataset = self::$arrDatasetTypes[$type]; return($arrDataset); } }
[-] unitecreator_assets_work.class.php
[edit]
[-] unitecreator_filters_process.class.php
[edit]
[-] unitecreator_api_integrations.class.php
[edit]
[-] unitecreator_params_editor.class.php
[edit]
[-] unitecreator_settings.class.php
[edit]
[-] unitecreator_addon_validator.class.php
[edit]
[-] unitecreator_addon_config.class.php
[edit]
[-] unitecreator_addon_changelog.class.php
[edit]
[-] unitecreator_addon.class.php
[edit]
[-] unitecreator_unitegallery.class.php
[edit]
[-] unitecreator_params_processor.class.php
[edit]
[+]
..
[-] unitecreator_categories.class.php
[edit]
[+]
manager
[-] unitecreator_client_text.php
[edit]
[-] unitecreator_browser.class.php
[edit]
[+]
framework
[+]
layouts
[-] unitecreator_settings_output.class.php
[edit]
[-] unitecreator_exporter.class.php
[edit]
[-] index.html
[edit]
[-] unitecreator_web_api.class.php
[edit]
[-] unitecreator_globals.class.php
[edit]
[-] unitecreator_addons.class.php
[edit]
[-] unitecreator_operations.class.php
[edit]
[-] unitecreator_variables_output.class.php
[edit]
[-] unitecreator_output.class.php
[edit]
[-] unitecreator_exporter_base.class.php
[edit]
[-] unitecreator_template_engine.class.php
[edit]
[-] unitecreator_entrance_animations.class.php
[edit]
[-] unitecreator_assets.class.php
[edit]
[-] unitecreator_library.class.php
[edit]
[-] unitecreator_actions.class.php
[edit]
[-] unitecreator_web_library.class.php
[edit]
[+]
addontypes
[-] unitecreator_dataset.class.php
[edit]
[+]
plugins
[-] unitecreator_form.class.php
[edit]
[-] unitecreator_addon_revisioner.class.php
[edit]
[-] unitecreator_helper.class.php
[edit]
[-] unitecreator_helperhtml.class.php
[edit]
[-] unitecreator_category.class.php
[edit]
[-] unitecreator_dialog_param.class.php
[edit]