getAll

Added a function to get all from an array.