From 0266e7ca66a2282667bf13702b8ceedcb3b29c21 Mon Sep 17 00:00:00 2001 From: zaliqarosli Date: Thu, 16 Feb 2023 15:52:56 -0500 Subject: [PATCH] add function getSelectMultipleelements --- php/libraries/NDB_BVL_Instrument.class.inc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/php/libraries/NDB_BVL_Instrument.class.inc b/php/libraries/NDB_BVL_Instrument.class.inc index e9f546c7bda..5438941f523 100644 --- a/php/libraries/NDB_BVL_Instrument.class.inc +++ b/php/libraries/NDB_BVL_Instrument.class.inc @@ -195,7 +195,7 @@ abstract class NDB_BVL_Instrument extends NDB_Page /** * Array containing all multiselect elements in an instrument. */ - protected $selectMultipleElements; + protected $selectMultipleElements = []; /** * Factory generates a new instrument instance of type @@ -3105,4 +3105,15 @@ abstract class NDB_BVL_Instrument extends NDB_Page return $instrumentNames; } + + /** + * Gets the current instrument instance selectMultipleElements + * + * @return array the select multiple elements of this instrument. + * @access public + */ + public function getSelectMultipleElements(): array + { + return $this->selectMultipleElements; + } }