added getArray method for parameter widget