From 99cfceceb4066322b8607f3045892f3877efe91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Kessel?= Date: Tue, 15 Jul 2025 18:08:14 +0200 Subject: [PATCH 1/3] Update Dropdown.php visibility --- types/Dropdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/Dropdown.php b/types/Dropdown.php index d6c56144..8dc94c9d 100644 --- a/types/Dropdown.php +++ b/types/Dropdown.php @@ -14,7 +14,7 @@ class Dropdown extends AbstractBaseType * * @return array */ - protected function getOptions() + public function getOptions() { $options = explode(',', $this->config['values']); $options = array_map('trim', $options); From 6721b46e44685d6c685272be571ddaf8e56bd3d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Kessel?= Date: Tue, 15 Jul 2025 18:10:19 +0200 Subject: [PATCH 2/3] Update Checkbox.php visibility --- types/Checkbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/Checkbox.php b/types/Checkbox.php index acbba7b9..e60028f3 100644 --- a/types/Checkbox.php +++ b/types/Checkbox.php @@ -11,7 +11,7 @@ class Checkbox extends AbstractBaseType * * @return array */ - protected function getOptions() + public function getOptions() { $options = explode(',', $this->config['values']); $options = array_map('trim', $options); From 18bbae534719dbeddb7d979d1461947bcaade78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Kessel?= Date: Tue, 15 Jul 2025 18:13:10 +0200 Subject: [PATCH 3/3] Update Lookup.php visibility --- types/Lookup.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/Lookup.php b/types/Lookup.php index c4e8ba62..0732f128 100644 --- a/types/Lookup.php +++ b/types/Lookup.php @@ -44,7 +44,7 @@ public function __construct($config = null, $label = '', $ismulti = false, $tid * * @return Column|false */ - protected function getLookupColumn() + public function getLookupColumn() { if ($this->column instanceof Column) return $this->column; $this->column = $this->getColumn($this->config['schema'], $this->config['field']); @@ -58,7 +58,7 @@ protected function getLookupColumn() * @param string $infield * @return Column|false */ - protected function getColumn($table, $infield) + public function getColumn($table, $infield) { global $conf; @@ -116,7 +116,7 @@ protected function getColumn($table, $infield) * * @return array */ - protected function getOptions() + public function getOptions() { $schema = $this->config['schema']; $column = $this->getLookupColumn();