[PHP] Re: When to make a class

2005-11-26 Thread Matt Monaco
There's really no reason making classes for those (unless you'd like to write an entire HTML class and its children - I'd be happy to use it!). Matt "Todd Cary" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > My background is in Object Oriented Pascal (Delphi), however I am having

[PHP] Re: When to make a class

2005-11-26 Thread Todd Cary
Olli - A very well thought out answer. I especially liked the part, "I see the benefits of a class when functions start sharing variables.". Todd Oliver Grätz wrote: Todd Cary schrieb: My background is in Object Oriented Pascal (Delphi), however I am having difficulty knowing when to mak

[PHP] Re: When to make a class

2005-11-26 Thread Oliver Grätz
Todd Cary schrieb: > My background is in Object Oriented Pascal (Delphi), however I am having > difficulty knowing when to make a class in PHP. For instance, in my > script file, functions.php, I have these functions among others: > >/* Input a field */ >function input_field($name, $v