access Contact module fields from Custom Function

access Contact module fields from Custom Function

I need to access many fields in my Contact module.  Instead of passing every single one of these fields to my Custom Function, can I either pass the module object itself as a parameter or access the Contact module fields directly somehow?