Component Builder (v.5.0.4-alpha1)
+ Component Builder (v.5.0.4-alpha2)
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.
diff --git a/componentbuilder_update_server.xml b/componentbuilder_update_server.xml
index 34ac9e54c..7b3f82e83 100644
--- a/componentbuilder_update_server.xml
+++ b/componentbuilder_update_server.xml
@@ -113,10 +113,28 @@
pkg_component_builder
package
site
- 5.0.4-alpha1
+ 5.0.4-alpha
https://dev.vdm.io
- https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v5.0.4-alpha1.zip
+ https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v5.0.4-alpha2.zip
+
+
+ alpha
+
+ Llewellyn van der Merwe
+ https://dev.vdm.io
+
+
+
+ Component Builder
+ Builds Complex Joomla Components
+ pkg_component_builder
+ package
+ site
+ 5.0.4-alpha2
+ https://dev.vdm.io
+
+ https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v5.0.4-alpha2.zip
alpha
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Creator/Builders.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Creator/Builders.php
index ec5b42256..b8e655f49 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Creator/Builders.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Creator/Builders.php
@@ -1306,7 +1306,8 @@ public function set(string $langLabel, string $langView, string $nameSingleCode,
'list' => $nameListCode,
'store' => (isset($field['store'])) ? $field['store'] : null,
'tab_name' => $tabName,
- 'db' => $this->normalizeDatabaseValues($nameSingleCode, $name, $databaseuniquekey, $databasekey)
+ 'db' => $this->normalizeDatabaseValues($nameSingleCode, $name, $databaseuniquekey, $databasekey),
+ 'link' => $this->setLinkerRelations($custom ?? [])
]
);
}
@@ -1360,6 +1361,37 @@ private function normalizeDatabaseValues($nameSingleCode, $name, $uniquekey, $is
unset($db_values['ID'], $db_values['lenght'], $db_values['lenght_other'], $db_values['other']);
return $db_values;
+ }
+
+ /**
+ * Sets the linker relations for a field based on the provided link data.
+ *
+ * The method determines the type of link relation based on the presence of a table.
+ * If no table is provided, it assigns a type 2 with a null table, otherwise it assigns type 1.
+ * It also extracts additional values from the input array, such as component, entity, value, and key.
+ *
+ * @param array $link The link data which may contain 'table', 'component', 'view', 'text', and 'id'.
+ *
+ * @return array|null The structured linker relation array, or null if input is an empty array.
+ * @since 5.0.3
+ */
+ private function setLinkerRelations(array $link): ?array
+ {
+ if ($link === [])
+ {
+ return null;
+ }
+
+ $linker = [
+ 'type' => empty($link['table']) ? 2 : 1,
+ 'table' => $link['table'] ?? null,
+ 'component' => $link['component'] ?? null,
+ 'entity' => $link['view'] ?? null,
+ 'value' => $link['text'] ?? null,
+ 'key' => $link['id'] ?? null
+ ];
+
+ return $linker;
}
}
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Infusion.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Infusion.php
index 60031e7fb..b1bc485d6 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Infusion.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Infusion.php
@@ -109,7 +109,7 @@ protected function buildFileContent()
// COMPANYNAME
$companyname = CFactory::_('Component')->get('companyname');
CFactory::_('Compiler.Builder.Content.One')->set('COMPANYNAME', trim(
- (string) \JFilterOutput::cleanText($companyname)
+ (string) OutputFilter::cleanText($companyname)
));
// POWER_LIBRARY_FOLDER
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Import/Factory.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Import/Factory.php
new file mode 100644
index 000000000..a2ceb5d8e
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Import/Factory.php
@@ -0,0 +1,57 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+namespace VDM\Joomla\Componentbuilder\Import;
+
+
+use VDM\Joomla\Service\Table;
+use VDM\Joomla\Service\Database;
+use VDM\Joomla\Service\Model;
+use VDM\Joomla\Service\Data;
+use VDM\Joomla\Componentbuilder\File\Service\File;
+use VDM\Joomla\Componentbuilder\Service\Spreadsheet;
+use VDM\Joomla\Interfaces\FactoryInterface;
+use VDM\Joomla\Abstraction\Factory as ExtendingFactory;
+
+
+/**
+ * Import Factory
+ *
+ * @since 3.2.2
+ */
+abstract class Factory extends ExtendingFactory implements FactoryInterface
+{
+ /**
+ * Global Package Container
+ *
+ * @var Container|null
+ * @since 0.0.0
+ **/
+ protected static ?Container $container = null;
+
+ /**
+ * Create a container object
+ *
+ * @return Container
+ * @since 3.2.2
+ */
+ protected static function createContainer(): Container
+ {
+ return (new Container())
+ ->registerServiceProvider(new Table())
+ ->registerServiceProvider(new Database())
+ ->registerServiceProvider(new Model())
+ ->registerServiceProvider(new Data())
+ ->registerServiceProvider(new File())
+ ->registerServiceProvider(new Spreadsheet());
+ }
+}
+
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Import/index.html b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Import/index.html
new file mode 100644
index 000000000..fa6d84e80
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Import/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Service/Spreadsheet.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Service/Spreadsheet.php
new file mode 100644
index 000000000..5086836ee
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Service/Spreadsheet.php
@@ -0,0 +1,88 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+namespace VDM\Joomla\Componentbuilder\Service;
+
+
+use Joomla\DI\Container;
+use Joomla\DI\ServiceProviderInterface;
+use VDM\Joomla\Componentbuilder\Spreadsheet\Header;
+use VDM\Joomla\Componentbuilder\Spreadsheet\Exporter;
+use VDM\Joomla\Componentbuilder\Spreadsheet\Importer;
+
+
+/**
+ * Spreadsheet Service Provider
+ *
+ * @since 5.0.3
+ */
+class Spreadsheet implements ServiceProviderInterface
+{
+ /**
+ * Registers the service provider with a DI container.
+ *
+ * @param Container $container The DI container.
+ *
+ * @return void
+ * @since 5.0.3
+ */
+ public function register(Container $container)
+ {
+ $container->alias(Header::class, 'Spreadsheet.Header')
+ ->share('Spreadsheet.Header', [$this, 'getHeader'], true);
+
+ $container->alias(Exporter::class, 'Spreadsheet.Exporter')
+ ->share('Spreadsheet.Exporter', [$this, 'getExporter'], true);
+
+ $container->alias(Importer::class, 'Spreadsheet.Importer')
+ ->share('Spreadsheet.Importer', [$this, 'getImporter'], true);
+ }
+
+ /**
+ * Get The Header Class.
+ *
+ * @param Container $container The DI container.
+ *
+ * @return Header
+ * @since 5.0.3
+ */
+ public function getHeader(Container $container): Header
+ {
+ return new Header();
+ }
+
+ /**
+ * Get The Exporter Class.
+ *
+ * @param Container $container The DI container.
+ *
+ * @return Exporter
+ * @since 5.0.3
+ */
+ public function getExporter(Container $container): Exporter
+ {
+ return new Exporter();
+ }
+
+ /**
+ * Get The Importer Class.
+ *
+ * @param Container $container The DI container.
+ *
+ * @return Importer
+ * @since 5.0.3
+ */
+ public function getImporter(Container $container): Importer
+ {
+ return new Importer();
+ }
+}
+
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Exporter.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Exporter.php
new file mode 100644
index 000000000..c5cc6470b
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Exporter.php
@@ -0,0 +1,325 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+namespace VDM\Joomla\Componentbuilder\Spreadsheet;
+
+
+use PhpOffice\PhpSpreadsheet\IOFactory;
+use PhpOffice\PhpSpreadsheet\Spreadsheet;
+use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
+use PhpOffice\PhpSpreadsheet\Style\Alignment;
+use PhpOffice\PhpSpreadsheet\Writer\Exception;
+use VDM\Joomla\Utilities\ArrayHelper;
+
+
+/**
+ * Spreadsheet Exporter Class
+ *
+ * @since 3.2.0
+ */
+final class Exporter
+{
+ /**
+ * The current active user.
+ *
+ * @var User $user
+ * @since 3.2.0
+ */
+ private User $user;
+
+ /**
+ * The PhpSpreadsheet object used to create and manage the spreadsheet.
+ *
+ * @var Spreadsheet $spreadsheet
+ * @since 3.2.0
+ */
+ private Spreadsheet $spreadsheet;
+
+ /**
+ * The name of the file to be exported, including the date if not provided.
+ *
+ * @var string $fileName
+ * @since 3.2.0
+ */
+ private string $fileName;
+
+ /**
+ * The format of the exported file, typically 'Xls' or 'Csv'.
+ *
+ * @var string $fileType
+ * @since 3.2.0
+ */
+ private string $fileType;
+
+ /**
+ * The name of the worksheet tab in the exported spreadsheet.
+ *
+ * @var string $subjectTab
+ * @since 3.2.0
+ */
+ private string $subjectTab;
+
+ /**
+ * The styles applied to the header row, including font size, color, and bold formatting.
+ *
+ * @var array $headerStyles
+ * @since 3.2.0
+ */
+ private array $headerStyles;
+
+ /**
+ * The styles applied to the first column (side) of the spreadsheet, usually for labeling rows.
+ *
+ * @var array $sideStyles
+ * @since 3.2.0
+ */
+ private array $sideStyles;
+
+ /**
+ * The styles applied to normal cells in the spreadsheet, such as font color and size.
+ *
+ * @var array $normalStyles
+ * @since 3.2.0
+ */
+ private array $normalStyles;
+
+ /**
+ * SpreadsheetExporter constructor.
+ * Initializes styles and the Spreadsheet object.
+ *
+ * @since 3.2.0
+ */
+ public function __construct()
+ {
+ $this->user = Factory::getUser();
+ $this->spreadsheet = new Spreadsheet();
+ $this->headerStyles = [
+ 'font' => [
+ 'bold' => true,
+ 'color' => ['rgb' => '1171A3'],
+ 'size' => 12,
+ 'name' => 'Verdana'
+ ]
+ ];
+ $this->sideStyles = [
+ 'font' => [
+ 'bold' => true,
+ 'color' => ['rgb' => '444444'],
+ 'size' => 11,
+ 'name' => 'Verdana'
+ ]
+ ];
+ $this->normalStyles = [
+ 'font' => [
+ 'color' => ['rgb' => '444444'],
+ 'size' => 11,
+ 'name' => 'Verdana'
+ ]
+ ];
+ }
+
+ /**
+ * Prepares the spreadsheet with data.
+ *
+ * @param array $rows
+ * @param string|null $fileName
+ * @param string|null $title
+ * @param string|null $subjectTab
+ * @param string $creator
+ * @param string|null $description
+ * @param string|null $category
+ * @param string|null $keywords
+ * @param string|null $modified
+ *
+ * @return void
+ * @throws Exception
+ * @since 3.2.0
+ */
+ public function export(
+ array $rows,
+ ?string $fileName = null,
+ ?string $title = null,
+ ?string $subjectTab = null,
+ string $creator = 'Vast Development Method',
+ ?string $description = null,
+ ?string $category = null,
+ ?string $keywords = null,
+ ?string $modified = null
+ ): void {
+ $this->fileName = $fileName ?? 'exported_' . Factory::getDate()->format('jS_F_Y');
+ $this->fileType = 'Xls';
+ $this->subjectTab = $subjectTab ?? 'Sheet1';
+
+ $this->setDocumentProperties($creator, $title, $description, $category, $keywords, $modified);
+ $this->populateSpreadsheet($rows);
+
+ // Output the spreadsheet
+ $this->outputSpreadsheet();
+ }
+
+ /**
+ * Set the document properties for the spreadsheet.
+ *
+ * @param string $creator
+ * @param string|null $title
+ * @param string|null $description
+ * @param string|null $category
+ * @param string|null $keywords
+ * @param string|null $modified
+ * @since 3.2.0
+ */
+ private function setDocumentProperties(
+ string $creator,
+ ?string $title = null,
+ ?string $description = null,
+ ?string $category = null,
+ ?string $keywords = null,
+ ?string $modified = null
+ ): void
+ {
+ $modifiedBy = $modified ?? $this->user->name;
+
+ $this->spreadsheet->getProperties()
+ ->setCreator($creator)
+ ->setCompany('Vast Development Method')
+ ->setLastModifiedBy($modifiedBy)
+ ->setTitle($title ?? 'Book1')
+ ->setSubject($this->subjectTab);
+
+ if ($description)
+ {
+ $this->spreadsheet->getProperties()->setDescription($description);
+ }
+
+ if ($category)
+ {
+ $this->spreadsheet->getProperties()->setCategory($category);
+ }
+
+ if ($keywords)
+ {
+ $this->spreadsheet->getProperties()->setKeywords($keywords);
+ }
+ }
+
+ /**
+ * Populate the spreadsheet with the provided rows.
+ *
+ * @param array $rows
+ *
+ * @since 3.2.0
+ */
+ private function populateSpreadsheet(array $rows): void
+ {
+ if (($size = ArrayHelper::check($rows)) === false)
+ {
+ return;
+ }
+
+ $xlsMode = $this->determineXlsMode($size);
+ $activeSheet = $this->spreadsheet->setActiveSheetIndex(0);
+ $rowIndex = 1;
+
+ foreach ($rows as $array)
+ {
+ $columnIndex = 'A';
+ foreach ($array as $value)
+ {
+ $activeSheet->setCellValue($columnIndex . $rowIndex, $value);
+ $this->applyStyles($activeSheet, $rowIndex, $columnIndex, $xlsMode);
+ $columnIndex++;
+ }
+ $rowIndex++;
+ }
+
+ $activeSheet->setTitle($this->subjectTab);
+ }
+
+ /**
+ * Determine the XLS mode based on the number of rows.
+ *
+ * @param int $size
+ * @return int
+ *
+ * @since 3.2.0
+ */
+ private function determineXlsMode(int $size): int
+ {
+ if ($size > 3000)
+ {
+ $this->fileType = 'Csv';
+ return 3;
+ }
+
+ if ($size > 2000)
+ {
+ return 2;
+ }
+
+ return 1;
+ }
+
+ /**
+ * Apply styles to the cells based on the row and column index.
+ *
+ * @param Worksheet $sheet
+ * @param int $rowIndex
+ * @param string $columnIndex
+ * @param int $xlsMode
+ *
+ * @since 3.2.0
+ */
+ private function applyStyles(Worksheet $sheet, int $rowIndex, string $columnIndex, int $xlsMode): void
+ {
+ if ($xlsMode === 3)
+ {
+ return;
+ }
+
+ if ($rowIndex === 1)
+ {
+ $sheet->getColumnDimension($columnIndex)->setAutoSize(true);
+ $sheet->getStyle($columnIndex . $rowIndex)->applyFromArray($this->headerStyles);
+ $sheet->getStyle($columnIndex . $rowIndex)->getAlignment()->setHorizontal(Alignment::HORIZONTAL_CENTER);
+ }
+ elseif ($columnIndex === 'A')
+ {
+ $sheet->getStyle($columnIndex . $rowIndex)->applyFromArray($this->sideStyles);
+ }
+ else
+ {
+ $sheet->getStyle($columnIndex . $rowIndex)->applyFromArray($this->normalStyles);
+ }
+ }
+
+ /**
+ * Output the spreadsheet as an Excel or CSV file.
+ *
+ * @return void
+ * @throws Exception
+ * @since 3.2.0
+ */
+ private function outputSpreadsheet(): void
+ {
+ header('Content-Type: application/vnd.ms-excel');
+ header('Content-Disposition: attachment;filename="' . $this->fileName . '.' . strtolower($this->fileType) . '"');
+ header('Cache-Control: max-age=0');
+ header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
+ header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
+ header('Cache-Control: cache, must-revalidate');
+ header('Pragma: public');
+
+ $writer = IOFactory::createWriter($this->spreadsheet, $this->fileType);
+ $writer->save('php://output');
+ exit;
+ }
+}
+
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Header.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Header.php
new file mode 100644
index 000000000..2944f6115
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Header.php
@@ -0,0 +1,75 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+namespace VDM\Joomla\Componentbuilder\Spreadsheet;
+
+
+use PhpOffice\PhpSpreadsheet\IOFactory;
+use PhpOffice\PhpSpreadsheet\Reader\IReadFilter;
+
+
+/**
+ * Spreadsheet Header Class
+ *
+ * @since 3.2.0
+ */
+final class Header
+{
+ /**
+ * Get CSV or Excel headers from the provided file path.
+ *
+ * @param string $filePath
+ * @param int $targetRow
+ *
+ * @return array|null
+ * @since 3.2.0
+ */
+ public function get(string $filePath, int $targetRow = 1): ?array
+ {
+ if (!is_file($filePath))
+ {
+ return null;
+ }
+
+ try {
+ $chunkFilter = new ChunkReadFilter(2, 1);
+ $inputFileType = IOFactory::identify($filePath);
+ $reader = IOFactory::createReader($inputFileType);
+ $reader->setReadFilter($chunkFilter);
+ $reader->setReadDataOnly(true);
+
+ $spreadsheet = $reader->load($filePath);
+ $headers = [];
+
+ foreach ($spreadsheet->getActiveSheet()->getRowIterator() as $row)
+ {
+ if ($row->getRowIndex() === $targetRow)
+ {
+ $cellIterator = $row->getCellIterator();
+ $cellIterator->setIterateOnlyExistingCells(false);
+ foreach ($cellIterator as $cell)
+ {
+ $headers[$cell->getColumn()] = $cell->getValue();
+ }
+ break;
+ }
+ }
+
+ $spreadsheet->disconnectWorksheets();
+
+ return $headers;
+ } catch (\Exception $e) {
+ // Log or handle exceptions as necessary
+ return null;
+ }
+ }
+}
+
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Importer.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Importer.php
new file mode 100644
index 000000000..d1460917b
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Importer.php
@@ -0,0 +1,99 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+namespace VDM\Joomla\Componentbuilder\Spreadsheet;
+
+
+use PhpOffice\PhpSpreadsheet\IOFactory;
+use PhpOffice\PhpSpreadsheet\Reader\IReadFilter;
+use PhpOffice\PhpSpreadsheet\Reader\Exception as ReaderException;
+use PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException;
+
+
+/**
+ * Spreadsheet Importer Class
+ *
+ * @since 3.2.0
+ */
+final class Importer
+{
+ /**
+ * Stream rows from a CSV or Excel file one by one using yield.
+ *
+ * @param string $filePath The path to the file.
+ * @param int $startRow The starting row index (default is 1).
+ * @param int $chunkSize The number of rows to read per chunk (default is 100).
+ *
+ * @return \Generator A generator that yields each row as an array.
+ * @throws \InvalidArgumentException If the file does not exist.
+ * @throws ReaderException If there is an error identifying or reading the file.
+ * @throws SpreadsheetException If there is an error working with the spreadsheet.
+ * @since 3.2.0
+ */
+ public function get(string $filePath, int $startRow = 1, int $chunkSize = 100): \Generator
+ {
+ // Check if the file exists
+ if (!is_file($filePath))
+ {
+ throw new \InvalidArgumentException("File not found: $filePath");
+ }
+
+ try {
+ // Initialize variables for row processing
+ $totalRows = $startRow;
+
+ do {
+ // Set up a new chunk filter for the current chunk
+ $chunkFilter = new ChunkReadFilter($totalRows, $chunkSize);
+ $inputFileType = IOFactory::identify($filePath);
+ $reader = IOFactory::createReader($inputFileType);
+ $reader->setReadFilter($chunkFilter);
+ $reader->setReadDataOnly(true);
+
+ // Load the chunk into the spreadsheet
+ $spreadsheet = $reader->load($filePath);
+ $worksheet = $spreadsheet->getActiveSheet();
+
+ // Iterate through the rows in the current chunk
+ foreach ($worksheet->getRowIterator($totalRows) as $row)
+ {
+ $rowIndex = $row->getRowIndex();
+ $rowData = [];
+
+ $cellIterator = $row->getCellIterator();
+ $cellIterator->setIterateOnlyExistingCells(false); // Include empty cells
+
+ // Collect all cell data in the row
+ foreach ($cellIterator as $cell)
+ {
+ $rowData[$cell->getColumn()] = $cell->getValue();
+ }
+
+ yield $rowData;
+
+ // Update the row index for the next chunk
+ $totalRows = $rowIndex + 1;
+ }
+
+ // Disconnect the spreadsheet to free memory
+ $spreadsheet->disconnectWorksheets();
+ unset($spreadsheet);
+
+ } while (!empty($rowData)); // Continue reading until no more rows are available
+
+ } catch (ReaderException $e) {
+ throw new ReaderException("Error reading the file: " . $e->getMessage(), $e->getCode(), $e);
+ } catch (SpreadsheetException $e) {
+ throw new SpreadsheetException("Error with the spreadsheet: " . $e->getMessage(), $e->getCode(), $e);
+ }
+ }
+}
+
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/index.html b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/index.html
new file mode 100644
index 000000000..fa6d84e80
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Table.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Table.php
index 059f2ebda..af809dc24 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Table.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Table.php
@@ -46,6 +46,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'name_code' => [
'name' => 'name_code',
@@ -62,6 +63,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'short_description' => [
'name' => 'short_description',
@@ -78,6 +80,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'companyname' => [
'name' => 'companyname',
@@ -94,6 +97,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'created' => [
'name' => 'created',
@@ -110,6 +114,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'crowdin_project_identifier' => [
'name' => 'crowdin_project_identifier',
@@ -126,6 +131,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'backup_folder_path' => [
'name' => 'backup_folder_path',
@@ -142,6 +148,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'sql_uninstall' => [
'name' => 'sql_uninstall',
@@ -158,6 +165,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_postflight_update' => [
'name' => 'php_postflight_update',
@@ -174,6 +182,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'css_site' => [
'name' => 'css_site',
@@ -190,6 +199,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'mvc_versiondate' => [
'name' => 'mvc_versiondate',
@@ -206,6 +216,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'remove_line_breaks' => [
'name' => 'remove_line_breaks',
@@ -222,6 +233,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_placeholders' => [
'name' => 'add_placeholders',
@@ -238,6 +250,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_helper_site' => [
'name' => 'php_helper_site',
@@ -254,6 +267,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'javascript' => [
'name' => 'javascript',
@@ -270,6 +284,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -286,6 +301,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'debug_linenr' => [
'name' => 'debug_linenr',
@@ -302,6 +318,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'author' => [
'name' => 'author',
@@ -318,6 +335,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_method_install' => [
'name' => 'php_method_install',
@@ -334,6 +352,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'email' => [
'name' => 'email',
@@ -350,6 +369,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'website' => [
'name' => 'website',
@@ -366,6 +386,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_sales_server' => [
'name' => 'add_sales_server',
@@ -382,6 +403,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'license' => [
'name' => 'license',
@@ -398,6 +420,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_jcb_powers_path' => [
'name' => 'add_jcb_powers_path',
@@ -414,6 +437,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'bom' => [
'name' => 'bom',
@@ -430,6 +454,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'image' => [
'name' => 'image',
@@ -446,6 +471,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_admin_event' => [
'name' => 'php_admin_event',
@@ -462,6 +488,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'copyright' => [
'name' => 'copyright',
@@ -478,6 +505,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_site_event' => [
'name' => 'php_site_event',
@@ -494,6 +522,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'css_admin' => [
'name' => 'css_admin',
@@ -510,6 +539,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_preflight_update' => [
'name' => 'php_preflight_update',
@@ -526,6 +556,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'component_version' => [
'name' => 'component_version',
@@ -542,6 +573,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_preflight_install' => [
'name' => 'php_preflight_install',
@@ -558,6 +590,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'preferred_joomla_version' => [
'name' => 'preferred_joomla_version',
@@ -574,6 +607,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_postflight_install' => [
'name' => 'php_postflight_install',
@@ -590,6 +624,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_powers' => [
'name' => 'add_powers',
@@ -606,6 +641,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_method_uninstall' => [
'name' => 'php_method_uninstall',
@@ -622,6 +658,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'sql' => [
'name' => 'sql',
@@ -638,6 +675,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addreadme' => [
'name' => 'addreadme',
@@ -654,6 +692,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'update_server_url' => [
'name' => 'update_server_url',
@@ -670,6 +709,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_backup_folder_path' => [
'name' => 'add_backup_folder_path',
@@ -686,6 +726,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'translation_tool' => [
'name' => 'translation_tool',
@@ -702,6 +743,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'crowdin_username' => [
'name' => 'crowdin_username',
@@ -718,6 +760,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'buildcompsql' => [
'name' => 'buildcompsql',
@@ -734,6 +777,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_namespace_prefix' => [
'name' => 'add_namespace_prefix',
@@ -750,6 +794,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'namespace_prefix' => [
'name' => 'namespace_prefix',
@@ -766,6 +811,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_helper_site' => [
'name' => 'add_php_helper_site',
@@ -782,6 +828,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_site_event' => [
'name' => 'add_site_event',
@@ -798,6 +845,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_menu_prefix' => [
'name' => 'add_menu_prefix',
@@ -814,6 +862,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_javascript' => [
'name' => 'add_javascript',
@@ -830,6 +879,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'menu_prefix' => [
'name' => 'menu_prefix',
@@ -846,6 +896,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_css_admin' => [
'name' => 'add_css_admin',
@@ -862,6 +913,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_css_site' => [
'name' => 'add_css_site',
@@ -878,6 +930,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'dashboard_type' => [
'name' => 'dashboard_type',
@@ -894,6 +947,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'toignore' => [
'name' => 'toignore',
@@ -910,6 +964,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'dashboard' => [
'name' => 'dashboard',
@@ -926,6 +981,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_custom_admin_view',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'custom_admin_view',
+ 'value' => 'system_name',
+ 'key' => '',
+ ],
],
'add_php_preflight_install' => [
'name' => 'add_php_preflight_install',
@@ -942,6 +1005,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_preflight_update' => [
'name' => 'add_php_preflight_update',
@@ -958,6 +1022,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'export_key' => [
'name' => 'export_key',
@@ -974,6 +1039,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_postflight_install' => [
'name' => 'add_php_postflight_install',
@@ -990,6 +1056,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'joomla_source_link' => [
'name' => 'joomla_source_link',
@@ -1006,6 +1073,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_postflight_update' => [
'name' => 'add_php_postflight_update',
@@ -1022,6 +1090,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'export_buy_link' => [
'name' => 'export_buy_link',
@@ -1038,6 +1107,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_method_uninstall' => [
'name' => 'add_php_method_uninstall',
@@ -1054,6 +1124,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_method_install' => [
'name' => 'add_php_method_install',
@@ -1070,6 +1141,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_sql' => [
'name' => 'add_sql',
@@ -1086,6 +1158,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'addcontributors' => [
'name' => 'addcontributors',
@@ -1102,6 +1175,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_sql_uninstall' => [
'name' => 'add_sql_uninstall',
@@ -1118,6 +1192,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'emptycontributors' => [
'name' => 'emptycontributors',
@@ -1134,6 +1209,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'assets_table_fix' => [
'name' => 'assets_table_fix',
@@ -1150,6 +1226,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'number' => [
'name' => 'number',
@@ -1166,6 +1243,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'readme' => [
'name' => 'readme',
@@ -1182,6 +1260,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_update_server' => [
'name' => 'add_update_server',
@@ -1198,6 +1277,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'update_server_target' => [
'name' => 'update_server_target',
@@ -1214,6 +1294,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'update_server' => [
'name' => 'update_server',
@@ -1230,6 +1311,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_server',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'server',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'sales_server' => [
'name' => 'sales_server',
@@ -1246,6 +1335,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_server',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'server',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'creatuserhelper' => [
'name' => 'creatuserhelper',
@@ -1262,6 +1359,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_git_folder_path' => [
'name' => 'add_git_folder_path',
@@ -1278,6 +1376,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'adduikit' => [
'name' => 'adduikit',
@@ -1294,6 +1393,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'git_folder_path' => [
'name' => 'git_folder_path',
@@ -1310,6 +1410,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfootable' => [
'name' => 'addfootable',
@@ -1326,6 +1427,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'jcb_powers_path' => [
'name' => 'jcb_powers_path',
@@ -1342,6 +1444,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_email_helper' => [
'name' => 'add_email_helper',
@@ -1358,6 +1461,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_helper_both' => [
'name' => 'add_php_helper_both',
@@ -1374,6 +1478,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'crowdin_project_api_key' => [
'name' => 'crowdin_project_api_key',
@@ -1390,6 +1495,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_helper_both' => [
'name' => 'php_helper_both',
@@ -1406,6 +1512,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'crowdin_account_api_key' => [
'name' => 'crowdin_account_api_key',
@@ -1422,6 +1529,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_helper_admin' => [
'name' => 'add_php_helper_admin',
@@ -1438,6 +1546,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'buildcomp' => [
'name' => 'buildcomp',
@@ -1454,6 +1563,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_helper_admin' => [
'name' => 'php_helper_admin',
@@ -1470,6 +1580,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -1486,6 +1597,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_admin_event' => [
'name' => 'add_admin_event',
@@ -1502,6 +1614,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'modified' => [
'name' => 'modified',
@@ -1518,6 +1631,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'name' => [
'name' => 'name',
@@ -1534,6 +1648,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -1599,6 +1714,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'target' => [
'name' => 'target',
@@ -1615,6 +1731,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -1631,6 +1748,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_method_uninstall' => [
'name' => 'add_php_method_uninstall',
@@ -1647,6 +1765,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_postflight_update' => [
'name' => 'add_php_postflight_update',
@@ -1663,6 +1782,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_postflight_install' => [
'name' => 'add_php_postflight_install',
@@ -1679,6 +1799,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_preflight_uninstall' => [
'name' => 'add_php_preflight_uninstall',
@@ -1695,6 +1816,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'addreadme' => [
'name' => 'addreadme',
@@ -1711,6 +1833,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'default' => [
'name' => 'default',
@@ -1727,6 +1850,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'snippet' => [
'name' => 'snippet',
@@ -1743,6 +1867,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_snippet',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'snippet',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_sql' => [
'name' => 'add_sql',
@@ -1759,6 +1891,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'update_server_target' => [
'name' => 'update_server_target',
@@ -1775,6 +1908,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_sql_uninstall' => [
'name' => 'add_sql_uninstall',
@@ -1791,6 +1925,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'update_server' => [
'name' => 'update_server',
@@ -1807,6 +1942,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_server',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'server',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_update_server' => [
'name' => 'add_update_server',
@@ -1823,6 +1966,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'libraries' => [
'name' => 'libraries',
@@ -1839,6 +1983,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'module_version' => [
'name' => 'module_version',
@@ -1855,6 +2007,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'sales_server' => [
'name' => 'sales_server',
@@ -1871,6 +2024,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_server',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'server',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'custom_get' => [
'name' => 'custom_get',
@@ -1887,6 +2048,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'php_preflight_update' => [
'name' => 'php_preflight_update',
@@ -1903,6 +2072,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_preflight_uninstall' => [
'name' => 'php_preflight_uninstall',
@@ -1919,6 +2089,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'mod_code' => [
'name' => 'mod_code',
@@ -1935,6 +2106,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_postflight_install' => [
'name' => 'php_postflight_install',
@@ -1951,6 +2123,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_class_helper' => [
'name' => 'add_class_helper',
@@ -1967,6 +2140,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_postflight_update' => [
'name' => 'php_postflight_update',
@@ -1983,6 +2157,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_class_helper_header' => [
'name' => 'add_class_helper_header',
@@ -1999,6 +2174,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_method_uninstall' => [
'name' => 'php_method_uninstall',
@@ -2015,6 +2191,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'class_helper_header' => [
'name' => 'class_helper_header',
@@ -2031,6 +2208,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'sql' => [
'name' => 'sql',
@@ -2047,6 +2225,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'class_helper_code' => [
'name' => 'class_helper_code',
@@ -2063,6 +2242,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'sql_uninstall' => [
'name' => 'sql_uninstall',
@@ -2079,6 +2259,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'fields' => [
'name' => 'fields',
@@ -2095,6 +2276,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'readme' => [
'name' => 'readme',
@@ -2111,6 +2293,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_script_construct' => [
'name' => 'add_php_script_construct',
@@ -2127,6 +2310,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'update_server_url' => [
'name' => 'update_server_url',
@@ -2143,6 +2327,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_script_construct' => [
'name' => 'php_script_construct',
@@ -2159,6 +2344,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_preflight_install' => [
'name' => 'add_php_preflight_install',
@@ -2175,6 +2361,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_preflight_install' => [
'name' => 'php_preflight_install',
@@ -2191,6 +2378,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_sales_server' => [
'name' => 'add_sales_server',
@@ -2207,6 +2395,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_preflight_update' => [
'name' => 'add_php_preflight_update',
@@ -2223,6 +2412,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -2239,6 +2429,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'name' => [
'name' => 'name',
@@ -2255,6 +2446,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -2287,6 +2479,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'class_extends' => [
'name' => 'class_extends',
@@ -2303,6 +2496,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_class_extends',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'class_extends',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'joomla_plugin_group' => [
'name' => 'joomla_plugin_group',
@@ -2319,6 +2520,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_plugin_group',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_plugin_group',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_sql' => [
'name' => 'add_sql',
@@ -2335,6 +2544,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_method_uninstall' => [
'name' => 'add_php_method_uninstall',
@@ -2351,6 +2561,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_postflight_update' => [
'name' => 'add_php_postflight_update',
@@ -2367,6 +2578,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_postflight_install' => [
'name' => 'add_php_postflight_install',
@@ -2383,6 +2595,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'sales_server' => [
'name' => 'sales_server',
@@ -2399,6 +2612,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_server',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'server',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_update_server' => [
'name' => 'add_update_server',
@@ -2415,6 +2636,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'method_selection' => [
'name' => 'method_selection',
@@ -2431,6 +2653,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'property_selection' => [
'name' => 'property_selection',
@@ -2447,6 +2670,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_head' => [
'name' => 'add_head',
@@ -2463,6 +2687,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_sql_uninstall' => [
'name' => 'add_sql_uninstall',
@@ -2479,6 +2704,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'addreadme' => [
'name' => 'addreadme',
@@ -2495,6 +2721,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'head' => [
'name' => 'head',
@@ -2511,6 +2738,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'update_server_target' => [
'name' => 'update_server_target',
@@ -2527,6 +2755,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'main_class_code' => [
'name' => 'main_class_code',
@@ -2543,6 +2772,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'update_server' => [
'name' => 'update_server',
@@ -2559,6 +2789,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_server',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'server',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'description' => [
'name' => 'description',
@@ -2575,6 +2813,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_postflight_install' => [
'name' => 'php_postflight_install',
@@ -2591,6 +2830,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'plugin_version' => [
'name' => 'plugin_version',
@@ -2607,6 +2847,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_postflight_update' => [
'name' => 'php_postflight_update',
@@ -2623,6 +2864,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'fields' => [
'name' => 'fields',
@@ -2639,6 +2881,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_method_uninstall' => [
'name' => 'php_method_uninstall',
@@ -2655,6 +2898,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_script_construct' => [
'name' => 'add_php_script_construct',
@@ -2671,6 +2915,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'sql' => [
'name' => 'sql',
@@ -2687,6 +2932,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_script_construct' => [
'name' => 'php_script_construct',
@@ -2703,6 +2949,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'sql_uninstall' => [
'name' => 'sql_uninstall',
@@ -2719,6 +2966,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_preflight_install' => [
'name' => 'add_php_preflight_install',
@@ -2735,6 +2983,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'readme' => [
'name' => 'readme',
@@ -2751,6 +3000,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_preflight_install' => [
'name' => 'php_preflight_install',
@@ -2767,6 +3017,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'update_server_url' => [
'name' => 'update_server_url',
@@ -2783,6 +3034,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_preflight_update' => [
'name' => 'add_php_preflight_update',
@@ -2799,6 +3051,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_preflight_update' => [
'name' => 'php_preflight_update',
@@ -2815,6 +3068,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_preflight_uninstall' => [
'name' => 'add_php_preflight_uninstall',
@@ -2831,6 +3085,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_sales_server' => [
'name' => 'add_sales_server',
@@ -2847,6 +3102,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_preflight_uninstall' => [
'name' => 'php_preflight_uninstall',
@@ -2863,6 +3119,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -2879,6 +3136,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'name' => [
'name' => 'name',
@@ -2895,6 +3153,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -2927,6 +3186,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'settings' => [
'name' => 'settings',
@@ -2943,6 +3203,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -2959,6 +3220,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -2975,6 +3237,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -3007,6 +3270,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'namespace' => [
'name' => 'namespace',
@@ -3023,6 +3287,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'type' => [
'name' => 'type',
@@ -3039,6 +3304,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'power_version' => [
'name' => 'power_version',
@@ -3055,6 +3321,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'load_selection' => [
'name' => 'load_selection',
@@ -3071,6 +3338,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -3087,6 +3355,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'composer' => [
'name' => 'composer',
@@ -3103,6 +3372,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'licensing_template' => [
'name' => 'licensing_template',
@@ -3119,6 +3389,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'approved' => [
'name' => 'approved',
@@ -3135,6 +3406,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'extendsinterfaces_custom' => [
'name' => 'extendsinterfaces_custom',
@@ -3151,6 +3423,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_head' => [
'name' => 'add_head',
@@ -3167,6 +3440,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'extends' => [
'name' => 'extends',
@@ -3183,6 +3457,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_power',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'power',
+ 'value' => 'name',
+ 'key' => 'guid',
+ ],
],
'extends_custom' => [
'name' => 'extends_custom',
@@ -3199,6 +3481,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'implements_custom' => [
'name' => 'implements_custom',
@@ -3215,6 +3498,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'implements' => [
'name' => 'implements',
@@ -3231,6 +3515,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_power',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'power',
+ 'value' => 'name',
+ 'key' => 'guid',
+ ],
],
'property_selection' => [
'name' => 'property_selection',
@@ -3247,6 +3539,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'extendsinterfaces' => [
'name' => 'extendsinterfaces',
@@ -3263,6 +3556,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_power',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'power',
+ 'value' => 'name',
+ 'key' => 'guid',
+ ],
],
'method_selection' => [
'name' => 'method_selection',
@@ -3279,6 +3580,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'approved_paths' => [
'name' => 'approved_paths',
@@ -3295,6 +3597,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 2,
+ 'table' => NULL,
+ 'component' => NULL,
+ 'entity' => NULL,
+ 'value' => NULL,
+ 'key' => NULL,
+ ],
],
'head' => [
'name' => 'head',
@@ -3311,6 +3621,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'use_selection' => [
'name' => 'use_selection',
@@ -3327,6 +3638,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_licensing_template' => [
'name' => 'add_licensing_template',
@@ -3343,6 +3655,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'main_class_code' => [
'name' => 'main_class_code',
@@ -3359,6 +3672,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -3375,6 +3689,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'name' => [
'name' => 'name',
@@ -3391,6 +3706,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -3423,6 +3739,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'name_single' => [
'name' => 'name_single',
@@ -3439,6 +3756,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'short_description' => [
'name' => 'short_description',
@@ -3455,6 +3773,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_allowedit' => [
'name' => 'php_allowedit',
@@ -3471,6 +3790,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_postsavehook' => [
'name' => 'php_postsavehook',
@@ -3487,6 +3807,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_before_save' => [
'name' => 'php_before_save',
@@ -3503,6 +3824,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_getlistquery' => [
'name' => 'php_getlistquery',
@@ -3519,6 +3841,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_import_ext' => [
'name' => 'php_import_ext',
@@ -3535,6 +3858,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'icon' => [
'name' => 'icon',
@@ -3551,6 +3875,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_after_publish' => [
'name' => 'php_after_publish',
@@ -3567,6 +3892,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_fadein' => [
'name' => 'add_fadein',
@@ -3583,6 +3909,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -3599,6 +3926,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'icon_category' => [
'name' => 'icon_category',
@@ -3615,6 +3943,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'icon_add' => [
'name' => 'icon_add',
@@ -3631,6 +3960,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_after_cancel' => [
'name' => 'php_after_cancel',
@@ -3647,6 +3977,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'mysql_table_charset' => [
'name' => 'mysql_table_charset',
@@ -3663,6 +3994,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_batchmove' => [
'name' => 'php_batchmove',
@@ -3679,6 +4011,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'type' => [
'name' => 'type',
@@ -3695,6 +4028,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_after_delete' => [
'name' => 'php_after_delete',
@@ -3711,6 +4045,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'source' => [
'name' => 'source',
@@ -3727,6 +4062,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_import' => [
'name' => 'php_import',
@@ -3743,6 +4079,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addpermissions' => [
'name' => 'addpermissions',
@@ -3759,6 +4096,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_getitems_after_all' => [
'name' => 'php_getitems_after_all',
@@ -3775,6 +4113,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_getform' => [
'name' => 'php_getform',
@@ -3791,6 +4130,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addtabs' => [
'name' => 'addtabs',
@@ -3807,6 +4147,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_save' => [
'name' => 'php_save',
@@ -3823,6 +4164,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_allowadd' => [
'name' => 'php_allowadd',
@@ -3839,6 +4181,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_before_cancel' => [
'name' => 'php_before_cancel',
@@ -3855,6 +4198,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addlinked_views' => [
'name' => 'addlinked_views',
@@ -3871,6 +4215,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_batchcopy' => [
'name' => 'php_batchcopy',
@@ -3887,6 +4232,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_before_publish' => [
'name' => 'php_before_publish',
@@ -3903,6 +4249,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'alias_builder_type' => [
'name' => 'alias_builder_type',
@@ -3919,6 +4266,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_before_delete' => [
'name' => 'php_before_delete',
@@ -3935,6 +4283,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_document' => [
'name' => 'php_document',
@@ -3951,6 +4300,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'mysql_table_row_format' => [
'name' => 'mysql_table_row_format',
@@ -3967,6 +4317,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'alias_builder' => [
'name' => 'alias_builder',
@@ -3983,6 +4334,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_field',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'field',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'sql' => [
'name' => 'sql',
@@ -3999,6 +4358,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_import_display' => [
'name' => 'php_import_display',
@@ -4015,6 +4375,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_category_submenu' => [
'name' => 'add_category_submenu',
@@ -4031,6 +4392,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_import_setdata' => [
'name' => 'php_import_setdata',
@@ -4047,6 +4409,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'name_list' => [
'name' => 'name_list',
@@ -4063,6 +4426,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_getlistquery' => [
'name' => 'add_php_getlistquery',
@@ -4079,6 +4443,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_css_view' => [
'name' => 'add_css_view',
@@ -4095,6 +4460,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_getform' => [
'name' => 'add_php_getform',
@@ -4111,6 +4477,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'css_view' => [
'name' => 'css_view',
@@ -4127,6 +4494,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_before_save' => [
'name' => 'add_php_before_save',
@@ -4143,6 +4511,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_css_views' => [
'name' => 'add_css_views',
@@ -4159,6 +4528,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_save' => [
'name' => 'add_php_save',
@@ -4175,6 +4545,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'css_views' => [
'name' => 'css_views',
@@ -4191,6 +4562,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_postsavehook' => [
'name' => 'add_php_postsavehook',
@@ -4207,6 +4579,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_javascript_view_file' => [
'name' => 'add_javascript_view_file',
@@ -4223,6 +4596,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_allowadd' => [
'name' => 'add_php_allowadd',
@@ -4239,6 +4613,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'javascript_view_file' => [
'name' => 'javascript_view_file',
@@ -4255,6 +4630,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_allowedit' => [
'name' => 'add_php_allowedit',
@@ -4271,6 +4647,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_javascript_view_footer' => [
'name' => 'add_javascript_view_footer',
@@ -4287,6 +4664,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_before_cancel' => [
'name' => 'add_php_before_cancel',
@@ -4303,6 +4681,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'javascript_view_footer' => [
'name' => 'javascript_view_footer',
@@ -4319,6 +4698,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_after_cancel' => [
'name' => 'add_php_after_cancel',
@@ -4335,6 +4715,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_javascript_views_file' => [
'name' => 'add_javascript_views_file',
@@ -4351,6 +4732,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_batchcopy' => [
'name' => 'add_php_batchcopy',
@@ -4367,6 +4749,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'javascript_views_file' => [
'name' => 'javascript_views_file',
@@ -4383,6 +4766,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_batchmove' => [
'name' => 'add_php_batchmove',
@@ -4399,6 +4783,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_javascript_views_footer' => [
'name' => 'add_javascript_views_footer',
@@ -4415,6 +4800,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_before_publish' => [
'name' => 'add_php_before_publish',
@@ -4431,6 +4817,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'javascript_views_footer' => [
'name' => 'javascript_views_footer',
@@ -4447,6 +4834,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_after_publish' => [
'name' => 'add_php_after_publish',
@@ -4463,6 +4851,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_custom_button' => [
'name' => 'add_custom_button',
@@ -4479,6 +4868,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_before_delete' => [
'name' => 'add_php_before_delete',
@@ -4495,6 +4885,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'custom_button' => [
'name' => 'custom_button',
@@ -4511,6 +4902,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_after_delete' => [
'name' => 'add_php_after_delete',
@@ -4527,6 +4919,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_controller' => [
'name' => 'php_controller',
@@ -4543,6 +4936,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_document' => [
'name' => 'add_php_document',
@@ -4559,6 +4953,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_model' => [
'name' => 'php_model',
@@ -4575,6 +4970,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'mysql_table_engine' => [
'name' => 'mysql_table_engine',
@@ -4591,6 +4987,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_controller_list' => [
'name' => 'php_controller_list',
@@ -4607,6 +5004,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'mysql_table_collate' => [
'name' => 'mysql_table_collate',
@@ -4623,6 +5021,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_model_list' => [
'name' => 'php_model_list',
@@ -4639,6 +5038,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_sql' => [
'name' => 'add_sql',
@@ -4655,6 +5055,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_ajax' => [
'name' => 'add_php_ajax',
@@ -4671,6 +5072,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'addtables' => [
'name' => 'addtables',
@@ -4687,6 +5089,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_ajaxmethod' => [
'name' => 'php_ajaxmethod',
@@ -4703,6 +5106,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'ajax_input' => [
'name' => 'ajax_input',
@@ -4719,6 +5123,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_custom_import' => [
'name' => 'add_custom_import',
@@ -4735,6 +5140,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_getitem' => [
'name' => 'add_php_getitem',
@@ -4751,6 +5157,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'html_import_view' => [
'name' => 'html_import_view',
@@ -4767,6 +5174,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_getitem' => [
'name' => 'php_getitem',
@@ -4783,6 +5191,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_import_headers' => [
'name' => 'php_import_headers',
@@ -4799,6 +5208,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_getitems' => [
'name' => 'add_php_getitems',
@@ -4815,6 +5225,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_import_save' => [
'name' => 'php_import_save',
@@ -4831,6 +5242,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_getitems' => [
'name' => 'php_getitems',
@@ -4847,6 +5259,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -4863,6 +5276,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_getitems_after_all' => [
'name' => 'add_php_getitems_after_all',
@@ -4879,6 +5293,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -4911,6 +5326,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'name' => [
'name' => 'name',
@@ -4927,6 +5343,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -4943,6 +5360,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'main_get' => [
'name' => 'main_get',
@@ -4959,6 +5377,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_php_jview_display' => [
'name' => 'add_php_jview_display',
@@ -4975,6 +5401,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'css_document' => [
'name' => 'css_document',
@@ -4991,6 +5418,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'css' => [
'name' => 'css',
@@ -5007,6 +5435,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'js_document' => [
'name' => 'js_document',
@@ -5023,6 +5452,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'javascript_file' => [
'name' => 'javascript_file',
@@ -5039,6 +5469,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'codename' => [
'name' => 'codename',
@@ -5055,6 +5486,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'default' => [
'name' => 'default',
@@ -5071,6 +5503,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'snippet' => [
'name' => 'snippet',
@@ -5087,6 +5520,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_snippet',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'snippet',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'icon' => [
'name' => 'icon',
@@ -5103,6 +5544,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_jview' => [
'name' => 'add_php_jview',
@@ -5119,6 +5561,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'context' => [
'name' => 'context',
@@ -5135,6 +5578,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_js_document' => [
'name' => 'add_js_document',
@@ -5151,6 +5595,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'custom_get' => [
'name' => 'custom_get',
@@ -5167,6 +5612,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_javascript_file' => [
'name' => 'add_javascript_file',
@@ -5183,6 +5636,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_ajaxmethod' => [
'name' => 'php_ajaxmethod',
@@ -5199,6 +5653,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_css_document' => [
'name' => 'add_css_document',
@@ -5215,6 +5670,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_document' => [
'name' => 'add_php_document',
@@ -5231,6 +5687,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_css' => [
'name' => 'add_css',
@@ -5247,6 +5704,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_view' => [
'name' => 'add_php_view',
@@ -5263,6 +5721,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_ajax' => [
'name' => 'add_php_ajax',
@@ -5279,6 +5738,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'libraries' => [
'name' => 'libraries',
@@ -5295,6 +5755,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'ajax_input' => [
'name' => 'ajax_input',
@@ -5311,6 +5779,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'dynamic_get' => [
'name' => 'dynamic_get',
@@ -5327,6 +5796,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'php_document' => [
'name' => 'php_document',
@@ -5343,6 +5820,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_view' => [
'name' => 'php_view',
@@ -5359,6 +5837,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_custom_button' => [
'name' => 'add_custom_button',
@@ -5375,6 +5854,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_jview_display' => [
'name' => 'php_jview_display',
@@ -5391,6 +5871,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'custom_button' => [
'name' => 'custom_button',
@@ -5407,6 +5888,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_jview' => [
'name' => 'php_jview',
@@ -5423,6 +5905,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_controller' => [
'name' => 'php_controller',
@@ -5439,6 +5922,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -5455,6 +5939,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_model' => [
'name' => 'php_model',
@@ -5471,6 +5956,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -5503,6 +5989,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'name' => [
'name' => 'name',
@@ -5519,6 +6006,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -5535,6 +6023,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'main_get' => [
'name' => 'main_get',
@@ -5551,6 +6040,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_php_jview_display' => [
'name' => 'add_php_jview_display',
@@ -5567,6 +6064,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_document' => [
'name' => 'add_php_document',
@@ -5583,6 +6081,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_view' => [
'name' => 'add_php_view',
@@ -5599,6 +6098,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'js_document' => [
'name' => 'js_document',
@@ -5615,6 +6115,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'codename' => [
'name' => 'codename',
@@ -5631,6 +6132,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'javascript_file' => [
'name' => 'javascript_file',
@@ -5647,6 +6149,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'context' => [
'name' => 'context',
@@ -5663,6 +6166,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'default' => [
'name' => 'default',
@@ -5679,6 +6183,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'snippet' => [
'name' => 'snippet',
@@ -5695,6 +6200,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_snippet',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'snippet',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_php_jview' => [
'name' => 'add_php_jview',
@@ -5711,6 +6224,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'custom_get' => [
'name' => 'custom_get',
@@ -5727,6 +6241,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'css_document' => [
'name' => 'css_document',
@@ -5743,6 +6265,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_javascript_file' => [
'name' => 'add_javascript_file',
@@ -5759,6 +6282,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'css' => [
'name' => 'css',
@@ -5775,6 +6299,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_js_document' => [
'name' => 'add_js_document',
@@ -5791,6 +6316,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_ajaxmethod' => [
'name' => 'php_ajaxmethod',
@@ -5807,6 +6333,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_css_document' => [
'name' => 'add_css_document',
@@ -5823,6 +6350,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'libraries' => [
'name' => 'libraries',
@@ -5839,6 +6367,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_css' => [
'name' => 'add_css',
@@ -5855,6 +6391,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'dynamic_get' => [
'name' => 'dynamic_get',
@@ -5871,6 +6408,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'add_php_ajax' => [
'name' => 'add_php_ajax',
@@ -5887,6 +6432,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'ajax_input' => [
'name' => 'ajax_input',
@@ -5903,6 +6449,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_custom_button' => [
'name' => 'add_custom_button',
@@ -5919,6 +6466,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_document' => [
'name' => 'php_document',
@@ -5935,6 +6483,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'button_position' => [
'name' => 'button_position',
@@ -5951,6 +6500,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_view' => [
'name' => 'php_view',
@@ -5967,6 +6517,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_jview_display' => [
'name' => 'php_jview_display',
@@ -5983,6 +6534,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'custom_button' => [
'name' => 'custom_button',
@@ -5999,6 +6551,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_jview' => [
'name' => 'php_jview',
@@ -6015,6 +6568,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_controller' => [
'name' => 'php_controller',
@@ -6031,6 +6585,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -6047,6 +6602,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_model' => [
'name' => 'php_model',
@@ -6063,6 +6619,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -6095,6 +6652,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -6111,6 +6669,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'dynamic_get' => [
'name' => 'dynamic_get',
@@ -6127,6 +6686,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'php_view' => [
'name' => 'php_view',
@@ -6143,6 +6710,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_view' => [
'name' => 'add_php_view',
@@ -6159,6 +6727,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'template' => [
'name' => 'template',
@@ -6175,6 +6744,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'snippet' => [
'name' => 'snippet',
@@ -6191,6 +6761,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_snippet',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'snippet',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'libraries' => [
'name' => 'libraries',
@@ -6207,6 +6785,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'alias' => [
'name' => 'alias',
@@ -6223,6 +6809,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -6255,6 +6842,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -6271,6 +6859,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'dynamic_get' => [
'name' => 'dynamic_get',
@@ -6287,6 +6876,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_dynamic_get',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'dynamic_get',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'snippet' => [
'name' => 'snippet',
@@ -6303,6 +6900,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_snippet',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'snippet',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'php_view' => [
'name' => 'php_view',
@@ -6319,6 +6924,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_view' => [
'name' => 'add_php_view',
@@ -6335,6 +6941,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'layout' => [
'name' => 'layout',
@@ -6351,6 +6958,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'libraries' => [
'name' => 'libraries',
@@ -6367,6 +6975,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'alias' => [
'name' => 'alias',
@@ -6383,6 +6999,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -6415,6 +7032,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'main_source' => [
'name' => 'main_source',
@@ -6431,6 +7049,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'gettype' => [
'name' => 'gettype',
@@ -6447,6 +7066,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_calculation' => [
'name' => 'php_calculation',
@@ -6463,6 +7083,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_router_parse' => [
'name' => 'php_router_parse',
@@ -6479,6 +7100,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_after_getitems' => [
'name' => 'add_php_after_getitems',
@@ -6495,6 +7117,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_router_parse' => [
'name' => 'add_php_router_parse',
@@ -6511,6 +7134,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'view_selection' => [
'name' => 'view_selection',
@@ -6527,6 +7151,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_php_before_getitems' => [
'name' => 'add_php_before_getitems',
@@ -6543,6 +7168,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_before_getitem' => [
'name' => 'add_php_before_getitem',
@@ -6559,6 +7185,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_php_after_getitem' => [
'name' => 'add_php_after_getitem',
@@ -6575,6 +7202,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'db_table_main' => [
'name' => 'db_table_main',
@@ -6591,6 +7219,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 2,
+ 'table' => '',
+ 'component' => '',
+ 'entity' => '',
+ 'value' => '',
+ 'key' => '',
+ ],
],
'php_custom_get' => [
'name' => 'php_custom_get',
@@ -6607,6 +7243,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'plugin_events' => [
'name' => 'plugin_events',
@@ -6623,6 +7260,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'db_selection' => [
'name' => 'db_selection',
@@ -6639,6 +7277,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'view_table_main' => [
'name' => 'view_table_main',
@@ -6655,6 +7294,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_admin_view',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'admin_view',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'add_php_getlistquery' => [
'name' => 'add_php_getlistquery',
@@ -6671,6 +7318,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'join_db_table' => [
'name' => 'join_db_table',
@@ -6687,6 +7335,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'select_all' => [
'name' => 'select_all',
@@ -6703,6 +7352,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_before_getitem' => [
'name' => 'php_before_getitem',
@@ -6719,6 +7369,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'getcustom' => [
'name' => 'getcustom',
@@ -6735,6 +7386,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_after_getitem' => [
'name' => 'php_after_getitem',
@@ -6751,6 +7403,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'pagination' => [
'name' => 'pagination',
@@ -6767,6 +7420,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'php_getlistquery' => [
'name' => 'php_getlistquery',
@@ -6783,6 +7437,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_before_getitems' => [
'name' => 'php_before_getitems',
@@ -6799,6 +7454,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'filter' => [
'name' => 'filter',
@@ -6815,6 +7471,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_after_getitems' => [
'name' => 'php_after_getitems',
@@ -6831,6 +7488,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'where' => [
'name' => 'where',
@@ -6847,6 +7505,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'order' => [
'name' => 'order',
@@ -6863,6 +7522,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addcalculation' => [
'name' => 'addcalculation',
@@ -6879,6 +7539,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'group' => [
'name' => 'group',
@@ -6895,6 +7556,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'global' => [
'name' => 'global',
@@ -6911,6 +7573,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -6927,6 +7590,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'join_view_table' => [
'name' => 'join_view_table',
@@ -6943,6 +7607,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -6975,6 +7640,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'path' => [
'name' => 'path',
@@ -6991,6 +7664,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'target' => [
'name' => 'target',
@@ -7007,6 +7681,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'type' => [
'name' => 'type',
@@ -7023,6 +7698,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'comment_type' => [
'name' => 'comment_type',
@@ -7039,6 +7715,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'joomla_version' => [
'name' => 'joomla_version',
@@ -7055,6 +7732,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'function_name' => [
'name' => 'function_name',
@@ -7071,6 +7749,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'system_name' => [
'name' => 'system_name',
@@ -7087,6 +7766,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'code' => [
'name' => 'code',
@@ -7103,6 +7783,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'hashendtarget' => [
'name' => 'hashendtarget',
@@ -7119,6 +7800,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'to_line' => [
'name' => 'to_line',
@@ -7135,6 +7817,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'from_line' => [
'name' => 'from_line',
@@ -7151,6 +7834,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'hashtarget' => [
'name' => 'hashtarget',
@@ -7167,6 +7851,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -7199,6 +7884,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'visibility' => [
'name' => 'visibility',
@@ -7215,6 +7901,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'extension_type' => [
'name' => 'extension_type',
@@ -7231,6 +7918,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -7247,6 +7935,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'comment' => [
'name' => 'comment',
@@ -7263,6 +7952,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'joomla_plugin_group' => [
'name' => 'joomla_plugin_group',
@@ -7279,6 +7969,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_plugin_group',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_plugin_group',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'default' => [
'name' => 'default',
@@ -7295,6 +7993,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -7327,6 +8026,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'visibility' => [
'name' => 'visibility',
@@ -7343,6 +8043,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'extension_type' => [
'name' => 'extension_type',
@@ -7359,6 +8060,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -7375,6 +8077,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'code' => [
'name' => 'code',
@@ -7391,6 +8094,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'comment' => [
'name' => 'comment',
@@ -7407,6 +8111,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'joomla_plugin_group' => [
'name' => 'joomla_plugin_group',
@@ -7423,6 +8128,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_plugin_group',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_plugin_group',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'arguments' => [
'name' => 'arguments',
@@ -7439,6 +8152,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -7471,6 +8185,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'value' => [
'name' => 'value',
@@ -7487,6 +8202,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -7519,6 +8235,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'target' => [
'name' => 'target',
@@ -7535,6 +8252,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'how' => [
'name' => 'how',
@@ -7551,6 +8269,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 2,
+ 'table' => '',
+ 'component' => '',
+ 'entity' => '',
+ 'value' => '',
+ 'key' => '',
+ ],
],
'type' => [
'name' => 'type',
@@ -7567,6 +8293,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -7583,6 +8310,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'libraries' => [
'name' => 'libraries',
@@ -7599,6 +8327,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'php_setdocument' => [
'name' => 'php_setdocument',
@@ -7615,6 +8351,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addconditions' => [
'name' => 'addconditions',
@@ -7631,6 +8368,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -7647,6 +8385,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -7679,6 +8418,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'url' => [
'name' => 'url',
@@ -7695,6 +8435,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'type' => [
'name' => 'type',
@@ -7711,6 +8452,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_snippet_type',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'snippet_type',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'heading' => [
'name' => 'heading',
@@ -7727,6 +8476,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'library' => [
'name' => 'library',
@@ -7743,6 +8493,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'guid' => [
'name' => 'guid',
@@ -7759,6 +8517,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'contributor_email' => [
'name' => 'contributor_email',
@@ -7775,6 +8534,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'contributor_name' => [
'name' => 'contributor_name',
@@ -7791,6 +8551,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'contributor_website' => [
'name' => 'contributor_website',
@@ -7807,6 +8568,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'contributor_company' => [
'name' => 'contributor_company',
@@ -7823,6 +8585,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'snippet' => [
'name' => 'snippet',
@@ -7839,6 +8602,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'usage' => [
'name' => 'usage',
@@ -7855,6 +8619,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -7871,6 +8636,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -7903,6 +8669,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'short_description' => [
'name' => 'short_description',
@@ -7919,6 +8686,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'inherit' => [
'name' => 'inherit',
@@ -7935,6 +8703,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_validation_rule',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'validation_rule',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'php' => [
'name' => 'php',
@@ -7951,6 +8727,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -7983,6 +8760,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'fieldtype' => [
'name' => 'fieldtype',
@@ -7999,6 +8777,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_fieldtype',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'fieldtype',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'datatype' => [
'name' => 'datatype',
@@ -8015,6 +8801,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'indexes' => [
'name' => 'indexes',
@@ -8031,6 +8818,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'null_switch' => [
'name' => 'null_switch',
@@ -8047,6 +8835,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'store' => [
'name' => 'store',
@@ -8063,6 +8852,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'catid' => [
'name' => 'catid',
@@ -8079,6 +8869,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'on_get_model_field' => [
'name' => 'on_get_model_field',
@@ -8095,6 +8886,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'on_save_model_field' => [
'name' => 'on_save_model_field',
@@ -8111,6 +8903,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'initiator_on_get_model' => [
'name' => 'initiator_on_get_model',
@@ -8127,6 +8920,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'xml' => [
'name' => 'xml',
@@ -8143,6 +8937,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'datalenght' => [
'name' => 'datalenght',
@@ -8159,6 +8954,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'javascript_view_footer' => [
'name' => 'javascript_view_footer',
@@ -8175,6 +8971,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'css_views' => [
'name' => 'css_views',
@@ -8191,6 +8988,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'css_view' => [
'name' => 'css_view',
@@ -8207,6 +9005,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'datadefault_other' => [
'name' => 'datadefault_other',
@@ -8223,6 +9022,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'datadefault' => [
'name' => 'datadefault',
@@ -8239,6 +9039,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'datalenght_other' => [
'name' => 'datalenght_other',
@@ -8255,6 +9056,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'javascript_views_footer' => [
'name' => 'javascript_views_footer',
@@ -8271,6 +9073,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'add_css_view' => [
'name' => 'add_css_view',
@@ -8287,6 +9090,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_css_views' => [
'name' => 'add_css_views',
@@ -8303,6 +9107,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_javascript_view_footer' => [
'name' => 'add_javascript_view_footer',
@@ -8319,6 +9124,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'add_javascript_views_footer' => [
'name' => 'add_javascript_views_footer',
@@ -8335,6 +9141,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'initiator_on_save_model' => [
'name' => 'initiator_on_save_model',
@@ -8351,6 +9158,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -8367,6 +9175,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -8399,6 +9208,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'store' => [
'name' => 'store',
@@ -8415,6 +9225,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'null_switch' => [
'name' => 'null_switch',
@@ -8431,6 +9242,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'indexes' => [
'name' => 'indexes',
@@ -8447,6 +9259,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'datadefault_other' => [
'name' => 'datadefault_other',
@@ -8463,6 +9276,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'datadefault' => [
'name' => 'datadefault',
@@ -8479,6 +9293,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'short_description' => [
'name' => 'short_description',
@@ -8495,6 +9310,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'datatype' => [
'name' => 'datatype',
@@ -8511,6 +9327,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'has_defaults' => [
'name' => 'has_defaults',
@@ -8527,6 +9344,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'properties' => [
'name' => 'properties',
@@ -8543,6 +9361,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -8559,6 +9378,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'datalenght' => [
'name' => 'datalenght',
@@ -8575,6 +9395,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'datalenght_other' => [
'name' => 'datalenght_other',
@@ -8591,6 +9412,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -8607,6 +9429,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'catid' => [
'name' => 'catid',
@@ -8623,6 +9446,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -8655,6 +9479,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'plugins' => [
'name' => 'plugins',
@@ -8671,6 +9496,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_plugin',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_plugin',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'modules' => [
'name' => 'modules',
@@ -8687,6 +9520,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_module',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_module',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'components' => [
'name' => 'components',
@@ -8703,6 +9544,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'translation' => [
'name' => 'translation',
@@ -8719,6 +9568,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -8751,6 +9601,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'langtag' => [
'name' => 'langtag',
@@ -8767,6 +9618,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -8799,6 +9651,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'protocol' => [
'name' => 'protocol',
@@ -8815,6 +9668,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'signature' => [
'name' => 'signature',
@@ -8831,6 +9685,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'private_key' => [
'name' => 'private_key',
@@ -8847,6 +9702,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'secret' => [
'name' => 'secret',
@@ -8863,6 +9719,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'password' => [
'name' => 'password',
@@ -8879,6 +9736,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'private' => [
'name' => 'private',
@@ -8895,6 +9753,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'authentication' => [
'name' => 'authentication',
@@ -8911,6 +9770,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'path' => [
'name' => 'path',
@@ -8927,6 +9787,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'port' => [
'name' => 'port',
@@ -8943,6 +9804,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'host' => [
'name' => 'host',
@@ -8959,6 +9821,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'username' => [
'name' => 'username',
@@ -8975,6 +9838,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9007,6 +9871,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'organisation' => [
'name' => 'organisation',
@@ -9023,6 +9888,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'repository' => [
'name' => 'repository',
@@ -9039,6 +9905,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'target' => [
'name' => 'target',
@@ -9055,6 +9922,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'type' => [
'name' => 'type',
@@ -9071,6 +9939,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'base' => [
'name' => 'base',
@@ -9087,6 +9956,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'guid' => [
'name' => 'guid',
@@ -9103,6 +9973,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'addplaceholders' => [
'name' => 'addplaceholders',
@@ -9119,6 +9990,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access_repo' => [
'name' => 'access_repo',
@@ -9135,6 +10007,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'write_branch' => [
'name' => 'write_branch',
@@ -9151,6 +10024,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'read_branch' => [
'name' => 'read_branch',
@@ -9167,6 +10041,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'token' => [
'name' => 'token',
@@ -9183,6 +10058,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'username' => [
'name' => 'username',
@@ -9199,6 +10075,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9231,6 +10108,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'type' => [
'name' => 'type',
@@ -9247,6 +10125,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'groups' => [
'name' => 'groups',
@@ -9263,6 +10142,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'location' => [
'name' => 'location',
@@ -9279,6 +10159,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'admin_view' => [
'name' => 'admin_view',
@@ -9295,6 +10176,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 2,
+ 'table' => '',
+ 'component' => '',
+ 'entity' => '',
+ 'value' => '',
+ 'key' => '',
+ ],
],
'site_view' => [
'name' => 'site_view',
@@ -9311,6 +10200,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => [
+ 'type' => 2,
+ 'table' => '',
+ 'component' => '',
+ 'entity' => '',
+ 'value' => '',
+ 'key' => '',
+ ],
],
'alias' => [
'name' => 'alias',
@@ -9327,6 +10224,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'content' => [
'name' => 'content',
@@ -9343,6 +10241,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'article' => [
'name' => 'article',
@@ -9359,6 +10258,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__content',
+ 'component' => 'com_content',
+ 'entity' => 'article',
+ 'value' => 'title',
+ 'key' => 'id',
+ ],
],
'url' => [
'name' => 'url',
@@ -9375,6 +10282,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'target' => [
'name' => 'target',
@@ -9391,6 +10299,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
],
'admin_fields' => [
@@ -9409,6 +10318,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_admin_view',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'admin_view',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addfields' => [
'name' => 'addfields',
@@ -9425,6 +10342,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9457,6 +10375,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_admin_view',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'admin_view',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addconditions' => [
'name' => 'addconditions',
@@ -9473,6 +10399,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9505,6 +10432,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_admin_view',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'admin_view',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addrelations' => [
'name' => 'addrelations',
@@ -9521,6 +10456,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9553,6 +10489,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_admin_view',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'admin_view',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'tabs' => [
'name' => 'tabs',
@@ -9569,6 +10513,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9601,6 +10546,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addadmin_views' => [
'name' => 'addadmin_views',
@@ -9617,6 +10570,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9649,6 +10603,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addsite_views' => [
'name' => 'addsite_views',
@@ -9665,6 +10627,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9697,6 +10660,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addcustom_admin_views' => [
'name' => 'addcustom_admin_views',
@@ -9713,6 +10684,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9745,6 +10717,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'version_update' => [
'name' => 'version_update',
@@ -9761,6 +10741,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9793,6 +10774,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'sql_tweak' => [
'name' => 'sql_tweak',
@@ -9809,6 +10798,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9841,6 +10831,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addcustommenus' => [
'name' => 'addcustommenus',
@@ -9857,6 +10855,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -9889,6 +10888,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'mode_constructor_before_parent' => [
'name' => 'mode_constructor_before_parent',
@@ -9905,6 +10912,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'mode_constructor_after_parent' => [
'name' => 'mode_constructor_after_parent',
@@ -9921,6 +10929,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'mode_methods' => [
'name' => 'mode_methods',
@@ -9937,6 +10946,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'methods_code' => [
'name' => 'methods_code',
@@ -9953,6 +10963,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'constructor_after_parent_code' => [
'name' => 'constructor_after_parent_code',
@@ -9969,6 +10980,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'constructor_before_parent_manual' => [
'name' => 'constructor_before_parent_manual',
@@ -9985,6 +10997,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'constructor_before_parent_code' => [
'name' => 'constructor_before_parent_code',
@@ -10001,6 +11014,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10033,6 +11047,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addconfig' => [
'name' => 'addconfig',
@@ -10049,6 +11071,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10081,6 +11104,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'dashboard_tab' => [
'name' => 'dashboard_tab',
@@ -10097,6 +11128,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'php_dashboard_methods' => [
'name' => 'php_dashboard_methods',
@@ -10113,6 +11145,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10145,6 +11178,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addfoldersfullpath' => [
'name' => 'addfoldersfullpath',
@@ -10161,6 +11202,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfilesfullpath' => [
'name' => 'addfilesfullpath',
@@ -10177,6 +11219,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfolders' => [
'name' => 'addfolders',
@@ -10193,6 +11236,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfiles' => [
'name' => 'addfiles',
@@ -10209,6 +11253,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10241,6 +11286,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addplaceholders' => [
'name' => 'addplaceholders',
@@ -10257,6 +11310,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10289,6 +11343,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addjoomla_plugins' => [
'name' => 'addjoomla_plugins',
@@ -10305,6 +11367,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10337,6 +11400,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_component',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_component',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addjoomla_modules' => [
'name' => 'addjoomla_modules',
@@ -10353,6 +11424,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10385,6 +11457,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'description' => [
'name' => 'description',
@@ -10401,6 +11474,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10433,6 +11507,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'addconfig' => [
'name' => 'addconfig',
@@ -10449,6 +11531,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10481,6 +11564,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_library',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'library',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'addfoldersfullpath' => [
'name' => 'addfoldersfullpath',
@@ -10497,6 +11588,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfilesfullpath' => [
'name' => 'addfilesfullpath',
@@ -10513,6 +11605,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfolders' => [
'name' => 'addfolders',
@@ -10529,6 +11622,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfiles' => [
'name' => 'addfiles',
@@ -10545,6 +11639,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addurls' => [
'name' => 'addurls',
@@ -10561,6 +11656,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10593,6 +11689,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'extension_type' => [
'name' => 'extension_type',
@@ -10609,6 +11706,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'head' => [
'name' => 'head',
@@ -10625,6 +11723,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'comment' => [
'name' => 'comment',
@@ -10641,6 +11740,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10673,6 +11773,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_module',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_module',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'version_update' => [
'name' => 'version_update',
@@ -10689,6 +11797,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10721,6 +11830,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_module',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_module',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addfoldersfullpath' => [
'name' => 'addfoldersfullpath',
@@ -10737,6 +11854,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfilesfullpath' => [
'name' => 'addfilesfullpath',
@@ -10753,6 +11871,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfolders' => [
'name' => 'addfolders',
@@ -10769,6 +11888,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfiles' => [
'name' => 'addfiles',
@@ -10785,6 +11905,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addurls' => [
'name' => 'addurls',
@@ -10801,6 +11922,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10833,6 +11955,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => NULL,
],
'class_extends' => [
'name' => 'class_extends',
@@ -10849,6 +11972,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_class_extends',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'class_extends',
+ 'value' => 'name',
+ 'key' => 'id',
+ ],
],
'access' => [
'name' => 'access',
@@ -10881,6 +12012,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_plugin',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_plugin',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'version_update' => [
'name' => 'version_update',
@@ -10897,6 +12036,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
@@ -10929,6 +12069,14 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => true,
],
+ 'link' => [
+ 'type' => 1,
+ 'table' => '#__componentbuilder_joomla_plugin',
+ 'component' => 'com_componentbuilder',
+ 'entity' => 'joomla_plugin',
+ 'value' => 'system_name',
+ 'key' => 'id',
+ ],
],
'addfoldersfullpath' => [
'name' => 'addfoldersfullpath',
@@ -10945,6 +12093,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfilesfullpath' => [
'name' => 'addfilesfullpath',
@@ -10961,6 +12110,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfolders' => [
'name' => 'addfolders',
@@ -10977,6 +12127,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addfiles' => [
'name' => 'addfiles',
@@ -10993,6 +12144,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'addurls' => [
'name' => 'addurls',
@@ -11009,6 +12161,7 @@ final class Table extends BaseTable implements Tableinterface
'unique_key' => false,
'key' => false,
],
+ 'link' => NULL,
],
'access' => [
'name' => 'access',
diff --git a/media/js/admin_fields_relations.js b/media/js/admin_fields_relations.js
index 957ab6c2d..aecf9b115 100644
--- a/media/js/admin_fields_relations.js
+++ b/media/js/admin_fields_relations.js
@@ -109,12 +109,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/admin_view.js b/media/js/admin_view.js
index 7493d3eb5..0653e57db 100644
--- a/media/js/admin_view.js
+++ b/media/js/admin_view.js
@@ -1002,12 +1002,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/class_extends.js b/media/js/class_extends.js
index 10c2e2aa3..fa2f080a1 100644
--- a/media/js/class_extends.js
+++ b/media/js/class_extends.js
@@ -55,12 +55,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/class_method.js b/media/js/class_method.js
index 6de104cf7..74f5ba652 100644
--- a/media/js/class_method.js
+++ b/media/js/class_method.js
@@ -170,12 +170,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/class_property.js b/media/js/class_property.js
index cb1ee0d74..f3324332b 100644
--- a/media/js/class_property.js
+++ b/media/js/class_property.js
@@ -170,12 +170,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/component_dashboard.js b/media/js/component_dashboard.js
index cfa526706..dbc2ab8e2 100644
--- a/media/js/component_dashboard.js
+++ b/media/js/component_dashboard.js
@@ -53,12 +53,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/component_router.js b/media/js/component_router.js
index ecd8d798e..6c610be21 100644
--- a/media/js/component_router.js
+++ b/media/js/component_router.js
@@ -52,12 +52,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/custom_admin_view.js b/media/js/custom_admin_view.js
index 70e7f7680..b51dad6a0 100644
--- a/media/js/custom_admin_view.js
+++ b/media/js/custom_admin_view.js
@@ -275,69 +275,99 @@ function getSnippetDetails(id){
})
}
-function getDynamicValues_server(dynamicId){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getDynamicValues&format=json");
- if(token.length > 0 && dynamicId > 0){
- var request = token+'=1&view=custom_admin_view&id='+dynamicId;
- }
- return jQuery.ajax({
- type: 'GET',
- url: getUrl,
- dataType: 'jsonp',
- data: request,
- jsonp: 'callback'
- });
+function getDynamicValuesServer(dynamicId) {
+ var getUrl = 'index.php?option=com_componentbuilder&task=ajax.getDynamicValues&raw=true&format=json';
+ if (token.length > 0 && dynamicId > 0) {
+ var request = token + '=1&view=custom_admin_view&id=' + dynamicId;
+ }
+
+ return fetch(getUrl + '&' + request, {
+ method: 'GET',
+ headers: {
+ 'Content-Type': 'application/json',
+ }
+ })
+ .then(response => response.json());
}
-function getDynamicValues(id){
- getDynamicValues_server(id).done(function(result) {
- if(result){
- jQuery('#dynamic_values').remove();
- jQuery('.dynamic_values').append(''+result+'
');
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getDynamicValues(id) {
+ getDynamicValuesServer(id).then(function(result) {
+ if (result) {
+ var dynamicValuesElement = document.getElementById('dynamic_values');
+ if (dynamicValuesElement) {
+ dynamicValuesElement.remove();
+ }
+ document.querySelector('.dynamic_values').insertAdjacentHTML('beforeend', '' + result + '
');
+
+ // Event listener for code blocks
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText(); // Call the custom selText function
+ codeBlock.classList.add("selected"); // Add the "selected" class
+ });
+ });
+ }
+ }).catch(function(error) {
+ console.error('Error fetching dynamic values:', error);
+ });
}
-function getLayoutDetails_server(id){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getLayoutDetails&format=json&vdm="+vastDevMod);
- if(token.length > 0 && id > 0){
- var request = token+'=1&id='+id;
- }
- return jQuery.ajax({
- type: 'GET',
- url: getUrl,
- dataType: 'jsonp',
- data: request,
- jsonp: 'callback'
- });
+function getLayoutDetails_server(id) {
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getLayoutDetails&format=json&raw=true&vdm=" + vastDevMod);
+ var request = '';
+
+ // Ensure token and id are present
+ if (token.length > 0 && id > 0) {
+ request = token + '=1&id=' + id;
+ }
+
+ // Return a fetch promise (fetch does not support JSONP, so I assume the server can return JSON)
+ return fetch(getUrl + '&' + request, {
+ method: 'GET'
+ })
+ .then(function(response) {
+ if (!response.ok) {
+ throw new Error("Network response was not ok");
+ }
+ return response.json(); // Assuming the server returns JSON
+ });
}
-function getLayoutDetails(id){
- getLayoutDetails_server(id).done(function(result) {
- if(result){
- jQuery('#details').append(result);
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getLayoutDetails(id) {
+ getLayoutDetails_server(id)
+ .then(function(result) {
+ if (result) {
+ document.querySelector('#details').insertAdjacentHTML('beforeend', result);
+
+ // Re-enable code block text selection functionality
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText();
+ codeBlock.classList.add("selected");
+ });
+ });
+ }
+ })
+ .catch(function(error) {
+ console.error('There was a problem with the fetch operation:', error);
+ });
}
+
-function getTemplateDetails(id){
- getCodeFrom_server(id, 'type', 'type', 'templateDetails').then(function(result) {
- if(result){
- jQuery('#details').append(result);
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getTemplateDetails(id) {
+ getCodeFrom_server(id, 'type', 'type', 'templateDetails').then(function(result) {
+ if (result) {
+ document.querySelector('#details').insertAdjacentHTML('beforeend', result);
+
+ // Re-enable code block text selection functionality
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText();
+ codeBlock.classList.add("selected");
+ });
+ });
+ }
+ });
}
// set snippets that are on the page
@@ -435,12 +465,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/custom_code.js b/media/js/custom_code.js
index 05d0e7042..d30b90f9b 100644
--- a/media/js/custom_code.js
+++ b/media/js/custom_code.js
@@ -408,12 +408,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/dynamic_get.js b/media/js/dynamic_get.js
index 1e5ee109c..ac55cf526 100644
--- a/media/js/dynamic_get.js
+++ b/media/js/dynamic_get.js
@@ -1656,12 +1656,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/field.js b/media/js/field.js
index ace637768..b7bddc8a5 100644
--- a/media/js/field.js
+++ b/media/js/field.js
@@ -855,12 +855,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/fieldtype.js b/media/js/fieldtype.js
index de208b2ce..e37647ed8 100644
--- a/media/js/fieldtype.js
+++ b/media/js/fieldtype.js
@@ -940,12 +940,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/joomla_component.js b/media/js/joomla_component.js
index edd73ce0e..70d118f8b 100644
--- a/media/js/joomla_component.js
+++ b/media/js/joomla_component.js
@@ -544,12 +544,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/joomla_module.js b/media/js/joomla_module.js
index 4523b29a9..7e91c44e3 100644
--- a/media/js/joomla_module.js
+++ b/media/js/joomla_module.js
@@ -388,12 +388,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/joomla_plugin.js b/media/js/joomla_plugin.js
index 0b6c1edf7..d688257db 100644
--- a/media/js/joomla_plugin.js
+++ b/media/js/joomla_plugin.js
@@ -746,12 +746,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/layout.js b/media/js/layout.js
index a35dcccc1..ae1faecc8 100644
--- a/media/js/layout.js
+++ b/media/js/layout.js
@@ -39,8 +39,7 @@ function isSet(val)
}
-jQuery(document).ready(function($)
-{
+document.addEventListener("DOMContentLoaded", function() {
// check and load all the custom code edit buttons
getEditCustomCodeButtons();
});
@@ -105,12 +104,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
@@ -154,58 +157,84 @@ function getSnippetDetails(id){
})
}
-function getDynamicValues_server(dynamicId){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getDynamicValues&format=json");
- if(token.length > 0 && dynamicId > 0){
- var request = token+'=1&view=layout&id='+dynamicId;
- }
- return jQuery.ajax({
- type: 'GET',
- url: getUrl,
- dataType: 'jsonp',
- data: request,
- jsonp: 'callback'
- });
+function getDynamicValuesServer(dynamicId) {
+ var getUrl = 'index.php?option=com_componentbuilder&task=ajax.getDynamicValues&raw=true&format=json';
+ if (token.length > 0 && dynamicId > 0) {
+ var request = token + '=1&view=layout&id=' + dynamicId;
+ }
+
+ return fetch(getUrl + '&' + request, {
+ method: 'GET',
+ headers: {
+ 'Content-Type': 'application/json',
+ }
+ })
+ .then(response => response.json());
}
-function getDynamicValues(id){
- getDynamicValues_server(id).done(function(result) {
- if(result){
- jQuery('#dynamic_values').remove();
- jQuery('.dynamic_values').append(''+result+'
');
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getDynamicValues(id) {
+ getDynamicValuesServer(id).then(function(result) {
+ if (result) {
+ var dynamicValuesElement = document.getElementById('dynamic_values');
+ if (dynamicValuesElement) {
+ dynamicValuesElement.remove();
+ }
+ document.querySelector('.dynamic_values').insertAdjacentHTML('beforeend', '' + result + '
');
+
+ // Event listener for code blocks
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText(); // Call the custom selText function
+ codeBlock.classList.add("selected"); // Add the "selected" class
+ });
+ });
+ }
+ }).catch(function(error) {
+ console.error('Error fetching dynamic values:', error);
+ });
}
-function getLayoutDetails_server(id){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getLayoutDetails&format=json&vdm="+vastDevMod);
- if(token.length > 0 && id > 0){
- var request = token+'=1&id='+id;
- }
- return jQuery.ajax({
- type: 'GET',
- url: getUrl,
- dataType: 'jsonp',
- data: request,
- jsonp: 'callback'
- });
+function getLayoutDetails_server(id) {
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getLayoutDetails&format=json&raw=true&vdm=" + vastDevMod);
+ var request = '';
+
+ // Ensure token and id are present
+ if (token.length > 0 && id > 0) {
+ request = token + '=1&id=' + id;
+ }
+
+ // Return a fetch promise (fetch does not support JSONP, so I assume the server can return JSON)
+ return fetch(getUrl + '&' + request, {
+ method: 'GET'
+ })
+ .then(function(response) {
+ if (!response.ok) {
+ throw new Error("Network response was not ok");
+ }
+ return response.json(); // Assuming the server returns JSON
+ });
}
-function getLayoutDetails(id){
- getLayoutDetails_server(id).done(function(result) {
- if(result){
- jQuery('#details').append(result);
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getLayoutDetails(id) {
+ getLayoutDetails_server(id)
+ .then(function(result) {
+ if (result) {
+ document.querySelector('#details').insertAdjacentHTML('beforeend', result);
+
+ // Re-enable code block text selection functionality
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText();
+ codeBlock.classList.add("selected");
+ });
+ });
+ }
+ })
+ .catch(function(error) {
+ console.error('There was a problem with the fetch operation:', error);
+ });
}
+
// set snippets that are on the page
var snippetIds = [];
diff --git a/media/js/library.js b/media/js/library.js
index e17fd0e41..90221eba5 100644
--- a/media/js/library.js
+++ b/media/js/library.js
@@ -947,12 +947,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/power.js b/media/js/power.js
index a38940b6f..9328819ae 100644
--- a/media/js/power.js
+++ b/media/js/power.js
@@ -510,12 +510,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/site_view.js b/media/js/site_view.js
index dc8ab7eca..ab4b68d52 100644
--- a/media/js/site_view.js
+++ b/media/js/site_view.js
@@ -316,69 +316,99 @@ function getSnippetDetails(id){
})
}
-function getDynamicValues_server(dynamicId){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getDynamicValues&format=json");
- if(token.length > 0 && dynamicId > 0){
- var request = token+'=1&view=site_view&id='+dynamicId;
- }
- return jQuery.ajax({
- type: 'GET',
- url: getUrl,
- dataType: 'jsonp',
- data: request,
- jsonp: 'callback'
- });
+function getDynamicValuesServer(dynamicId) {
+ var getUrl = 'index.php?option=com_componentbuilder&task=ajax.getDynamicValues&raw=true&format=json';
+ if (token.length > 0 && dynamicId > 0) {
+ var request = token + '=1&view=site_view&id=' + dynamicId;
+ }
+
+ return fetch(getUrl + '&' + request, {
+ method: 'GET',
+ headers: {
+ 'Content-Type': 'application/json',
+ }
+ })
+ .then(response => response.json());
}
-function getDynamicValues(id){
- getDynamicValues_server(id).done(function(result) {
- if(result){
- jQuery('#dynamic_values').remove();
- jQuery('.dynamic_values').append(''+result+'
');
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getDynamicValues(id) {
+ getDynamicValuesServer(id).then(function(result) {
+ if (result) {
+ var dynamicValuesElement = document.getElementById('dynamic_values');
+ if (dynamicValuesElement) {
+ dynamicValuesElement.remove();
+ }
+ document.querySelector('.dynamic_values').insertAdjacentHTML('beforeend', '' + result + '
');
+
+ // Event listener for code blocks
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText(); // Call the custom selText function
+ codeBlock.classList.add("selected"); // Add the "selected" class
+ });
+ });
+ }
+ }).catch(function(error) {
+ console.error('Error fetching dynamic values:', error);
+ });
}
-function getLayoutDetails_server(id){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getLayoutDetails&format=json&vdm="+vastDevMod);
- if(token.length > 0 && id > 0){
- var request = token+'=1&id='+id;
- }
- return jQuery.ajax({
- type: 'GET',
- url: getUrl,
- dataType: 'jsonp',
- data: request,
- jsonp: 'callback'
- });
+function getLayoutDetails_server(id) {
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getLayoutDetails&format=json&raw=true&vdm=" + vastDevMod);
+ var request = '';
+
+ // Ensure token and id are present
+ if (token.length > 0 && id > 0) {
+ request = token + '=1&id=' + id;
+ }
+
+ // Return a fetch promise (fetch does not support JSONP, so I assume the server can return JSON)
+ return fetch(getUrl + '&' + request, {
+ method: 'GET'
+ })
+ .then(function(response) {
+ if (!response.ok) {
+ throw new Error("Network response was not ok");
+ }
+ return response.json(); // Assuming the server returns JSON
+ });
}
-function getLayoutDetails(id){
- getLayoutDetails_server(id).done(function(result) {
- if(result){
- jQuery('#details').append(result);
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getLayoutDetails(id) {
+ getLayoutDetails_server(id)
+ .then(function(result) {
+ if (result) {
+ document.querySelector('#details').insertAdjacentHTML('beforeend', result);
+
+ // Re-enable code block text selection functionality
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText();
+ codeBlock.classList.add("selected");
+ });
+ });
+ }
+ })
+ .catch(function(error) {
+ console.error('There was a problem with the fetch operation:', error);
+ });
}
+
-function getTemplateDetails(id){
- getCodeFrom_server(id, 'type', 'type', 'templateDetails').then(function(result) {
- if(result){
- jQuery('#details').append(result);
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getTemplateDetails(id) {
+ getCodeFrom_server(id, 'type', 'type', 'templateDetails').then(function(result) {
+ if (result) {
+ document.querySelector('#details').insertAdjacentHTML('beforeend', result);
+
+ // Re-enable code block text selection functionality
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText();
+ codeBlock.classList.add("selected");
+ });
+ });
+ }
+ });
}
// set snippets that are on the page
@@ -476,12 +506,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
diff --git a/media/js/template.js b/media/js/template.js
index a0e567fec..0767d20d9 100644
--- a/media/js/template.js
+++ b/media/js/template.js
@@ -39,8 +39,7 @@ function isSet(val)
}
-jQuery(document).ready(function($)
-{
+document.addEventListener("DOMContentLoaded", function() {
// check and load all the custom code edit buttons
getEditCustomCodeButtons();
});
@@ -105,12 +104,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}
@@ -154,69 +157,99 @@ function getSnippetDetails(id){
})
}
-function getDynamicValues_server(dynamicId){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getDynamicValues&format=json");
- if(token.length > 0 && dynamicId > 0){
- var request = token+'=1&view=template&id='+dynamicId;
- }
- return jQuery.ajax({
- type: 'GET',
- url: getUrl,
- dataType: 'jsonp',
- data: request,
- jsonp: 'callback'
- });
+function getDynamicValuesServer(dynamicId) {
+ var getUrl = 'index.php?option=com_componentbuilder&task=ajax.getDynamicValues&raw=true&format=json';
+ if (token.length > 0 && dynamicId > 0) {
+ var request = token + '=1&view=template&id=' + dynamicId;
+ }
+
+ return fetch(getUrl + '&' + request, {
+ method: 'GET',
+ headers: {
+ 'Content-Type': 'application/json',
+ }
+ })
+ .then(response => response.json());
}
-function getDynamicValues(id){
- getDynamicValues_server(id).done(function(result) {
- if(result){
- jQuery('#dynamic_values').remove();
- jQuery('.dynamic_values').append(''+result+'
');
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getDynamicValues(id) {
+ getDynamicValuesServer(id).then(function(result) {
+ if (result) {
+ var dynamicValuesElement = document.getElementById('dynamic_values');
+ if (dynamicValuesElement) {
+ dynamicValuesElement.remove();
+ }
+ document.querySelector('.dynamic_values').insertAdjacentHTML('beforeend', '' + result + '
');
+
+ // Event listener for code blocks
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText(); // Call the custom selText function
+ codeBlock.classList.add("selected"); // Add the "selected" class
+ });
+ });
+ }
+ }).catch(function(error) {
+ console.error('Error fetching dynamic values:', error);
+ });
}
-function getLayoutDetails_server(id){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getLayoutDetails&format=json&vdm="+vastDevMod);
- if(token.length > 0 && id > 0){
- var request = token+'=1&id='+id;
- }
- return jQuery.ajax({
- type: 'GET',
- url: getUrl,
- dataType: 'jsonp',
- data: request,
- jsonp: 'callback'
- });
+function getLayoutDetails_server(id) {
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getLayoutDetails&format=json&raw=true&vdm=" + vastDevMod);
+ var request = '';
+
+ // Ensure token and id are present
+ if (token.length > 0 && id > 0) {
+ request = token + '=1&id=' + id;
+ }
+
+ // Return a fetch promise (fetch does not support JSONP, so I assume the server can return JSON)
+ return fetch(getUrl + '&' + request, {
+ method: 'GET'
+ })
+ .then(function(response) {
+ if (!response.ok) {
+ throw new Error("Network response was not ok");
+ }
+ return response.json(); // Assuming the server returns JSON
+ });
}
-function getLayoutDetails(id){
- getLayoutDetails_server(id).done(function(result) {
- if(result){
- jQuery('#details').append(result);
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getLayoutDetails(id) {
+ getLayoutDetails_server(id)
+ .then(function(result) {
+ if (result) {
+ document.querySelector('#details').insertAdjacentHTML('beforeend', result);
+
+ // Re-enable code block text selection functionality
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText();
+ codeBlock.classList.add("selected");
+ });
+ });
+ }
+ })
+ .catch(function(error) {
+ console.error('There was a problem with the fetch operation:', error);
+ });
}
+
-function getTemplateDetails(id){
- getCodeFrom_server(id, 'type', 'type', 'templateDetails').then(function(result) {
- if(result){
- jQuery('#details').append(result);
- // make sure the code bocks are active
- jQuery("code").click(function() {
- jQuery(this).selText().addClass("selected");
- });
- }
- })
+function getTemplateDetails(id) {
+ getCodeFrom_server(id, 'type', 'type', 'templateDetails').then(function(result) {
+ if (result) {
+ document.querySelector('#details').insertAdjacentHTML('beforeend', result);
+
+ // Re-enable code block text selection functionality
+ document.querySelectorAll("code").forEach(function(codeBlock) {
+ codeBlock.addEventListener("click", function() {
+ codeBlock.selText();
+ codeBlock.classList.add("selected");
+ });
+ });
+ }
+ });
}
// set snippets that are on the page
diff --git a/media/js/validation_rule.js b/media/js/validation_rule.js
index 252b004ad..ed7f31183 100644
--- a/media/js/validation_rule.js
+++ b/media/js/validation_rule.js
@@ -133,12 +133,16 @@ function getEditCustomCodeButtons() {
// Insert the div before .control-wrapper-{field}
const insertBeforeElement = document.querySelector(".control-wrapper-"+field);
- insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ if (insertBeforeElement) {
+ insertBeforeElement.parentNode.insertBefore(div, insertBeforeElement);
+ }
// Adding buttons to the div
Object.entries(buttons).forEach(([name, button]) => {
const controlsDiv = document.querySelector(".control-customcode-buttons-"+field);
- controlsDiv.innerHTML += button;
+ if (controlsDiv) {
+ controlsDiv.innerHTML += button;
+ }
});
});
}