Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[NDB_BVL_Instrument] Add get function to access protected selectMultipleElements #8381

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion php/libraries/NDB_BVL_Instrument.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
}