forked from joomla/Component-Builder
Updated the readme file.
This commit is contained in:
parent
c9150e930d
commit
ee2fea1db8
README.md
admin
assets/css
admin.cssadmin_view.cssadmin_views.csscomponent.csscomponents.csscustom_admin_view.csscustom_admin_views.cssdashboard.cssdynamic_get.cssdynamic_gets.cssfield.cssfields.cssfieldtype.cssfieldtypes.csshelp_document.csshelp_documents.csslayout.csslayouts.csssite_view.csssite_views.csssnippet.csssnippets.csstemplate.csstemplates.css
compiler/joomla_3
componentbuilder.phpcontroller.phpcontrollers
admin_view.phpadmin_views.phpajax.json.phpcompiler.phpcomponent.phpcomponentbuilder.phpcomponents.phpcustom_admin_view.phpcustom_admin_views.phpdynamic_get.phpdynamic_gets.phpfield.phpfields.phpfieldtype.phpfieldtypes.phphelp.phphelp_document.phphelp_documents.phpimport.phplayout.phplayouts.phpsite_view.phpsite_views.phpsnippet.phpsnippets.phptemplate.phptemplates.php
helpers
layouts
admin_view
css_fullwidth.phpcustom_import_fullwidth.phpfields_fullwidth.phpjavascript_fullwidth.phpmysql_fullwidth.phpmysql_left.phpphp_fullwidth.phppublishing.phppubllshing.phpsettings_above.phpsettings_left.phpsettings_right.phpsettings_under.php
batchselection.phpcomponent
admin_views_fullwidth.phpdetails_above.phpdetails_left.phpdetails_right.phpdetails_under.phpftp_servers_fullwidth.phppublishing.phppubllshing.phpreadme_left.phpreadme_right.phpscripts_fullwidth.phpsettings_left.phpsettings_right.phpsite_views_fullwidth.php
custom_admin_view
35
README.md
35
README.md
@ -6,7 +6,7 @@ This is a [Joomla 3.x] (http://www.joomla.org/) component.
|
|||||||
|
|
||||||
The Component Builder for Joomla that is highly advanced, truly able to build extremely complex components in a fraction of the time.
|
The Component Builder for Joomla that is highly advanced, truly able to build extremely complex components in a fraction of the time.
|
||||||
|
|
||||||
> **You can purchase Component Builder with the following components as demo setup inside Component Builder:**
|
> **You can purchase demo content inside Component Builder:**
|
||||||
|
|
||||||
+ **Development Version** ([get this demo set](https://www.vdm.io/joomla-component-builder))
|
+ **Development Version** ([get this demo set](https://www.vdm.io/joomla-component-builder))
|
||||||
|
|
||||||
@ -22,9 +22,9 @@ The Component Builder for Joomla that is highly advanced, truly able to build ex
|
|||||||
|
|
||||||
*Training & Help Videos* tutorials in the component included.
|
*Training & Help Videos* tutorials in the component included.
|
||||||
|
|
||||||
# Extra Support
|
# gitHub Support
|
||||||
|
|
||||||
Would you require more help VDM.io has a number of support plans available [visit us today!](https://www.vdm.io/joomla-component-builder).
|
Would you require more help please open and issue here on [gitHub today!](https://github.com/vdm-io/Joomla-Component-Builder/issues).
|
||||||
|
|
||||||
# Build Details
|
# Build Details
|
||||||
|
|
||||||
@ -32,38 +32,13 @@ Would you require more help VDM.io has a number of support plans available [visi
|
|||||||
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
|
||||||
+ *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder)
|
+ *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 7th May, 2016
|
+ *Last Build*: 10th May, 2016
|
||||||
+ *Version*: 2.1.8
|
+ *Version*: 2.1.8
|
||||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
+ *Line count*: **82496**
|
||||||
## Build Time
|
|
||||||
|
|
||||||
**230 Hours** or **29 Eight Hour Days** (actual time the author saved -
|
|
||||||
due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builder))
|
|
||||||
|
|
||||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
|
||||||
> never making one mistake or taking any coffee break.)
|
|
||||||
|
|
||||||
+ *Line count*: **82516**
|
|
||||||
+ *File count*: **501**
|
+ *File count*: **501**
|
||||||
+ *Folder count*: **98**
|
+ *Folder count*: **98**
|
||||||
|
|
||||||
**152 Hours** or **19 Eight Hour Days** (the actual time the author spent)
|
|
||||||
|
|
||||||
> (with the following break down:
|
|
||||||
> **debugging @58hours** = codingtime / 4;
|
|
||||||
> **planning @33hours** = codingtime / 7;
|
|
||||||
> **mapping @23hours** = codingtime / 10;
|
|
||||||
> **office @38hours** = codingtime / 6;)
|
|
||||||
|
|
||||||
**382 Hours** or **48 Eight Hour Days**
|
|
||||||
(a total of the realistic time frame for this project)
|
|
||||||
|
|
||||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
|
||||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
|
||||||
|
|
||||||
Project duration: **9.6 weeks** or **2 months**
|
|
||||||
|
|
||||||
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).
|
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).
|
||||||
> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)
|
> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin.css
|
@subpackage admin.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_view.css
|
@subpackage admin_view.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_views.css
|
@subpackage admin_views.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage component.css
|
@subpackage component.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage components.css
|
@subpackage components.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_admin_view.css
|
@subpackage custom_admin_view.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_admin_views.css
|
@subpackage custom_admin_views.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dashboard.css
|
@subpackage dashboard.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dynamic_get.css
|
@subpackage dynamic_get.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dynamic_gets.css
|
@subpackage dynamic_gets.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage field.css
|
@subpackage field.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fields.css
|
@subpackage fields.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fieldtype.css
|
@subpackage fieldtype.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fieldtypes.css
|
@subpackage fieldtypes.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help_document.css
|
@subpackage help_document.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help_documents.css
|
@subpackage help_documents.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage layout.css
|
@subpackage layout.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage layouts.css
|
@subpackage layouts.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_view.css
|
@subpackage site_view.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_views.css
|
@subpackage site_views.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage snippet.css
|
@subpackage snippet.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage snippets.css
|
@subpackage snippets.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage template.css
|
@subpackage template.css
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage templates.css
|
@subpackage templates.css
|
||||||
|
@ -162,31 +162,33 @@ abstract class ###Component###Helper
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function jsonToString($value, $sperator = ", ")
|
public static function jsonToString($value, $sperator = ", ", $table = null)
|
||||||
{
|
{
|
||||||
// check if string is JSON
|
// check if string is JSON
|
||||||
$result = json_decode($value, true);
|
$result = json_decode($value, true);
|
||||||
if (json_last_error() === JSON_ERROR_NONE) {
|
if (json_last_error() === JSON_ERROR_NONE)
|
||||||
// is JSON
|
{
|
||||||
|
// is JSON
|
||||||
if (self::checkArray($result))
|
if (self::checkArray($result))
|
||||||
{
|
{
|
||||||
$value = '';
|
if (self::checkString($table))
|
||||||
$counter = 0;
|
|
||||||
foreach ($result as $string)
|
|
||||||
{
|
{
|
||||||
if ($counter)
|
$names = array();
|
||||||
|
foreach ($result as $val)
|
||||||
{
|
{
|
||||||
$value .= $sperator.$string;
|
if ($name = self::getVar($table, $val, 'id', 'name'))
|
||||||
|
{
|
||||||
|
$names[] = $name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
if (self::checkArray($names))
|
||||||
{
|
{
|
||||||
$value .= $string;
|
return (string) implode($sperator,$names);
|
||||||
}
|
}
|
||||||
$counter++;
|
|
||||||
}
|
}
|
||||||
return $value;
|
return (string) implode($sperator,$result);
|
||||||
}
|
}
|
||||||
return json_decode($value);
|
return (string) json_decode($value);
|
||||||
}
|
}
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
@ -34,34 +34,37 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
*/
|
*/
|
||||||
abstract class ###Component###Helper
|
abstract class ###Component###Helper
|
||||||
{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT###
|
{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT###
|
||||||
|
|
||||||
public static function jsonToString($value)
|
public static function jsonToString($value, $sperator = ", ", $table = null)
|
||||||
{
|
{
|
||||||
// check if string is JSON
|
// check if string is JSON
|
||||||
$result = json_decode($value, true);
|
$result = json_decode($value, true);
|
||||||
if (json_last_error() === JSON_ERROR_NONE) {
|
if (json_last_error() === JSON_ERROR_NONE)
|
||||||
|
{
|
||||||
// is JSON
|
// is JSON
|
||||||
if (self::checkArray($result))
|
if (self::checkArray($result))
|
||||||
|
{
|
||||||
|
if (self::checkString($table))
|
||||||
{
|
{
|
||||||
$value = '';
|
$names = array();
|
||||||
$counter = 0;
|
foreach ($result as $val)
|
||||||
foreach ($result as $string)
|
|
||||||
{
|
{
|
||||||
if ($counter)
|
if ($name = self::getVar($table, $val, 'id', 'name'))
|
||||||
{
|
{
|
||||||
$value .= ", ".$string;
|
$names[] = $name;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
$value .= $string;
|
|
||||||
}
|
|
||||||
$counter++;
|
|
||||||
}
|
}
|
||||||
|
if (self::checkArray($names))
|
||||||
|
{
|
||||||
|
return (string) implode($sperator,$names);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return json_decode($value);
|
return (string) implode($sperator,$result);
|
||||||
}
|
}
|
||||||
return $value;
|
return (string) json_decode($value);
|
||||||
}
|
}
|
||||||
|
return $value;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load the Component xml manifest.
|
* Load the Component xml manifest.
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage componentbuilder.php
|
@subpackage componentbuilder.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage controller.php
|
@subpackage controller.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_view.php
|
@subpackage admin_view.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_views.php
|
@subpackage admin_views.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage ajax.json.php
|
@subpackage ajax.json.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage compiler.php
|
@subpackage compiler.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage component.php
|
@subpackage component.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage componentbuilder.php
|
@subpackage componentbuilder.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage components.php
|
@subpackage components.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_admin_view.php
|
@subpackage custom_admin_view.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_admin_views.php
|
@subpackage custom_admin_views.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dynamic_get.php
|
@subpackage dynamic_get.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dynamic_gets.php
|
@subpackage dynamic_gets.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage field.php
|
@subpackage field.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fields.php
|
@subpackage fields.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fieldtype.php
|
@subpackage fieldtype.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fieldtypes.php
|
@subpackage fieldtypes.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help.php
|
@subpackage help.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help_document.php
|
@subpackage help_document.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help_documents.php
|
@subpackage help_documents.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage import.php
|
@subpackage import.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage layout.php
|
@subpackage layout.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage layouts.php
|
@subpackage layouts.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_view.php
|
@subpackage site_view.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_views.php
|
@subpackage site_views.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage snippet.php
|
@subpackage snippet.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage snippets.php
|
@subpackage snippets.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage template.php
|
@subpackage template.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage templates.php
|
@subpackage templates.php
|
||||||
|
@ -1101,7 +1101,7 @@ class Get
|
|||||||
}
|
}
|
||||||
|
|
||||||
// add_Ajax for this view
|
// add_Ajax for this view
|
||||||
if ($view->add_php_ajax == 1)
|
if (isset($view->add_php_ajax) && $view->add_php_ajax == 1)
|
||||||
{
|
{
|
||||||
$addAjaxSite = false;
|
$addAjaxSite = false;
|
||||||
if (isset($this->siteEditView[$id]) && $this->siteEditView[$id])
|
if (isset($this->siteEditView[$id]) && $this->siteEditView[$id])
|
||||||
@ -1128,16 +1128,20 @@ class Get
|
|||||||
$this->customScriptBuilder['admin']['ajax_controller'][$name_single][$nr][$option] = $value;
|
$this->customScriptBuilder['admin']['ajax_controller'][$name_single][$nr][$option] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$this->addAjax = true;
|
||||||
|
unset($view->ajax_input);
|
||||||
|
}
|
||||||
|
if (ComponentbuilderHelper::checkString($view->php_ajaxmethod))
|
||||||
|
{
|
||||||
if ($addAjaxSite)
|
if ($addAjaxSite)
|
||||||
{
|
{
|
||||||
$this->customScriptBuilder['site']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
$this->customScriptBuilder['site']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
||||||
}
|
}
|
||||||
$this->customScriptBuilder['admin']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
$this->customScriptBuilder['admin']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
||||||
|
// unset anyway
|
||||||
|
unset($view->php_ajaxmethod);
|
||||||
$this->addAjax = true;
|
$this->addAjax = true;
|
||||||
unset($view->ajax_input);
|
|
||||||
}
|
}
|
||||||
// unset anyway
|
|
||||||
unset($view->php_ajaxmethod);
|
|
||||||
}
|
}
|
||||||
// add_sql
|
// add_sql
|
||||||
if ($view->add_sql == 1)
|
if ($view->add_sql == 1)
|
||||||
@ -1303,10 +1307,15 @@ class Get
|
|||||||
$this->customScriptBuilder[$this->target]['ajax_controller'][$view->code][$nr][$option] = $value;
|
$this->customScriptBuilder[$this->target]['ajax_controller'][$view->code][$nr][$option] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->customScriptBuilder[$this->target]['ajax_model'][$view->code] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
|
||||||
$this->addSiteAjax = true;
|
$this->addSiteAjax = true;
|
||||||
unset($view->ajax_input);
|
unset($view->ajax_input);
|
||||||
}
|
}
|
||||||
|
if (ComponentbuilderHelper::checkString($view->php_ajaxmethod))
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->customScriptBuilder[$this->target]['ajax_model'][$view->code] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
||||||
|
$this->addSiteAjax = true;
|
||||||
|
}
|
||||||
// unset anyway
|
// unset anyway
|
||||||
unset($view->php_ajaxmethod);
|
unset($view->php_ajaxmethod);
|
||||||
}
|
}
|
||||||
|
@ -1413,6 +1413,7 @@ class Fields extends Structure
|
|||||||
'link' => ($field['link']) ? true : false,
|
'link' => ($field['link']) ? true : false,
|
||||||
'sort' => ($field['sort']) ? true : false,
|
'sort' => ($field['sort']) ? true : false,
|
||||||
'custom' => $custom,
|
'custom' => $custom,
|
||||||
|
'multiple' => $multiple,
|
||||||
'options' => $options);
|
'options' => $options);
|
||||||
|
|
||||||
$this->customBuilderList[$listViewName][] = $name;
|
$this->customBuilderList[$listViewName][] = $name;
|
||||||
|
@ -5065,7 +5065,10 @@ class Interpretation extends Fields
|
|||||||
if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']))
|
if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']))
|
||||||
{
|
{
|
||||||
$item['id'] = $item['code'];
|
$item['id'] = $item['code'];
|
||||||
$item['code'] = $item['code'].'_'.$item['custom']['text'];
|
if (!$item['multiple'])
|
||||||
|
{
|
||||||
|
$item['code'] = $item['code'].'_'.$item['custom']['text'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// check if translated vlaue is used
|
// check if translated vlaue is used
|
||||||
if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list])
|
if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list])
|
||||||
@ -6019,7 +6022,10 @@ class Interpretation extends Fields
|
|||||||
if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']))
|
if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']))
|
||||||
{
|
{
|
||||||
$item['id'] = $item['code'];
|
$item['id'] = $item['code'];
|
||||||
$item['code'] = $item['code'].'_'.$item['custom']['text'];
|
if (!$item['multiple'])
|
||||||
|
{
|
||||||
|
$item['code'] = $item['code'].'_'.$item['custom']['text'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// check if translated vlaue is used
|
// check if translated vlaue is used
|
||||||
if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list])
|
if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list])
|
||||||
@ -10327,11 +10333,17 @@ class Interpretation extends Fields
|
|||||||
$fix .= "\n\t".$tab."\t\t\t\t}";
|
$fix .= "\n\t".$tab."\t\t\t\t}";
|
||||||
$fix .= "\n\t".$tab."\t\t\t}";
|
$fix .= "\n\t".$tab."\t\t\t}";
|
||||||
}
|
}
|
||||||
|
elseif ($item['method'] == 1 && !$export)
|
||||||
|
{
|
||||||
|
// TODO we check if this works well.
|
||||||
|
$fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$item['name'];
|
||||||
|
$fix .= "\n\t".$tab."\t\t\t\$item->".$item['name']." = ".$Component."Helper::jsonToString(\$item->".$item['name'].", ', ', '".$item['name']."');";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!$export)
|
if (!$export)
|
||||||
{
|
{
|
||||||
// TODO we must add options for multi custom selection.
|
// For thos we have not cached yet.
|
||||||
$fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$item['name'];
|
$fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$item['name'];
|
||||||
$fix .= "\n\t".$tab."\t\t\t\$item->".$item['name']." = ".$Component."Helper::jsonToString(\$item->".$item['name'].");";
|
$fix .= "\n\t".$tab."\t\t\t\$item->".$item['name']." = ".$Component."Helper::jsonToString(\$item->".$item['name'].");";
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage componentbuilder.php
|
@subpackage componentbuilder.php
|
||||||
@ -710,31 +710,33 @@ abstract class ComponentbuilderHelper
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function jsonToString($value, $sperator = ", ")
|
public static function jsonToString($value, $sperator = ", ", $table = null)
|
||||||
{
|
{
|
||||||
// check if string is JSON
|
// check if string is JSON
|
||||||
$result = json_decode($value, true);
|
$result = json_decode($value, true);
|
||||||
if (json_last_error() === JSON_ERROR_NONE) {
|
if (json_last_error() === JSON_ERROR_NONE)
|
||||||
// is JSON
|
{
|
||||||
|
// is JSON
|
||||||
if (self::checkArray($result))
|
if (self::checkArray($result))
|
||||||
{
|
{
|
||||||
$value = '';
|
if (self::checkString($table))
|
||||||
$counter = 0;
|
|
||||||
foreach ($result as $string)
|
|
||||||
{
|
{
|
||||||
if ($counter)
|
$names = array();
|
||||||
|
foreach ($result as $val)
|
||||||
{
|
{
|
||||||
$value .= $sperator.$string;
|
if ($name = self::getVar($table, $val, 'id', 'name'))
|
||||||
|
{
|
||||||
|
$names[] = $name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
if (self::checkArray($names))
|
||||||
{
|
{
|
||||||
$value .= $string;
|
return (string) implode($sperator,$names);
|
||||||
}
|
}
|
||||||
$counter++;
|
|
||||||
}
|
}
|
||||||
return $value;
|
return (string) implode($sperator,$result);
|
||||||
}
|
}
|
||||||
return json_decode($value);
|
return (string) json_decode($value);
|
||||||
}
|
}
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage batch_.php
|
@subpackage batch_.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage indenter.php
|
@subpackage indenter.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage js.php
|
@subpackage js.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage minify.php
|
@subpackage minify.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage css_fullwidth.php
|
@subpackage css_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_import_fullwidth.php
|
@subpackage custom_import_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fields_fullwidth.php
|
@subpackage fields_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage javascript_fullwidth.php
|
@subpackage javascript_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage mysql_fullwidth.php
|
@subpackage mysql_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage mysql_left.php
|
@subpackage mysql_left.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage php_fullwidth.php
|
@subpackage php_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage publishing.php
|
@subpackage publishing.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage publlshing.php
|
@subpackage publlshing.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage settings_above.php
|
@subpackage settings_above.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage settings_left.php
|
@subpackage settings_left.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage settings_right.php
|
@subpackage settings_right.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage settings_under.php
|
@subpackage settings_under.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage batchselection.php
|
@subpackage batchselection.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_views_fullwidth.php
|
@subpackage admin_views_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_above.php
|
@subpackage details_above.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_left.php
|
@subpackage details_left.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_right.php
|
@subpackage details_right.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_under.php
|
@subpackage details_under.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage ftp_servers_fullwidth.php
|
@subpackage ftp_servers_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage publishing.php
|
@subpackage publishing.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage publlshing.php
|
@subpackage publlshing.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage readme_left.php
|
@subpackage readme_left.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage readme_right.php
|
@subpackage readme_right.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage scripts_fullwidth.php
|
@subpackage scripts_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage settings_left.php
|
@subpackage settings_left.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage settings_right.php
|
@subpackage settings_right.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_views_fullwidth.php
|
@subpackage site_views_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_buttons_fullwidth.php
|
@subpackage custom_buttons_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_buttons_left.php
|
@subpackage custom_buttons_left.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_script_fullwidth.php
|
@subpackage custom_script_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_above.php
|
@subpackage details_above.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_fullwidth.php
|
@subpackage details_fullwidth.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_left.php
|
@subpackage details_left.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_right.php
|
@subpackage details_right.php
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.8
|
||||||
@build 7th May, 2016
|
@build 10th May, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage details_rightside.php
|
@subpackage details_rightside.php
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user