Referance Array in a class file

I have a class file that creates an array of image paths from an xml file. i need to know how to from the main stage refrance to get that array.