Re: Making functions more reusable

2009-07-13 Thread Dermot
2009/7/11 Steve Bertrand : > I have numerous methods such as the following. They all perform the same > basic function based on the parameter passed in ($name, $key or nothing). > > I've recently moved out the actual data definition (hash) into a > different 'private' function in order to make thin

Making functions more reusable

2009-07-11 Thread Steve Bertrand
I have numerous methods such as the following. They all perform the same basic function based on the parameter passed in ($name, $key or nothing). I've recently moved out the actual data definition (hash) into a different 'private' function in order to make things easier to read. Now, I want to c