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); 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); 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();