John W. Holmes wrote:
I'd prefer the text file. It's easier to open that and change values
plus they don't have to worry about PHP syntax as much. Haven't tried,
but you should be able to import them as private variables for your
class...
Thanks for the advice John. OK, so extending this a bit
Jason Barnett wrote:
I have a class definition that has a lot of private properties. These
properties don't need to change often, in fact a user could probably
just change the values once and forget about most of them. So this
makes me think that I should use parse_ini_file and a configuration
I have a class definition that has a lot of private properties. These
properties don't need to change often, in fact a user could probably
just change the values once and forget about most of them. So this
makes me think that I should use parse_ini_file and a configuration file
to let users "
3 matches
Mail list logo