Fixed gh-75 to insure the column names are loaded as before. Fix gh-76 by adding more checks to insure that the correct date is used in the getLastModifiedDate method.
This commit is contained in:
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage ajax.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage componentbuilder.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 81 of this MVC
|
||||
@build 15th January, 2017
|
||||
@version @update number 84 of this MVC
|
||||
@build 4th May, 2017
|
||||
@created 21st May, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamic_get.php
|
||||
@ -95,30 +95,36 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
|
||||
$item->metadata = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->php_after_getitem))
|
||||
{
|
||||
// base64 Decode php_after_getitem.
|
||||
$item->php_after_getitem = base64_decode($item->php_after_getitem);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_getitems))
|
||||
{
|
||||
// base64 Decode php_before_getitems.
|
||||
$item->php_before_getitems = base64_decode($item->php_before_getitems);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_getitem))
|
||||
{
|
||||
// base64 Decode php_before_getitem.
|
||||
$item->php_before_getitem = base64_decode($item->php_before_getitem);
|
||||
}
|
||||
|
||||
if (!empty($item->php_custom_get))
|
||||
{
|
||||
// base64 Decode php_custom_get.
|
||||
$item->php_custom_get = base64_decode($item->php_custom_get);
|
||||
}
|
||||
|
||||
if (!empty($item->php_after_getitem))
|
||||
{
|
||||
// base64 Decode php_after_getitem.
|
||||
$item->php_after_getitem = base64_decode($item->php_after_getitem);
|
||||
}
|
||||
|
||||
if (!empty($item->php_getlistquery))
|
||||
{
|
||||
// base64 Decode php_getlistquery.
|
||||
$item->php_getlistquery = base64_decode($item->php_getlistquery);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_getitems))
|
||||
{
|
||||
// base64 Decode php_before_getitems.
|
||||
$item->php_before_getitems = base64_decode($item->php_before_getitems);
|
||||
}
|
||||
|
||||
if (!empty($item->php_after_getitems))
|
||||
{
|
||||
// base64 Decode php_after_getitems.
|
||||
@ -129,12 +135,6 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
|
||||
{
|
||||
// base64 Decode php_calculation.
|
||||
$item->php_calculation = base64_decode($item->php_calculation);
|
||||
}
|
||||
|
||||
if (!empty($item->php_custom_get))
|
||||
{
|
||||
// base64 Decode php_custom_get.
|
||||
$item->php_custom_get = base64_decode($item->php_custom_get);
|
||||
}
|
||||
|
||||
if (!empty($item->id))
|
||||
@ -860,30 +860,36 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
|
||||
$data['metadata'] = (string) $metadata;
|
||||
}
|
||||
|
||||
// Set the php_after_getitem string to base64 string.
|
||||
if (isset($data['php_after_getitem']))
|
||||
{
|
||||
$data['php_after_getitem'] = base64_encode($data['php_after_getitem']);
|
||||
}
|
||||
|
||||
// Set the php_before_getitems string to base64 string.
|
||||
if (isset($data['php_before_getitems']))
|
||||
{
|
||||
$data['php_before_getitems'] = base64_encode($data['php_before_getitems']);
|
||||
}
|
||||
|
||||
// Set the php_before_getitem string to base64 string.
|
||||
if (isset($data['php_before_getitem']))
|
||||
{
|
||||
$data['php_before_getitem'] = base64_encode($data['php_before_getitem']);
|
||||
}
|
||||
|
||||
// Set the php_custom_get string to base64 string.
|
||||
if (isset($data['php_custom_get']))
|
||||
{
|
||||
$data['php_custom_get'] = base64_encode($data['php_custom_get']);
|
||||
}
|
||||
|
||||
// Set the php_after_getitem string to base64 string.
|
||||
if (isset($data['php_after_getitem']))
|
||||
{
|
||||
$data['php_after_getitem'] = base64_encode($data['php_after_getitem']);
|
||||
}
|
||||
|
||||
// Set the php_getlistquery string to base64 string.
|
||||
if (isset($data['php_getlistquery']))
|
||||
{
|
||||
$data['php_getlistquery'] = base64_encode($data['php_getlistquery']);
|
||||
}
|
||||
|
||||
// Set the php_before_getitems string to base64 string.
|
||||
if (isset($data['php_before_getitems']))
|
||||
{
|
||||
$data['php_before_getitems'] = base64_encode($data['php_before_getitems']);
|
||||
}
|
||||
|
||||
// Set the php_after_getitems string to base64 string.
|
||||
if (isset($data['php_after_getitems']))
|
||||
{
|
||||
@ -894,12 +900,6 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
|
||||
if (isset($data['php_calculation']))
|
||||
{
|
||||
$data['php_calculation'] = base64_encode($data['php_calculation']);
|
||||
}
|
||||
|
||||
// Set the php_custom_get string to base64 string.
|
||||
if (isset($data['php_custom_get']))
|
||||
{
|
||||
$data['php_custom_get'] = base64_encode($data['php_custom_get']);
|
||||
}
|
||||
|
||||
// Set the Params Items to data
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 81 of this MVC
|
||||
@build 15th January, 2017
|
||||
@version @update number 84 of this MVC
|
||||
@build 4th May, 2017
|
||||
@created 21st May, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamic_gets.php
|
||||
@ -321,20 +321,20 @@ class ComponentbuilderModelDynamic_gets extends JModelList
|
||||
continue;
|
||||
}
|
||||
|
||||
// decode php_after_getitem
|
||||
$item->php_after_getitem = base64_decode($item->php_after_getitem);
|
||||
// decode php_before_getitems
|
||||
$item->php_before_getitems = base64_decode($item->php_before_getitems);
|
||||
// decode php_before_getitem
|
||||
$item->php_before_getitem = base64_decode($item->php_before_getitem);
|
||||
// decode php_custom_get
|
||||
$item->php_custom_get = base64_decode($item->php_custom_get);
|
||||
// decode php_after_getitem
|
||||
$item->php_after_getitem = base64_decode($item->php_after_getitem);
|
||||
// decode php_getlistquery
|
||||
$item->php_getlistquery = base64_decode($item->php_getlistquery);
|
||||
// decode php_before_getitems
|
||||
$item->php_before_getitems = base64_decode($item->php_before_getitems);
|
||||
// decode php_after_getitems
|
||||
$item->php_after_getitems = base64_decode($item->php_after_getitems);
|
||||
// decode php_calculation
|
||||
$item->php_calculation = base64_decode($item->php_calculation);
|
||||
// decode php_custom_get
|
||||
$item->php_custom_get = base64_decode($item->php_custom_get);
|
||||
// unset the values we don't want exported.
|
||||
unset($item->asset_id);
|
||||
unset($item->checked_out);
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage adminviewfolderlist.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage adminviews.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage articles.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage component.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage components.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage customadminviews.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage customfilelist.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage customfolderlist.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage customgets.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dbtables.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamicget.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamicgets.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fields.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fieldsmulti.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fieldtypes.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage lang.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage maingets.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage siteviewfolderlist.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage siteviews.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage snippets.php
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 81 of this MVC
|
||||
@build 15th January, 2017
|
||||
@version @update number 84 of this MVC
|
||||
@build 4th May, 2017
|
||||
@created 21st May, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamic_get.js
|
||||
@ -1352,7 +1352,7 @@ function loadSelectionData(result,type,key,main)
|
||||
}
|
||||
else
|
||||
{
|
||||
var textArea = 'textarea#jform_join_'+type+'_table_fields_selection-'+key;
|
||||
var textArea = 'textarea#'+key+'-jform_join_'+type+'_table_fields_selection';
|
||||
}
|
||||
// no update the text area
|
||||
if (result)
|
||||
|
@ -147,30 +147,13 @@
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOMS</option>
|
||||
</field>
|
||||
<!-- Getcustom Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="getcustom"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="WORD"
|
||||
message="Error! Please add method name here."
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_HINT"
|
||||
/>
|
||||
<!-- Pagination Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_before_getitem Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="pagination"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_DESCRIPTION"
|
||||
name="add_php_before_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
@ -178,118 +161,20 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Php_after_getitem Field. Type: Textarea. (joomla) -->
|
||||
<!-- Add_php_after_getitems Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_after_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_calculation_item Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_calculation_item" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEM_DESCRIPTION" class="note_calculation_item" />
|
||||
<!-- Php_before_getitems Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_before_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_before_getitem Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_before_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- View_table_main Field. Type: Adminviews. (custom) -->
|
||||
<field
|
||||
type="adminviews"
|
||||
name="view_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_getlistquery Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_getlistquery"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- View_selection Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="view_selection"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_LABEL"
|
||||
rows="22"
|
||||
cols="30"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_after_getitems Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_after_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Db_table_main Field. Type: Dbtables. (custom) -->
|
||||
<field
|
||||
type="dbtables"
|
||||
name="db_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_calculation Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_calculation"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
type="radio"
|
||||
name="add_php_after_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEMS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Db_selection Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -303,11 +188,11 @@
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_before_getitem Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_before_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEM_LABEL"
|
||||
name="add_php_getlistquery"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_GETLISTQUERY_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -576,20 +461,15 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Add_php_after_getitem Field. Type: Radio. (joomla) -->
|
||||
<!-- View_table_main Field. Type: Adminviews. (custom) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_after_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
type="adminviews"
|
||||
name="view_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Join_db_table Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -850,11 +730,11 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_after_getitem Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getlistquery"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_GETLISTQUERY_LABEL"
|
||||
name="add_php_after_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -1079,20 +959,16 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Add_php_after_getitems Field. Type: Radio. (joomla) -->
|
||||
<!-- Db_table_main Field. Type: Dbtables. (custom) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_after_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEMS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
type="dbtables"
|
||||
name="db_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Order Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -1140,21 +1016,12 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Addcalculation Field. Type: Radio. (joomla) -->
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addcalculation"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Global Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -1332,8 +1199,19 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Note_calculation_items Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_calculation_items" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEMS_DESCRIPTION" class="note_calculation_items" />
|
||||
<!-- Php_before_getitem Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_before_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_custom_get Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -1347,11 +1225,133 @@
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<!-- Php_after_getitem Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
type="textarea"
|
||||
name="php_after_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- View_selection Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="view_selection"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_LABEL"
|
||||
rows="22"
|
||||
cols="30"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_getlistquery Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_getlistquery"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Addcalculation Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addcalculation"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Php_before_getitems Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_before_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_calculation_items Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_calculation_items" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEMS_DESCRIPTION" class="note_calculation_items" />
|
||||
<!-- Php_after_getitems Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_after_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Getcustom Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="getcustom"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="WORD"
|
||||
message="Error! Please add method name here."
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_HINT"
|
||||
/>
|
||||
<!-- Note_calculation_item Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_calculation_item" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEM_DESCRIPTION" class="note_calculation_item" />
|
||||
<!-- Pagination Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="pagination"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Php_calculation Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_calculation"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage import.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.4.4
|
||||
@build 26th April, 2017
|
||||
@version 2.4.5
|
||||
@build 4th May, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage import_joomla_components.php
|
||||
|
Reference in New Issue
Block a user