Added the option to set the row_format per table in the admin view. Converted all the JCB tables to have a DYNAMIC row format. Fixed gh-369 so that JCB packages like JMM can be imported.
This commit is contained in:
parent
02de1edb54
commit
3abae0494e
12
README.md
12
README.md
@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
|||||||
|
|
||||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
|
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
|
||||||
|
|
||||||
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.8) with **ALL** its features and **ALL** concepts totally open-source and free!
|
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.9) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||||
|
|
||||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||||
|
|
||||||
@ -144,13 +144,13 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 23rd January, 2019
|
+ *Last Build*: 26th January, 2019
|
||||||
+ *Version*: 2.9.8
|
+ *Version*: 2.9.9
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **194592**
|
+ *Line count*: **194678**
|
||||||
+ *Field count*: **1087**
|
+ *Field count*: **1088**
|
||||||
+ *File count*: **1275**
|
+ *File count*: **1276**
|
||||||
+ *Folder count*: **201**
|
+ *Folder count*: **201**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||||
|
@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
|||||||
|
|
||||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
|
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
|
||||||
|
|
||||||
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.8) with **ALL** its features and **ALL** concepts totally open-source and free!
|
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.9) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||||
|
|
||||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||||
|
|
||||||
@ -144,13 +144,13 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 23rd January, 2019
|
+ *Last Build*: 26th January, 2019
|
||||||
+ *Version*: 2.9.8
|
+ *Version*: 2.9.9
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **194592**
|
+ *Line count*: **194678**
|
||||||
+ *Field count*: **1087**
|
+ *Field count*: **1088**
|
||||||
+ *File count*: **1275**
|
+ *File count*: **1276**
|
||||||
+ *Folder count*: **201**
|
+ *Folder count*: **201**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||||
|
@ -718,7 +718,8 @@ class Get
|
|||||||
public $mysqlTableKeys = array(
|
public $mysqlTableKeys = array(
|
||||||
'engine' => array('default' => 'MyISAM'),
|
'engine' => array('default' => 'MyISAM'),
|
||||||
'charset' => array('default' => 'utf8'),
|
'charset' => array('default' => 'utf8'),
|
||||||
'collate' => array('default' => 'utf8_general_ci')
|
'collate' => array('default' => 'utf8_general_ci'),
|
||||||
|
'row_format' => array('default' => '')
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -6360,7 +6360,13 @@ class Interpretation extends Fields
|
|||||||
$easy[$_mysqlTableKey] = $this->mysqlTableKeys[$_mysqlTableKey]['default'];
|
$easy[$_mysqlTableKey] = $this->mysqlTableKeys[$_mysqlTableKey]['default'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$db_ .= PHP_EOL . ") ENGINE=" . $easy['engine'] . " AUTO_INCREMENT=0 DEFAULT CHARSET=" . $easy['charset'] . " DEFAULT COLLATE=" . $easy['collate'] . ";";
|
// add a little fix for the row_format
|
||||||
|
if (ComponentbuilderHelper::checkString($easy['row_format']))
|
||||||
|
{
|
||||||
|
$easy['row_format'] = ' ROW_FORMAT=' . $easy['row_format'];
|
||||||
|
}
|
||||||
|
// now build db string
|
||||||
|
$db_ .= PHP_EOL . ") ENGINE=" . $easy['engine'] . " AUTO_INCREMENT=0 DEFAULT CHARSET=" . $easy['charset'] . " DEFAULT COLLATE=" . $easy['collate'] . $easy['row_format'] . ";";
|
||||||
|
|
||||||
// check if this is a new table that should be added via update SQL
|
// check if this is a new table that should be added via update SQL
|
||||||
if (isset($this->addSQL['adminview']) && ComponentbuilderHelper::checkArray($this->addSQL['adminview']) && in_array($view, $this->addSQL['adminview']))
|
if (isset($this->addSQL['adminview']) && ComponentbuilderHelper::checkArray($this->addSQL['adminview']) && in_array($view, $this->addSQL['adminview']))
|
||||||
@ -6368,6 +6374,12 @@ class Interpretation extends Fields
|
|||||||
// build the update array
|
// build the update array
|
||||||
$this->updateSQLBuilder["CREATETABLEIFNOTEXISTS`#__" . $component . "_" . $view . "`"] = $db_;
|
$this->updateSQLBuilder["CREATETABLEIFNOTEXISTS`#__" . $component . "_" . $view . "`"] = $db_;
|
||||||
}
|
}
|
||||||
|
// check if the table row_format has changed
|
||||||
|
if (ComponentbuilderHelper::checkString($easy['row_format']) && isset($this->updateSQL['table_row_format']) && isset($this->updateSQL['table_row_format'][$view]))
|
||||||
|
{
|
||||||
|
// build the update array
|
||||||
|
$this->updateSQLBuilder["ALTERTABLE`#__" . $component . "_" . $view . "`" . trim($easy['row_format'])] = "ALTER TABLE `#__" . $component . "_" . $view . "`" . $easy['row_format'] . ";";
|
||||||
|
}
|
||||||
// check if the table engine has changed
|
// check if the table engine has changed
|
||||||
if (isset($this->updateSQL['table_engine']) && isset($this->updateSQL['table_engine'][$view]))
|
if (isset($this->updateSQL['table_engine']) && isset($this->updateSQL['table_engine'][$view]))
|
||||||
{
|
{
|
||||||
|
@ -543,7 +543,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_BUILDER_TYPE="Alias Builder Type"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_BUILDER_TYPE_DESCRIPTION="How should the alias be build for this view"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_BUILDER_TYPE_DESCRIPTION="How should the alias be build for this view"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_BUILDER_TYPE_LABEL="Alias Builder Type"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_BUILDER_TYPE_LABEL="Alias Builder Type"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ALNUM="ALNUM"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ALNUM="ALNUM"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ARCHIVE="ARCHIVE"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ARCHIVE="Archive"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_ARMSCIIEIGHT_ARMENIAN_MOST_SUITABLE_COLLATION_ARMSCIIEIGHT_GENERAL_CI="armscii8 - ARMSCII-8 Armenian (most suitable collation = armscii8_general_ci)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_ARMSCIIEIGHT_ARMENIAN_MOST_SUITABLE_COLLATION_ARMSCIIEIGHT_GENERAL_CI="armscii8 - ARMSCII-8 Armenian (most suitable collation = armscii8_general_ci)"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_BIN_CHARSET_ARMSCIIEIGHT="armscii8_bin (charset = armscii8)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_BIN_CHARSET_ARMSCIIEIGHT="armscii8_bin (charset = armscii8)"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_GENERAL_CI_CHARSET_ARMSCIIEIGHT="armscii8_general_ci (charset = armscii8)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_GENERAL_CI_CHARSET_ARMSCIIEIGHT="armscii8_general_ci (charset = armscii8)"
|
||||||
@ -610,7 +610,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_COG="Cog"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_COGS="Cogs"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COGS="Cogs"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_COMMENT="Comment"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COMMENT="Comment"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_COMMENTS_TWO="Comments 2"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COMMENTS_TWO="Comments 2"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COMPACT="COMPACT"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_COMPASS="Compass"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COMPASS="Compass"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COMPRESSED="COMPRESSED"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CONTRACT="Contract"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CONTRACT="Contract"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CONTRACT_TWO="Contract 2"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CONTRACT_TWO="Contract 2"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CORECREATE="core.create"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CORECREATE="core.create"
|
||||||
@ -685,6 +687,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_LABEL="Description"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_DETAILS="Details"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_DETAILS="Details"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_DOWNLOAD="Download"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_DOWNLOAD="Download"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP="Dump"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP="Dump"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_DYNAMIC="DYNAMIC"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT="Editing the Admin View"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT="Editing the Admin View"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ENTER="Enter"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ENTER="Enter"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ENVELOPE="Envelope"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ENVELOPE="Envelope"
|
||||||
@ -890,6 +893,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_COLLATE_LABEL="mySql Table Collation
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE="Mysql Table Engine"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE="Mysql Table Engine"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE_DESCRIPTION="Select the mySql Table Engine you would like to use for this admin view's table."
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE_DESCRIPTION="Select the mySql Table Engine you would like to use for this admin view's table."
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE_LABEL="mySql Table Engines"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE_LABEL="mySql Table Engines"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ROW_FORMAT="Mysql Table Row Format"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ROW_FORMAT_DESCRIPTION="The row format of a table determines how its rows are physically stored, which in turn can affect the performance of queries and DML operations."
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ROW_FORMAT_LABEL="mySql Table Row Format"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_DESCRIPTION="Enter Name Here"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_DESCRIPTION="Enter Name Here"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_HINT="Name Here"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_HINT="Name Here"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LABEL="Name"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LABEL="Name"
|
||||||
@ -1074,6 +1080,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_RADIO_UNCHECKED="Radio Unchecked"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RAW="RAW"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_RAW="RAW"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY="readonly"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY="readonly"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE="read/write"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE="read/write"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_REDUNDANT="REDUNDANT"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE="Remove"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE="Remove"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_REPLY="Reply"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_REPLY="Reply"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS="Admin View Run Expansion Button Access"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS="Admin View Run Expansion Button Access"
|
||||||
|
@ -18,6 +18,7 @@ $fields = $displayData->get('fields') ?: array(
|
|||||||
'mysql_table_engine',
|
'mysql_table_engine',
|
||||||
'mysql_table_charset',
|
'mysql_table_charset',
|
||||||
'mysql_table_collate',
|
'mysql_table_collate',
|
||||||
|
'mysql_table_row_format',
|
||||||
'add_sql',
|
'add_sql',
|
||||||
'source',
|
'source',
|
||||||
'addtables'
|
'addtables'
|
||||||
|
@ -86,58 +86,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
$item->metadata = $registry->toArray();
|
$item->metadata = $registry->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->php_batchcopy))
|
if (!empty($item->php_import_headers))
|
||||||
{
|
{
|
||||||
// base64 Decode php_batchcopy.
|
// base64 Decode php_import_headers.
|
||||||
$item->php_batchcopy = base64_decode($item->php_batchcopy);
|
$item->php_import_headers = base64_decode($item->php_import_headers);
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_allowadd))
|
|
||||||
{
|
|
||||||
// base64 Decode php_allowadd.
|
|
||||||
$item->php_allowadd = base64_decode($item->php_allowadd);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_save))
|
|
||||||
{
|
|
||||||
// base64 Decode php_save.
|
|
||||||
$item->php_save = base64_decode($item->php_save);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_getform))
|
|
||||||
{
|
|
||||||
// base64 Decode php_getform.
|
|
||||||
$item->php_getform = base64_decode($item->php_getform);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_getitems_after_all))
|
|
||||||
{
|
|
||||||
// base64 Decode php_getitems_after_all.
|
|
||||||
$item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_import_save))
|
|
||||||
{
|
|
||||||
// base64 Decode php_import_save.
|
|
||||||
$item->php_import_save = base64_decode($item->php_import_save);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_document))
|
|
||||||
{
|
|
||||||
// base64 Decode php_document.
|
|
||||||
$item->php_document = base64_decode($item->php_document);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_before_publish))
|
|
||||||
{
|
|
||||||
// base64 Decode php_before_publish.
|
|
||||||
$item->php_before_publish = base64_decode($item->php_before_publish);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_before_delete))
|
|
||||||
{
|
|
||||||
// base64 Decode php_before_delete.
|
|
||||||
$item->php_before_delete = base64_decode($item->php_before_delete);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->html_import_view))
|
if (!empty($item->html_import_view))
|
||||||
@ -146,96 +98,144 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
$item->html_import_view = base64_decode($item->html_import_view);
|
$item->html_import_view = base64_decode($item->html_import_view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_import_save))
|
||||||
|
{
|
||||||
|
// base64 Decode php_import_save.
|
||||||
|
$item->php_import_save = base64_decode($item->php_import_save);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->php_getitems))
|
if (!empty($item->php_getitems))
|
||||||
{
|
{
|
||||||
// base64 Decode php_getitems.
|
// base64 Decode php_getitems.
|
||||||
$item->php_getitems = base64_decode($item->php_getitems);
|
$item->php_getitems = base64_decode($item->php_getitems);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_getitems_after_all))
|
||||||
|
{
|
||||||
|
// base64 Decode php_getitems_after_all.
|
||||||
|
$item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->php_getlistquery))
|
if (!empty($item->php_getlistquery))
|
||||||
{
|
{
|
||||||
// base64 Decode php_getlistquery.
|
// base64 Decode php_getlistquery.
|
||||||
$item->php_getlistquery = base64_decode($item->php_getlistquery);
|
$item->php_getlistquery = base64_decode($item->php_getlistquery);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->php_before_save))
|
|
||||||
{
|
|
||||||
// base64 Decode php_before_save.
|
|
||||||
$item->php_before_save = base64_decode($item->php_before_save);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_postsavehook))
|
|
||||||
{
|
|
||||||
// base64 Decode php_postsavehook.
|
|
||||||
$item->php_postsavehook = base64_decode($item->php_postsavehook);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_allowedit))
|
|
||||||
{
|
|
||||||
// base64 Decode php_allowedit.
|
|
||||||
$item->php_allowedit = base64_decode($item->php_allowedit);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_batchmove))
|
|
||||||
{
|
|
||||||
// base64 Decode php_batchmove.
|
|
||||||
$item->php_batchmove = base64_decode($item->php_batchmove);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_after_publish))
|
|
||||||
{
|
|
||||||
// base64 Decode php_after_publish.
|
|
||||||
$item->php_after_publish = base64_decode($item->php_after_publish);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_after_delete))
|
|
||||||
{
|
|
||||||
// base64 Decode php_after_delete.
|
|
||||||
$item->php_after_delete = base64_decode($item->php_after_delete);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_import_headers))
|
|
||||||
{
|
|
||||||
// base64 Decode php_import_headers.
|
|
||||||
$item->php_import_headers = base64_decode($item->php_import_headers);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->css_view))
|
if (!empty($item->css_view))
|
||||||
{
|
{
|
||||||
// base64 Decode css_view.
|
// base64 Decode css_view.
|
||||||
$item->css_view = base64_decode($item->css_view);
|
$item->css_view = base64_decode($item->css_view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_getform))
|
||||||
|
{
|
||||||
|
// base64 Decode php_getform.
|
||||||
|
$item->php_getform = base64_decode($item->php_getform);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_before_save))
|
||||||
|
{
|
||||||
|
// base64 Decode php_before_save.
|
||||||
|
$item->php_before_save = base64_decode($item->php_before_save);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->css_views))
|
if (!empty($item->css_views))
|
||||||
{
|
{
|
||||||
// base64 Decode css_views.
|
// base64 Decode css_views.
|
||||||
$item->css_views = base64_decode($item->css_views);
|
$item->css_views = base64_decode($item->css_views);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_save))
|
||||||
|
{
|
||||||
|
// base64 Decode php_save.
|
||||||
|
$item->php_save = base64_decode($item->php_save);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_postsavehook))
|
||||||
|
{
|
||||||
|
// base64 Decode php_postsavehook.
|
||||||
|
$item->php_postsavehook = base64_decode($item->php_postsavehook);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->javascript_view_file))
|
if (!empty($item->javascript_view_file))
|
||||||
{
|
{
|
||||||
// base64 Decode javascript_view_file.
|
// base64 Decode javascript_view_file.
|
||||||
$item->javascript_view_file = base64_decode($item->javascript_view_file);
|
$item->javascript_view_file = base64_decode($item->javascript_view_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_allowadd))
|
||||||
|
{
|
||||||
|
// base64 Decode php_allowadd.
|
||||||
|
$item->php_allowadd = base64_decode($item->php_allowadd);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_allowedit))
|
||||||
|
{
|
||||||
|
// base64 Decode php_allowedit.
|
||||||
|
$item->php_allowedit = base64_decode($item->php_allowedit);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->javascript_view_footer))
|
if (!empty($item->javascript_view_footer))
|
||||||
{
|
{
|
||||||
// base64 Decode javascript_view_footer.
|
// base64 Decode javascript_view_footer.
|
||||||
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
|
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_batchcopy))
|
||||||
|
{
|
||||||
|
// base64 Decode php_batchcopy.
|
||||||
|
$item->php_batchcopy = base64_decode($item->php_batchcopy);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_batchmove))
|
||||||
|
{
|
||||||
|
// base64 Decode php_batchmove.
|
||||||
|
$item->php_batchmove = base64_decode($item->php_batchmove);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->javascript_views_file))
|
if (!empty($item->javascript_views_file))
|
||||||
{
|
{
|
||||||
// base64 Decode javascript_views_file.
|
// base64 Decode javascript_views_file.
|
||||||
$item->javascript_views_file = base64_decode($item->javascript_views_file);
|
$item->javascript_views_file = base64_decode($item->javascript_views_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_before_publish))
|
||||||
|
{
|
||||||
|
// base64 Decode php_before_publish.
|
||||||
|
$item->php_before_publish = base64_decode($item->php_before_publish);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_after_publish))
|
||||||
|
{
|
||||||
|
// base64 Decode php_after_publish.
|
||||||
|
$item->php_after_publish = base64_decode($item->php_after_publish);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->javascript_views_footer))
|
if (!empty($item->javascript_views_footer))
|
||||||
{
|
{
|
||||||
// base64 Decode javascript_views_footer.
|
// base64 Decode javascript_views_footer.
|
||||||
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
|
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_before_delete))
|
||||||
|
{
|
||||||
|
// base64 Decode php_before_delete.
|
||||||
|
$item->php_before_delete = base64_decode($item->php_before_delete);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_after_delete))
|
||||||
|
{
|
||||||
|
// base64 Decode php_after_delete.
|
||||||
|
$item->php_after_delete = base64_decode($item->php_after_delete);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_document))
|
||||||
|
{
|
||||||
|
// base64 Decode php_document.
|
||||||
|
$item->php_document = base64_decode($item->php_document);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->php_controller))
|
if (!empty($item->php_controller))
|
||||||
{
|
{
|
||||||
// base64 Decode php_controller.
|
// base64 Decode php_controller.
|
||||||
@ -302,6 +302,14 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
$item->php_import_ext = base64_decode($item->php_import_ext);
|
$item->php_import_ext = base64_decode($item->php_import_ext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->addtables))
|
||||||
|
{
|
||||||
|
// Convert the addtables field to an array.
|
||||||
|
$addtables = new Registry;
|
||||||
|
$addtables->loadString($item->addtables);
|
||||||
|
$item->addtables = $addtables->toArray();
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->addpermissions))
|
if (!empty($item->addpermissions))
|
||||||
{
|
{
|
||||||
// Convert the addpermissions field to an array.
|
// Convert the addpermissions field to an array.
|
||||||
@ -326,14 +334,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
$item->addlinked_views = $addlinked_views->toArray();
|
$item->addlinked_views = $addlinked_views->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->addtables))
|
|
||||||
{
|
|
||||||
// Convert the addtables field to an array.
|
|
||||||
$addtables = new Registry;
|
|
||||||
$addtables->loadString($item->addtables);
|
|
||||||
$item->addtables = $addtables->toArray();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->alias_builder))
|
if (!empty($item->alias_builder))
|
||||||
{
|
{
|
||||||
// Convert the alias_builder field to an array.
|
// Convert the alias_builder field to an array.
|
||||||
@ -1222,6 +1222,19 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
$data['system_name'] = $data['name_single'];
|
$data['system_name'] = $data['name_single'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the addtables items to data.
|
||||||
|
if (isset($data['addtables']) && is_array($data['addtables']))
|
||||||
|
{
|
||||||
|
$addtables = new JRegistry;
|
||||||
|
$addtables->loadArray($data['addtables']);
|
||||||
|
$data['addtables'] = (string) $addtables;
|
||||||
|
}
|
||||||
|
elseif (!isset($data['addtables']))
|
||||||
|
{
|
||||||
|
// Set the empty addtables to data
|
||||||
|
$data['addtables'] = '';
|
||||||
|
}
|
||||||
|
|
||||||
// Set the addpermissions items to data.
|
// Set the addpermissions items to data.
|
||||||
if (isset($data['addpermissions']) && is_array($data['addpermissions']))
|
if (isset($data['addpermissions']) && is_array($data['addpermissions']))
|
||||||
{
|
{
|
||||||
@ -1261,19 +1274,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
$data['addlinked_views'] = '';
|
$data['addlinked_views'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the addtables items to data.
|
|
||||||
if (isset($data['addtables']) && is_array($data['addtables']))
|
|
||||||
{
|
|
||||||
$addtables = new JRegistry;
|
|
||||||
$addtables->loadArray($data['addtables']);
|
|
||||||
$data['addtables'] = (string) $addtables;
|
|
||||||
}
|
|
||||||
elseif (!isset($data['addtables']))
|
|
||||||
{
|
|
||||||
// Set the empty addtables to data
|
|
||||||
$data['addtables'] = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the alias_builder items to data.
|
// Set the alias_builder items to data.
|
||||||
if (isset($data['alias_builder']) && is_array($data['alias_builder']))
|
if (isset($data['alias_builder']) && is_array($data['alias_builder']))
|
||||||
{
|
{
|
||||||
@ -1313,58 +1313,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
$data['ajax_input'] = '';
|
$data['ajax_input'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the php_batchcopy string to base64 string.
|
// Set the php_import_headers string to base64 string.
|
||||||
if (isset($data['php_batchcopy']))
|
if (isset($data['php_import_headers']))
|
||||||
{
|
{
|
||||||
$data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
|
$data['php_import_headers'] = base64_encode($data['php_import_headers']);
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_allowadd string to base64 string.
|
|
||||||
if (isset($data['php_allowadd']))
|
|
||||||
{
|
|
||||||
$data['php_allowadd'] = base64_encode($data['php_allowadd']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_save string to base64 string.
|
|
||||||
if (isset($data['php_save']))
|
|
||||||
{
|
|
||||||
$data['php_save'] = base64_encode($data['php_save']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_getform string to base64 string.
|
|
||||||
if (isset($data['php_getform']))
|
|
||||||
{
|
|
||||||
$data['php_getform'] = base64_encode($data['php_getform']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_getitems_after_all string to base64 string.
|
|
||||||
if (isset($data['php_getitems_after_all']))
|
|
||||||
{
|
|
||||||
$data['php_getitems_after_all'] = base64_encode($data['php_getitems_after_all']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_import_save string to base64 string.
|
|
||||||
if (isset($data['php_import_save']))
|
|
||||||
{
|
|
||||||
$data['php_import_save'] = base64_encode($data['php_import_save']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_document string to base64 string.
|
|
||||||
if (isset($data['php_document']))
|
|
||||||
{
|
|
||||||
$data['php_document'] = base64_encode($data['php_document']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_before_publish string to base64 string.
|
|
||||||
if (isset($data['php_before_publish']))
|
|
||||||
{
|
|
||||||
$data['php_before_publish'] = base64_encode($data['php_before_publish']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_before_delete string to base64 string.
|
|
||||||
if (isset($data['php_before_delete']))
|
|
||||||
{
|
|
||||||
$data['php_before_delete'] = base64_encode($data['php_before_delete']);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the html_import_view string to base64 string.
|
// Set the html_import_view string to base64 string.
|
||||||
@ -1373,96 +1325,144 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
$data['html_import_view'] = base64_encode($data['html_import_view']);
|
$data['html_import_view'] = base64_encode($data['html_import_view']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the php_import_save string to base64 string.
|
||||||
|
if (isset($data['php_import_save']))
|
||||||
|
{
|
||||||
|
$data['php_import_save'] = base64_encode($data['php_import_save']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the php_getitems string to base64 string.
|
// Set the php_getitems string to base64 string.
|
||||||
if (isset($data['php_getitems']))
|
if (isset($data['php_getitems']))
|
||||||
{
|
{
|
||||||
$data['php_getitems'] = base64_encode($data['php_getitems']);
|
$data['php_getitems'] = base64_encode($data['php_getitems']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the php_getitems_after_all string to base64 string.
|
||||||
|
if (isset($data['php_getitems_after_all']))
|
||||||
|
{
|
||||||
|
$data['php_getitems_after_all'] = base64_encode($data['php_getitems_after_all']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the php_getlistquery string to base64 string.
|
// Set the php_getlistquery string to base64 string.
|
||||||
if (isset($data['php_getlistquery']))
|
if (isset($data['php_getlistquery']))
|
||||||
{
|
{
|
||||||
$data['php_getlistquery'] = base64_encode($data['php_getlistquery']);
|
$data['php_getlistquery'] = base64_encode($data['php_getlistquery']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the php_before_save string to base64 string.
|
|
||||||
if (isset($data['php_before_save']))
|
|
||||||
{
|
|
||||||
$data['php_before_save'] = base64_encode($data['php_before_save']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_postsavehook string to base64 string.
|
|
||||||
if (isset($data['php_postsavehook']))
|
|
||||||
{
|
|
||||||
$data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_allowedit string to base64 string.
|
|
||||||
if (isset($data['php_allowedit']))
|
|
||||||
{
|
|
||||||
$data['php_allowedit'] = base64_encode($data['php_allowedit']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_batchmove string to base64 string.
|
|
||||||
if (isset($data['php_batchmove']))
|
|
||||||
{
|
|
||||||
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_after_publish string to base64 string.
|
|
||||||
if (isset($data['php_after_publish']))
|
|
||||||
{
|
|
||||||
$data['php_after_publish'] = base64_encode($data['php_after_publish']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_after_delete string to base64 string.
|
|
||||||
if (isset($data['php_after_delete']))
|
|
||||||
{
|
|
||||||
$data['php_after_delete'] = base64_encode($data['php_after_delete']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_import_headers string to base64 string.
|
|
||||||
if (isset($data['php_import_headers']))
|
|
||||||
{
|
|
||||||
$data['php_import_headers'] = base64_encode($data['php_import_headers']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the css_view string to base64 string.
|
// Set the css_view string to base64 string.
|
||||||
if (isset($data['css_view']))
|
if (isset($data['css_view']))
|
||||||
{
|
{
|
||||||
$data['css_view'] = base64_encode($data['css_view']);
|
$data['css_view'] = base64_encode($data['css_view']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the php_getform string to base64 string.
|
||||||
|
if (isset($data['php_getform']))
|
||||||
|
{
|
||||||
|
$data['php_getform'] = base64_encode($data['php_getform']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_before_save string to base64 string.
|
||||||
|
if (isset($data['php_before_save']))
|
||||||
|
{
|
||||||
|
$data['php_before_save'] = base64_encode($data['php_before_save']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the css_views string to base64 string.
|
// Set the css_views string to base64 string.
|
||||||
if (isset($data['css_views']))
|
if (isset($data['css_views']))
|
||||||
{
|
{
|
||||||
$data['css_views'] = base64_encode($data['css_views']);
|
$data['css_views'] = base64_encode($data['css_views']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the php_save string to base64 string.
|
||||||
|
if (isset($data['php_save']))
|
||||||
|
{
|
||||||
|
$data['php_save'] = base64_encode($data['php_save']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_postsavehook string to base64 string.
|
||||||
|
if (isset($data['php_postsavehook']))
|
||||||
|
{
|
||||||
|
$data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the javascript_view_file string to base64 string.
|
// Set the javascript_view_file string to base64 string.
|
||||||
if (isset($data['javascript_view_file']))
|
if (isset($data['javascript_view_file']))
|
||||||
{
|
{
|
||||||
$data['javascript_view_file'] = base64_encode($data['javascript_view_file']);
|
$data['javascript_view_file'] = base64_encode($data['javascript_view_file']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the php_allowadd string to base64 string.
|
||||||
|
if (isset($data['php_allowadd']))
|
||||||
|
{
|
||||||
|
$data['php_allowadd'] = base64_encode($data['php_allowadd']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_allowedit string to base64 string.
|
||||||
|
if (isset($data['php_allowedit']))
|
||||||
|
{
|
||||||
|
$data['php_allowedit'] = base64_encode($data['php_allowedit']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the javascript_view_footer string to base64 string.
|
// Set the javascript_view_footer string to base64 string.
|
||||||
if (isset($data['javascript_view_footer']))
|
if (isset($data['javascript_view_footer']))
|
||||||
{
|
{
|
||||||
$data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']);
|
$data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the php_batchcopy string to base64 string.
|
||||||
|
if (isset($data['php_batchcopy']))
|
||||||
|
{
|
||||||
|
$data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_batchmove string to base64 string.
|
||||||
|
if (isset($data['php_batchmove']))
|
||||||
|
{
|
||||||
|
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the javascript_views_file string to base64 string.
|
// Set the javascript_views_file string to base64 string.
|
||||||
if (isset($data['javascript_views_file']))
|
if (isset($data['javascript_views_file']))
|
||||||
{
|
{
|
||||||
$data['javascript_views_file'] = base64_encode($data['javascript_views_file']);
|
$data['javascript_views_file'] = base64_encode($data['javascript_views_file']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the php_before_publish string to base64 string.
|
||||||
|
if (isset($data['php_before_publish']))
|
||||||
|
{
|
||||||
|
$data['php_before_publish'] = base64_encode($data['php_before_publish']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_after_publish string to base64 string.
|
||||||
|
if (isset($data['php_after_publish']))
|
||||||
|
{
|
||||||
|
$data['php_after_publish'] = base64_encode($data['php_after_publish']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the javascript_views_footer string to base64 string.
|
// Set the javascript_views_footer string to base64 string.
|
||||||
if (isset($data['javascript_views_footer']))
|
if (isset($data['javascript_views_footer']))
|
||||||
{
|
{
|
||||||
$data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']);
|
$data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the php_before_delete string to base64 string.
|
||||||
|
if (isset($data['php_before_delete']))
|
||||||
|
{
|
||||||
|
$data['php_before_delete'] = base64_encode($data['php_before_delete']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_after_delete string to base64 string.
|
||||||
|
if (isset($data['php_after_delete']))
|
||||||
|
{
|
||||||
|
$data['php_after_delete'] = base64_encode($data['php_after_delete']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_document string to base64 string.
|
||||||
|
if (isset($data['php_document']))
|
||||||
|
{
|
||||||
|
$data['php_document'] = base64_encode($data['php_document']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the php_controller string to base64 string.
|
// Set the php_controller string to base64 string.
|
||||||
if (isset($data['php_controller']))
|
if (isset($data['php_controller']))
|
||||||
{
|
{
|
||||||
|
@ -376,56 +376,56 @@ class ComponentbuilderModelAdmin_views extends JModelList
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// decode php_batchcopy
|
|
||||||
$item->php_batchcopy = base64_decode($item->php_batchcopy);
|
|
||||||
// decode php_allowadd
|
|
||||||
$item->php_allowadd = base64_decode($item->php_allowadd);
|
|
||||||
// decode php_save
|
|
||||||
$item->php_save = base64_decode($item->php_save);
|
|
||||||
// decode php_getform
|
|
||||||
$item->php_getform = base64_decode($item->php_getform);
|
|
||||||
// decode php_getitems_after_all
|
|
||||||
$item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
|
|
||||||
// decode php_import_save
|
|
||||||
$item->php_import_save = base64_decode($item->php_import_save);
|
|
||||||
// decode php_document
|
|
||||||
$item->php_document = base64_decode($item->php_document);
|
|
||||||
// decode php_before_publish
|
|
||||||
$item->php_before_publish = base64_decode($item->php_before_publish);
|
|
||||||
// decode php_before_delete
|
|
||||||
$item->php_before_delete = base64_decode($item->php_before_delete);
|
|
||||||
// decode html_import_view
|
|
||||||
$item->html_import_view = base64_decode($item->html_import_view);
|
|
||||||
// decode php_getitems
|
|
||||||
$item->php_getitems = base64_decode($item->php_getitems);
|
|
||||||
// decode php_getlistquery
|
|
||||||
$item->php_getlistquery = base64_decode($item->php_getlistquery);
|
|
||||||
// decode php_before_save
|
|
||||||
$item->php_before_save = base64_decode($item->php_before_save);
|
|
||||||
// decode php_postsavehook
|
|
||||||
$item->php_postsavehook = base64_decode($item->php_postsavehook);
|
|
||||||
// decode php_allowedit
|
|
||||||
$item->php_allowedit = base64_decode($item->php_allowedit);
|
|
||||||
// decode php_batchmove
|
|
||||||
$item->php_batchmove = base64_decode($item->php_batchmove);
|
|
||||||
// decode php_after_publish
|
|
||||||
$item->php_after_publish = base64_decode($item->php_after_publish);
|
|
||||||
// decode php_after_delete
|
|
||||||
$item->php_after_delete = base64_decode($item->php_after_delete);
|
|
||||||
// decode php_import_headers
|
// decode php_import_headers
|
||||||
$item->php_import_headers = base64_decode($item->php_import_headers);
|
$item->php_import_headers = base64_decode($item->php_import_headers);
|
||||||
|
// decode html_import_view
|
||||||
|
$item->html_import_view = base64_decode($item->html_import_view);
|
||||||
|
// decode php_import_save
|
||||||
|
$item->php_import_save = base64_decode($item->php_import_save);
|
||||||
|
// decode php_getitems
|
||||||
|
$item->php_getitems = base64_decode($item->php_getitems);
|
||||||
|
// decode php_getitems_after_all
|
||||||
|
$item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
|
||||||
|
// decode php_getlistquery
|
||||||
|
$item->php_getlistquery = base64_decode($item->php_getlistquery);
|
||||||
// decode css_view
|
// decode css_view
|
||||||
$item->css_view = base64_decode($item->css_view);
|
$item->css_view = base64_decode($item->css_view);
|
||||||
|
// decode php_getform
|
||||||
|
$item->php_getform = base64_decode($item->php_getform);
|
||||||
|
// decode php_before_save
|
||||||
|
$item->php_before_save = base64_decode($item->php_before_save);
|
||||||
// decode css_views
|
// decode css_views
|
||||||
$item->css_views = base64_decode($item->css_views);
|
$item->css_views = base64_decode($item->css_views);
|
||||||
|
// decode php_save
|
||||||
|
$item->php_save = base64_decode($item->php_save);
|
||||||
|
// decode php_postsavehook
|
||||||
|
$item->php_postsavehook = base64_decode($item->php_postsavehook);
|
||||||
// decode javascript_view_file
|
// decode javascript_view_file
|
||||||
$item->javascript_view_file = base64_decode($item->javascript_view_file);
|
$item->javascript_view_file = base64_decode($item->javascript_view_file);
|
||||||
|
// decode php_allowadd
|
||||||
|
$item->php_allowadd = base64_decode($item->php_allowadd);
|
||||||
|
// decode php_allowedit
|
||||||
|
$item->php_allowedit = base64_decode($item->php_allowedit);
|
||||||
// decode javascript_view_footer
|
// decode javascript_view_footer
|
||||||
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
|
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
|
||||||
|
// decode php_batchcopy
|
||||||
|
$item->php_batchcopy = base64_decode($item->php_batchcopy);
|
||||||
|
// decode php_batchmove
|
||||||
|
$item->php_batchmove = base64_decode($item->php_batchmove);
|
||||||
// decode javascript_views_file
|
// decode javascript_views_file
|
||||||
$item->javascript_views_file = base64_decode($item->javascript_views_file);
|
$item->javascript_views_file = base64_decode($item->javascript_views_file);
|
||||||
|
// decode php_before_publish
|
||||||
|
$item->php_before_publish = base64_decode($item->php_before_publish);
|
||||||
|
// decode php_after_publish
|
||||||
|
$item->php_after_publish = base64_decode($item->php_after_publish);
|
||||||
// decode javascript_views_footer
|
// decode javascript_views_footer
|
||||||
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
|
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
|
||||||
|
// decode php_before_delete
|
||||||
|
$item->php_before_delete = base64_decode($item->php_before_delete);
|
||||||
|
// decode php_after_delete
|
||||||
|
$item->php_after_delete = base64_decode($item->php_after_delete);
|
||||||
|
// decode php_document
|
||||||
|
$item->php_document = base64_decode($item->php_document);
|
||||||
// decode php_controller
|
// decode php_controller
|
||||||
$item->php_controller = base64_decode($item->php_controller);
|
$item->php_controller = base64_decode($item->php_controller);
|
||||||
// decode php_model
|
// decode php_model
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -271,7 +271,7 @@ function vvvvwas(datatype_vvvvwas)
|
|||||||
function datatype_vvvvwas_SomeFunc(datatype_vvvvwas)
|
function datatype_vvvvwas_SomeFunc(datatype_vvvvwas)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (datatype_vvvvwas == 'CHAR' || datatype_vvvvwas == 'VARCHAR' || datatype_vvvvwas == 'TEXT' || datatype_vvvvwas == 'MEDIUMTEXT' || datatype_vvvvwas == 'LONGTEXT')
|
if (datatype_vvvvwas == 'CHAR' || datatype_vvvvwas == 'VARCHAR' || datatype_vvvvwas == 'TEXT' || datatype_vvvvwas == 'MEDIUMTEXT' || datatype_vvvvwas == 'LONGTEXT' || datatype_vvvvwas == 'BLOB' || datatype_vvvvwas == 'TINYBLOB' || datatype_vvvvwas == 'MEDIUMBLOB' || datatype_vvvvwas == 'LONGBLOB')
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -332,7 +332,7 @@ function store_vvvvwat_SomeFunc(store_vvvvwat)
|
|||||||
function datatype_vvvvwat_SomeFunc(datatype_vvvvwat)
|
function datatype_vvvvwat_SomeFunc(datatype_vvvvwat)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (datatype_vvvvwat == 'CHAR' || datatype_vvvvwat == 'VARCHAR' || datatype_vvvvwat == 'TEXT' || datatype_vvvvwat == 'MEDIUMTEXT' || datatype_vvvvwat == 'LONGTEXT')
|
if (datatype_vvvvwat == 'CHAR' || datatype_vvvvwat == 'VARCHAR' || datatype_vvvvwat == 'TEXT' || datatype_vvvvwat == 'MEDIUMTEXT' || datatype_vvvvwat == 'LONGTEXT' || datatype_vvvvwat == 'BLOB' || datatype_vvvvwat == 'TINYBLOB' || datatype_vvvvwat == 'MEDIUMBLOB' || datatype_vvvvwat == 'LONGBLOB')
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
|
|||||||
KEY `idx_addreadme` (`addreadme`),
|
KEY `idx_addreadme` (`addreadme`),
|
||||||
KEY `idx_emptycontributors` (`emptycontributors`),
|
KEY `idx_emptycontributors` (`emptycontributors`),
|
||||||
KEY `idx_add_sales_server` (`add_sales_server`)
|
KEY `idx_add_sales_server` (`add_sales_server`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -188,6 +188,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
|||||||
`mysql_table_charset` VARCHAR(64) NOT NULL DEFAULT 1,
|
`mysql_table_charset` VARCHAR(64) NOT NULL DEFAULT 1,
|
||||||
`mysql_table_collate` VARCHAR(64) NOT NULL DEFAULT 1,
|
`mysql_table_collate` VARCHAR(64) NOT NULL DEFAULT 1,
|
||||||
`mysql_table_engine` VARCHAR(64) NOT NULL DEFAULT 1,
|
`mysql_table_engine` VARCHAR(64) NOT NULL DEFAULT 1,
|
||||||
|
`mysql_table_row_format` VARCHAR(64) NOT NULL DEFAULT 0,
|
||||||
`name_list` CHAR(64) NOT NULL DEFAULT '',
|
`name_list` CHAR(64) NOT NULL DEFAULT '',
|
||||||
`name_single` CHAR(64) NOT NULL DEFAULT '',
|
`name_single` CHAR(64) NOT NULL DEFAULT '',
|
||||||
`php_after_delete` MEDIUMTEXT NOT NULL,
|
`php_after_delete` MEDIUMTEXT NOT NULL,
|
||||||
@ -242,41 +243,42 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_name_single` (`name_single`),
|
KEY `idx_name_single` (`name_single`),
|
||||||
|
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
|
||||||
|
KEY `idx_add_php_allowadd` (`add_php_allowadd`),
|
||||||
|
KEY `idx_add_php_save` (`add_php_save`),
|
||||||
|
KEY `idx_add_php_getform` (`add_php_getform`),
|
||||||
|
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
|
||||||
|
KEY `idx_add_php_document` (`add_php_document`),
|
||||||
KEY `idx_add_fadein` (`add_fadein`),
|
KEY `idx_add_fadein` (`add_fadein`),
|
||||||
|
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
|
||||||
|
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
|
||||||
|
KEY `idx_mysql_table_collate` (`mysql_table_collate`),
|
||||||
KEY `idx_type` (`type`),
|
KEY `idx_type` (`type`),
|
||||||
KEY `idx_add_sql` (`add_sql`),
|
|
||||||
KEY `idx_mysql_table_charset` (`mysql_table_charset`),
|
|
||||||
KEY `idx_add_custom_import` (`add_custom_import`),
|
KEY `idx_add_custom_import` (`add_custom_import`),
|
||||||
KEY `idx_name_list` (`name_list`),
|
KEY `idx_name_list` (`name_list`),
|
||||||
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
|
|
||||||
KEY `idx_add_css_view` (`add_css_view`),
|
|
||||||
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
|
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
|
||||||
KEY `idx_add_php_getform` (`add_php_getform`),
|
|
||||||
KEY `idx_add_css_views` (`add_css_views`),
|
|
||||||
KEY `idx_add_php_before_save` (`add_php_before_save`),
|
KEY `idx_add_php_before_save` (`add_php_before_save`),
|
||||||
KEY `idx_add_php_save` (`add_php_save`),
|
|
||||||
KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),
|
|
||||||
KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
|
KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
|
||||||
KEY `idx_add_php_allowadd` (`add_php_allowadd`),
|
|
||||||
KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`),
|
|
||||||
KEY `idx_add_php_allowedit` (`add_php_allowedit`),
|
KEY `idx_add_php_allowedit` (`add_php_allowedit`),
|
||||||
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
|
|
||||||
KEY `idx_add_javascript_views_file` (`add_javascript_views_file`),
|
|
||||||
KEY `idx_add_php_batchmove` (`add_php_batchmove`),
|
KEY `idx_add_php_batchmove` (`add_php_batchmove`),
|
||||||
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
|
|
||||||
KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`),
|
|
||||||
KEY `idx_add_php_after_publish` (`add_php_after_publish`),
|
KEY `idx_add_php_after_publish` (`add_php_after_publish`),
|
||||||
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
|
|
||||||
KEY `idx_add_custom_button` (`add_custom_button`),
|
|
||||||
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
|
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
|
||||||
KEY `idx_add_php_document` (`add_php_document`),
|
|
||||||
KEY `idx_mysql_table_engine` (`mysql_table_engine`),
|
KEY `idx_mysql_table_engine` (`mysql_table_engine`),
|
||||||
KEY `idx_mysql_table_collate` (`mysql_table_collate`),
|
KEY `idx_add_sql` (`add_sql`),
|
||||||
|
KEY `idx_add_css_view` (`add_css_view`),
|
||||||
|
KEY `idx_add_css_views` (`add_css_views`),
|
||||||
|
KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),
|
||||||
|
KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`),
|
||||||
|
KEY `idx_add_javascript_views_file` (`add_javascript_views_file`),
|
||||||
|
KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`),
|
||||||
|
KEY `idx_add_custom_button` (`add_custom_button`),
|
||||||
|
KEY `idx_mysql_table_charset` (`mysql_table_charset`),
|
||||||
|
KEY `idx_mysql_table_row_format` (`mysql_table_row_format`),
|
||||||
KEY `idx_source` (`source`),
|
KEY `idx_source` (`source`),
|
||||||
KEY `idx_add_php_ajax` (`add_php_ajax`),
|
KEY `idx_add_php_ajax` (`add_php_ajax`),
|
||||||
KEY `idx_add_php_getitem` (`add_php_getitem`),
|
KEY `idx_add_php_getitem` (`add_php_getitem`),
|
||||||
KEY `idx_add_php_getitems` (`add_php_getitems`)
|
KEY `idx_add_php_getitems` (`add_php_getitems`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -350,7 +352,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (
|
|||||||
KEY `idx_add_custom_button` (`add_custom_button`),
|
KEY `idx_add_custom_button` (`add_custom_button`),
|
||||||
KEY `idx_add_php_jview_display` (`add_php_jview_display`),
|
KEY `idx_add_php_jview_display` (`add_php_jview_display`),
|
||||||
KEY `idx_add_php_jview` (`add_php_jview`)
|
KEY `idx_add_php_jview` (`add_php_jview`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_site_view` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_site_view` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -425,7 +427,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_site_view` (
|
|||||||
KEY `idx_button_position` (`button_position`),
|
KEY `idx_button_position` (`button_position`),
|
||||||
KEY `idx_add_php_jview_display` (`add_php_jview_display`),
|
KEY `idx_add_php_jview_display` (`add_php_jview_display`),
|
||||||
KEY `idx_add_php_jview` (`add_php_jview`)
|
KEY `idx_add_php_jview` (`add_php_jview`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_template` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_template` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -461,7 +463,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_template` (
|
|||||||
KEY `idx_dynamic_get` (`dynamic_get`),
|
KEY `idx_dynamic_get` (`dynamic_get`),
|
||||||
KEY `idx_add_php_view` (`add_php_view`),
|
KEY `idx_add_php_view` (`add_php_view`),
|
||||||
KEY `idx_alias` (`alias`)
|
KEY `idx_alias` (`alias`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_layout` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_layout` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -497,7 +499,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_layout` (
|
|||||||
KEY `idx_dynamic_get` (`dynamic_get`),
|
KEY `idx_dynamic_get` (`dynamic_get`),
|
||||||
KEY `idx_add_php_view` (`add_php_view`),
|
KEY `idx_add_php_view` (`add_php_view`),
|
||||||
KEY `idx_alias` (`alias`)
|
KEY `idx_alias` (`alias`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -563,7 +565,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` (
|
|||||||
KEY `idx_add_php_before_getitem` (`add_php_before_getitem`),
|
KEY `idx_add_php_before_getitem` (`add_php_before_getitem`),
|
||||||
KEY `idx_getcustom` (`getcustom`),
|
KEY `idx_getcustom` (`getcustom`),
|
||||||
KEY `idx_pagination` (`pagination`)
|
KEY `idx_pagination` (`pagination`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -605,7 +607,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` (
|
|||||||
KEY `idx_function_name` (`function_name`),
|
KEY `idx_function_name` (`function_name`),
|
||||||
KEY `idx_to_line` (`to_line`),
|
KEY `idx_to_line` (`to_line`),
|
||||||
KEY `idx_from_line` (`from_line`)
|
KEY `idx_from_line` (`from_line`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -638,7 +640,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library` (
|
|||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_name` (`name`),
|
KEY `idx_name` (`name`),
|
||||||
KEY `idx_how` (`how`)
|
KEY `idx_how` (`how`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -676,7 +678,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet` (
|
|||||||
KEY `idx_name` (`name`),
|
KEY `idx_name` (`name`),
|
||||||
KEY `idx_type` (`type`),
|
KEY `idx_type` (`type`),
|
||||||
KEY `idx_library` (`library`)
|
KEY `idx_library` (`library`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_validation_rule` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_validation_rule` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -704,7 +706,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_validation_rule` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_name` (`name`)
|
KEY `idx_name` (`name`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_field` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_field` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -761,7 +763,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_field` (
|
|||||||
KEY `idx_datadefault` (`datadefault`),
|
KEY `idx_datadefault` (`datadefault`),
|
||||||
KEY `idx_datalenght_other` (`datalenght_other`),
|
KEY `idx_datalenght_other` (`datalenght_other`),
|
||||||
KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`)
|
KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_fieldtype` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_fieldtype` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -791,13 +793,13 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_fieldtype` (
|
|||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_name` (`name`),
|
KEY `idx_name` (`name`),
|
||||||
KEY `idx_catid` (`catid`)
|
KEY `idx_catid` (`catid`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_language_translation` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_language_translation` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
|
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
|
||||||
`components` TEXT NOT NULL,
|
`components` TEXT NOT NULL,
|
||||||
`source` TEXT NOT NULL,
|
`source` MEDIUMTEXT NOT NULL,
|
||||||
`translation` TEXT NOT NULL,
|
`translation` TEXT NOT NULL,
|
||||||
`params` text NOT NULL DEFAULT '',
|
`params` text NOT NULL DEFAULT '',
|
||||||
`published` TINYINT(3) NOT NULL DEFAULT 1,
|
`published` TINYINT(3) NOT NULL DEFAULT 1,
|
||||||
@ -817,7 +819,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_language_translation` (
|
|||||||
KEY `idx_createdby` (`created_by`),
|
KEY `idx_createdby` (`created_by`),
|
||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`)
|
KEY `idx_state` (`published`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_language` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_language` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -843,7 +845,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_language` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_name` (`name`)
|
KEY `idx_name` (`name`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_server` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_server` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -881,7 +883,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_server` (
|
|||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_name` (`name`),
|
KEY `idx_name` (`name`),
|
||||||
KEY `idx_protocol` (`protocol`)
|
KEY `idx_protocol` (`protocol`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_help_document` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_help_document` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -920,7 +922,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_help_document` (
|
|||||||
KEY `idx_article` (`article`),
|
KEY `idx_article` (`article`),
|
||||||
KEY `idx_target` (`target`),
|
KEY `idx_target` (`target`),
|
||||||
KEY `idx_alias` (`alias`)
|
KEY `idx_alias` (`alias`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -946,7 +948,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_admin_view` (`admin_view`)
|
KEY `idx_admin_view` (`admin_view`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_conditions` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_conditions` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -972,7 +974,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_conditions` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_admin_view` (`admin_view`)
|
KEY `idx_admin_view` (`admin_view`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_relations` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_relations` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -998,7 +1000,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_relations` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_admin_view` (`admin_view`)
|
KEY `idx_admin_view` (`admin_view`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_custom_tabs` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_custom_tabs` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1024,7 +1026,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_custom_tabs` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_admin_view` (`admin_view`)
|
KEY `idx_admin_view` (`admin_view`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_admin_views` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_admin_views` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1050,7 +1052,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_admin_views` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_site_views` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_site_views` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1076,7 +1078,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_site_views` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_views` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_views` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1102,7 +1104,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_views` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_updates` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_updates` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1128,7 +1130,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_updates` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_mysql_tweaks` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_mysql_tweaks` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1154,7 +1156,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_mysql_tweaks` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_menus` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_menus` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1180,7 +1182,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_menus` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_config` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_config` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1206,7 +1208,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_config` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_dashboard` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_dashboard` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1233,7 +1235,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_dashboard` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_files_folders` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_files_folders` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1262,7 +1264,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_files_folders` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_joomla_component` (`joomla_component`)
|
KEY `idx_joomla_component` (`joomla_component`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet_type` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet_type` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1288,7 +1290,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet_type` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_name` (`name`)
|
KEY `idx_name` (`name`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_config` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_config` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1314,7 +1316,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_config` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_library` (`library`)
|
KEY `idx_library` (`library`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_files_folders_urls` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_files_folders_urls` (
|
||||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -1344,7 +1346,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_files_folders_urls` (
|
|||||||
KEY `idx_modifiedby` (`modified_by`),
|
KEY `idx_modifiedby` (`modified_by`),
|
||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_library` (`library`)
|
KEY `idx_library` (`library`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Dumping data for table `#__componentbuilder_joomla_component`
|
-- Dumping data for table `#__componentbuilder_joomla_component`
|
||||||
@ -1844,7 +1846,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_external_code` (
|
|||||||
`target` VARCHAR(255) NOT NULL DEFAULT '',
|
`target` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`hash` VARCHAR(64) NOT NULL DEFAULT '',
|
`hash` VARCHAR(64) NOT NULL DEFAULT '',
|
||||||
PRIMARY KEY (`target`)
|
PRIMARY KEY (`target`)
|
||||||
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
37
admin/sql/updates/mysql/2.9.8.sql
Normal file
37
admin/sql/updates/mysql/2.9.8.sql
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
ALTER TABLE `#__componentbuilder_language_translation` CHANGE `source` `source` MEDIUMTEXT NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `#__componentbuilder_admin_view` ADD `mysql_table_row_format` VARCHAR(64) NOT NULL DEFAULT 0 AFTER `mysql_table_engine`;
|
||||||
|
|
||||||
|
ALTER TABLE `#__componentbuilder_joomla_component` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_admin_view` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_custom_admin_view` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_site_view` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_template` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_layout` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_dynamic_get` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_custom_code` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_library` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_snippet` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_validation_rule` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_field` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_fieldtype` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_language_translation` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_language` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_server` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_help_document` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_admin_fields` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_admin_fields_conditions` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_admin_fields_relations` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_admin_custom_tabs` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_admin_views` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_site_views` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_custom_admin_views` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_updates` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_mysql_tweaks` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_custom_admin_menus` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_config` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_dashboard` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_component_files_folders` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_snippet_type` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_library_config` ROW_FORMAT=DYNAMIC;
|
||||||
|
ALTER TABLE `#__componentbuilder_library_files_folders_urls` ROW_FORMAT=DYNAMIC;
|
@ -1,15 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="component" version="3.2" method="upgrade">
|
<extension type="component" version="3.2" method="upgrade">
|
||||||
<name>COM_COMPONENTBUILDER</name>
|
<name>COM_COMPONENTBUILDER</name>
|
||||||
<creationDate>23rd January, 2019</creationDate>
|
<creationDate>26th January, 2019</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
||||||
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
|
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
|
||||||
<copyright>Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.</copyright>
|
<copyright>Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.</copyright>
|
||||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||||
<version>2.9.8</version>
|
<version>2.9.9</version>
|
||||||
<description><![CDATA[
|
<description><![CDATA[
|
||||||
<h1>Component Builder (v.2.9.8)</h1>
|
<h1>Component Builder (v.2.9.9)</h1>
|
||||||
<div style="clear: both;"></div>
|
<div style="clear: both;"></div>
|
||||||
<p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.
|
<p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.
|
||||||
|
|
||||||
|
@ -560,4 +560,21 @@
|
|||||||
<maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl>
|
<maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl>
|
||||||
<targetplatform name="joomla" version="3.*"/>
|
<targetplatform name="joomla" version="3.*"/>
|
||||||
</update>
|
</update>
|
||||||
|
<update>
|
||||||
|
<name>Component Builder</name>
|
||||||
|
<description>Builds Complex Joomla Components</description>
|
||||||
|
<element>com_componentbuilder</element>
|
||||||
|
<type>component</type>
|
||||||
|
<version>2.9.9</version>
|
||||||
|
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
|
||||||
|
<downloads>
|
||||||
|
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.9/JCB_v2.9.9.zip</downloadurl>
|
||||||
|
</downloads>
|
||||||
|
<tags>
|
||||||
|
<tag>stable</tag>
|
||||||
|
</tags>
|
||||||
|
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||||
|
<maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl>
|
||||||
|
<targetplatform name="joomla" version="3.*"/>
|
||||||
|
</update>
|
||||||
</updates>
|
</updates>
|
10
script.php
10
script.php
@ -3520,9 +3520,9 @@ class com_componentbuilderInstallerScript
|
|||||||
$admin_view->type_title = 'Componentbuilder Admin_view';
|
$admin_view->type_title = 'Componentbuilder Admin_view';
|
||||||
$admin_view->type_alias = 'com_componentbuilder.admin_view';
|
$admin_view->type_alias = 'com_componentbuilder.admin_view';
|
||||||
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_batchcopy","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","short_description":"short_description","php_batchcopy":"php_batchcopy","php_allowadd":"php_allowadd","php_save":"php_save","php_getform":"php_getform","php_getitems_after_all":"php_getitems_after_all","php_import_save":"php_import_save","icon":"icon","php_document":"php_document","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","icon_add":"icon_add","php_before_publish":"php_before_publish","php_before_delete":"php_before_delete","type":"type","add_sql":"add_sql","not_required":"not_required","html_import_view":"html_import_view","php_getitems":"php_getitems","php_getlistquery":"php_getlistquery","php_before_save":"php_before_save","php_postsavehook":"php_postsavehook","php_allowedit":"php_allowedit","php_batchmove":"php_batchmove","php_after_publish":"php_after_publish","php_after_delete":"php_after_delete","alias_builder_type":"alias_builder_type","mysql_table_charset":"mysql_table_charset","add_custom_import":"add_custom_import","alias_builder":"alias_builder","php_import_headers":"php_import_headers","name_list":"name_list","add_php_getitems_after_all":"add_php_getitems_after_all","add_css_view":"add_css_view","add_php_getlistquery":"add_php_getlistquery","css_view":"css_view","add_php_getform":"add_php_getform","add_css_views":"add_css_views","add_php_before_save":"add_php_before_save","css_views":"css_views","add_php_save":"add_php_save","add_javascript_view_file":"add_javascript_view_file","add_php_postsavehook":"add_php_postsavehook","javascript_view_file":"javascript_view_file","add_php_allowadd":"add_php_allowadd","add_javascript_view_footer":"add_javascript_view_footer","add_php_allowedit":"add_php_allowedit","javascript_view_footer":"javascript_view_footer","add_php_batchcopy":"add_php_batchcopy","add_javascript_views_file":"add_javascript_views_file","add_php_batchmove":"add_php_batchmove","javascript_views_file":"javascript_views_file","add_php_before_publish":"add_php_before_publish","add_javascript_views_footer":"add_javascript_views_footer","add_php_after_publish":"add_php_after_publish","javascript_views_footer":"javascript_views_footer","add_php_before_delete":"add_php_before_delete","add_custom_button":"add_custom_button","add_php_after_delete":"add_php_after_delete","add_php_document":"add_php_document","php_controller":"php_controller","mysql_table_engine":"mysql_table_engine","php_model":"php_model","mysql_table_collate":"mysql_table_collate","php_controller_list":"php_controller_list","source":"source","php_model_list":"php_model_list","sql":"sql","add_php_ajax":"add_php_ajax","php_ajaxmethod":"php_ajaxmethod","php_import_display":"php_import_display","php_import":"php_import","add_php_getitem":"add_php_getitem","php_import_setdata":"php_import_setdata","php_getitem":"php_getitem","php_import_ext":"php_import_ext","add_php_getitems":"add_php_getitems"}}';
|
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitems","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","short_description":"short_description","add_php_batchcopy":"add_php_batchcopy","add_php_allowadd":"add_php_allowadd","add_php_save":"add_php_save","add_php_getform":"add_php_getform","add_php_getitems_after_all":"add_php_getitems_after_all","icon":"icon","add_php_document":"add_php_document","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","icon_add":"icon_add","add_php_before_publish":"add_php_before_publish","add_php_before_delete":"add_php_before_delete","php_import_headers":"php_import_headers","mysql_table_collate":"mysql_table_collate","type":"type","add_custom_import":"add_custom_import","not_required":"not_required","name_list":"name_list","add_php_getlistquery":"add_php_getlistquery","add_php_before_save":"add_php_before_save","add_php_postsavehook":"add_php_postsavehook","add_php_allowedit":"add_php_allowedit","add_php_batchmove":"add_php_batchmove","add_php_after_publish":"add_php_after_publish","add_php_after_delete":"add_php_after_delete","mysql_table_engine":"mysql_table_engine","alias_builder_type":"alias_builder_type","add_sql":"add_sql","html_import_view":"html_import_view","alias_builder":"alias_builder","php_import_save":"php_import_save","php_getitems":"php_getitems","php_getitems_after_all":"php_getitems_after_all","add_css_view":"add_css_view","php_getlistquery":"php_getlistquery","css_view":"css_view","php_getform":"php_getform","add_css_views":"add_css_views","php_before_save":"php_before_save","css_views":"css_views","php_save":"php_save","add_javascript_view_file":"add_javascript_view_file","php_postsavehook":"php_postsavehook","javascript_view_file":"javascript_view_file","php_allowadd":"php_allowadd","add_javascript_view_footer":"add_javascript_view_footer","php_allowedit":"php_allowedit","javascript_view_footer":"javascript_view_footer","php_batchcopy":"php_batchcopy","add_javascript_views_file":"add_javascript_views_file","php_batchmove":"php_batchmove","javascript_views_file":"javascript_views_file","php_before_publish":"php_before_publish","add_javascript_views_footer":"add_javascript_views_footer","php_after_publish":"php_after_publish","javascript_views_footer":"javascript_views_footer","php_before_delete":"php_before_delete","add_custom_button":"add_custom_button","php_after_delete":"php_after_delete","php_document":"php_document","php_controller":"php_controller","mysql_table_charset":"mysql_table_charset","php_model":"php_model","mysql_table_row_format":"mysql_table_row_format","php_controller_list":"php_controller_list","source":"source","php_model_list":"php_model_list","sql":"sql","add_php_ajax":"add_php_ajax","php_ajaxmethod":"php_ajaxmethod","php_import_display":"php_import_display","php_import":"php_import","add_php_getitem":"add_php_getitem","php_import_setdata":"php_import_setdata","php_getitem":"php_getitem","php_import_ext":"php_import_ext","add_php_getitems":"add_php_getitems"}}';
|
||||||
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
|
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
|
||||||
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_fadein","type","add_sql","add_custom_import","add_php_getitems_after_all","add_css_view","add_php_getlistquery","add_php_getform","add_css_views","add_php_before_save","add_php_save","add_javascript_view_file","add_php_postsavehook","add_php_allowadd","add_javascript_view_footer","add_php_allowedit","add_php_batchcopy","add_javascript_views_file","add_php_batchmove","add_php_before_publish","add_javascript_views_footer","add_php_after_publish","add_php_before_delete","add_custom_button","add_php_after_delete","add_php_document","source","add_php_ajax","add_php_getitem","add_php_getitems"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
|
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_php_batchcopy","add_php_allowadd","add_php_save","add_php_getform","add_php_getitems_after_all","add_php_document","add_fadein","add_php_before_publish","add_php_before_delete","type","add_custom_import","add_php_getlistquery","add_php_before_save","add_php_postsavehook","add_php_allowedit","add_php_batchmove","add_php_after_publish","add_php_after_delete","add_sql","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem","add_php_getitems"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Set the object into the content types table.
|
// Set the object into the content types table.
|
||||||
$admin_view_Inserted = $db->insertObject('#__content_types', $admin_view);
|
$admin_view_Inserted = $db->insertObject('#__content_types', $admin_view);
|
||||||
@ -3983,9 +3983,9 @@ class com_componentbuilderInstallerScript
|
|||||||
$admin_view->type_title = 'Componentbuilder Admin_view';
|
$admin_view->type_title = 'Componentbuilder Admin_view';
|
||||||
$admin_view->type_alias = 'com_componentbuilder.admin_view';
|
$admin_view->type_alias = 'com_componentbuilder.admin_view';
|
||||||
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_batchcopy","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","short_description":"short_description","php_batchcopy":"php_batchcopy","php_allowadd":"php_allowadd","php_save":"php_save","php_getform":"php_getform","php_getitems_after_all":"php_getitems_after_all","php_import_save":"php_import_save","icon":"icon","php_document":"php_document","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","icon_add":"icon_add","php_before_publish":"php_before_publish","php_before_delete":"php_before_delete","type":"type","add_sql":"add_sql","not_required":"not_required","html_import_view":"html_import_view","php_getitems":"php_getitems","php_getlistquery":"php_getlistquery","php_before_save":"php_before_save","php_postsavehook":"php_postsavehook","php_allowedit":"php_allowedit","php_batchmove":"php_batchmove","php_after_publish":"php_after_publish","php_after_delete":"php_after_delete","alias_builder_type":"alias_builder_type","mysql_table_charset":"mysql_table_charset","add_custom_import":"add_custom_import","alias_builder":"alias_builder","php_import_headers":"php_import_headers","name_list":"name_list","add_php_getitems_after_all":"add_php_getitems_after_all","add_css_view":"add_css_view","add_php_getlistquery":"add_php_getlistquery","css_view":"css_view","add_php_getform":"add_php_getform","add_css_views":"add_css_views","add_php_before_save":"add_php_before_save","css_views":"css_views","add_php_save":"add_php_save","add_javascript_view_file":"add_javascript_view_file","add_php_postsavehook":"add_php_postsavehook","javascript_view_file":"javascript_view_file","add_php_allowadd":"add_php_allowadd","add_javascript_view_footer":"add_javascript_view_footer","add_php_allowedit":"add_php_allowedit","javascript_view_footer":"javascript_view_footer","add_php_batchcopy":"add_php_batchcopy","add_javascript_views_file":"add_javascript_views_file","add_php_batchmove":"add_php_batchmove","javascript_views_file":"javascript_views_file","add_php_before_publish":"add_php_before_publish","add_javascript_views_footer":"add_javascript_views_footer","add_php_after_publish":"add_php_after_publish","javascript_views_footer":"javascript_views_footer","add_php_before_delete":"add_php_before_delete","add_custom_button":"add_custom_button","add_php_after_delete":"add_php_after_delete","add_php_document":"add_php_document","php_controller":"php_controller","mysql_table_engine":"mysql_table_engine","php_model":"php_model","mysql_table_collate":"mysql_table_collate","php_controller_list":"php_controller_list","source":"source","php_model_list":"php_model_list","sql":"sql","add_php_ajax":"add_php_ajax","php_ajaxmethod":"php_ajaxmethod","php_import_display":"php_import_display","php_import":"php_import","add_php_getitem":"add_php_getitem","php_import_setdata":"php_import_setdata","php_getitem":"php_getitem","php_import_ext":"php_import_ext","add_php_getitems":"add_php_getitems"}}';
|
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitems","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","short_description":"short_description","add_php_batchcopy":"add_php_batchcopy","add_php_allowadd":"add_php_allowadd","add_php_save":"add_php_save","add_php_getform":"add_php_getform","add_php_getitems_after_all":"add_php_getitems_after_all","icon":"icon","add_php_document":"add_php_document","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","icon_add":"icon_add","add_php_before_publish":"add_php_before_publish","add_php_before_delete":"add_php_before_delete","php_import_headers":"php_import_headers","mysql_table_collate":"mysql_table_collate","type":"type","add_custom_import":"add_custom_import","not_required":"not_required","name_list":"name_list","add_php_getlistquery":"add_php_getlistquery","add_php_before_save":"add_php_before_save","add_php_postsavehook":"add_php_postsavehook","add_php_allowedit":"add_php_allowedit","add_php_batchmove":"add_php_batchmove","add_php_after_publish":"add_php_after_publish","add_php_after_delete":"add_php_after_delete","mysql_table_engine":"mysql_table_engine","alias_builder_type":"alias_builder_type","add_sql":"add_sql","html_import_view":"html_import_view","alias_builder":"alias_builder","php_import_save":"php_import_save","php_getitems":"php_getitems","php_getitems_after_all":"php_getitems_after_all","add_css_view":"add_css_view","php_getlistquery":"php_getlistquery","css_view":"css_view","php_getform":"php_getform","add_css_views":"add_css_views","php_before_save":"php_before_save","css_views":"css_views","php_save":"php_save","add_javascript_view_file":"add_javascript_view_file","php_postsavehook":"php_postsavehook","javascript_view_file":"javascript_view_file","php_allowadd":"php_allowadd","add_javascript_view_footer":"add_javascript_view_footer","php_allowedit":"php_allowedit","javascript_view_footer":"javascript_view_footer","php_batchcopy":"php_batchcopy","add_javascript_views_file":"add_javascript_views_file","php_batchmove":"php_batchmove","javascript_views_file":"javascript_views_file","php_before_publish":"php_before_publish","add_javascript_views_footer":"add_javascript_views_footer","php_after_publish":"php_after_publish","javascript_views_footer":"javascript_views_footer","php_before_delete":"php_before_delete","add_custom_button":"add_custom_button","php_after_delete":"php_after_delete","php_document":"php_document","php_controller":"php_controller","mysql_table_charset":"mysql_table_charset","php_model":"php_model","mysql_table_row_format":"mysql_table_row_format","php_controller_list":"php_controller_list","source":"source","php_model_list":"php_model_list","sql":"sql","add_php_ajax":"add_php_ajax","php_ajaxmethod":"php_ajaxmethod","php_import_display":"php_import_display","php_import":"php_import","add_php_getitem":"add_php_getitem","php_import_setdata":"php_import_setdata","php_getitem":"php_getitem","php_import_ext":"php_import_ext","add_php_getitems":"add_php_getitems"}}';
|
||||||
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
|
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
|
||||||
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_fadein","type","add_sql","add_custom_import","add_php_getitems_after_all","add_css_view","add_php_getlistquery","add_php_getform","add_css_views","add_php_before_save","add_php_save","add_javascript_view_file","add_php_postsavehook","add_php_allowadd","add_javascript_view_footer","add_php_allowedit","add_php_batchcopy","add_javascript_views_file","add_php_batchmove","add_php_before_publish","add_javascript_views_footer","add_php_after_publish","add_php_before_delete","add_custom_button","add_php_after_delete","add_php_document","source","add_php_ajax","add_php_getitem","add_php_getitems"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
|
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_php_batchcopy","add_php_allowadd","add_php_save","add_php_getform","add_php_getitems_after_all","add_php_document","add_fadein","add_php_before_publish","add_php_before_delete","type","add_custom_import","add_php_getlistquery","add_php_before_save","add_php_postsavehook","add_php_allowedit","add_php_batchmove","add_php_after_publish","add_php_after_delete","add_sql","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem","add_php_getitems"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Check if admin_view type is already in content_type DB.
|
// Check if admin_view type is already in content_type DB.
|
||||||
$admin_view_id = null;
|
$admin_view_id = null;
|
||||||
@ -5172,7 +5172,7 @@ class com_componentbuilderInstallerScript
|
|||||||
echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder">
|
echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder">
|
||||||
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
|
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
|
||||||
</a>
|
</a>
|
||||||
<h3>Upgrade to Version 2.9.8 Was Successful! Let us know if anything is not working as expected.</h3>';
|
<h3>Upgrade to Version 2.9.9 Was Successful! Let us know if anything is not working as expected.</h3>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user