Skip to content

Commit

Permalink
[NDB_BVL_Instrument] Add get function to access protected selectMulti…
Browse files Browse the repository at this point in the history
…pleElements (aces#8381)
  • Loading branch information
zaliqarosli committed Mar 6, 2023
1 parent aecb130 commit eadd16e
Showing 1 changed file with 12 additions and 1 deletion.
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 @@ -3098,4 +3098,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;
}
}

0 comments on commit eadd16e

Please sign in to comment.