Re: [PHP] function scope question

2002-01-24 Thread daniel
Joel- > Basically, it's used to determine if a given date should be linked or not. > When I wrote it, I didn't expect it to work, since these two function: > > valid_date() > rant_exists() > > are defined completely outside of the class. In fact, they're defined in > a functions file that I in

[PHP] function scope question

2002-01-24 Thread Joel Boonstra
Hello, I wrote a PHP class to display an HTML calendar, and then wrote a subclass of it for a specific project I'm working on. Here is the entirety of the subclass: // create our new sub-class of the calendar class rantCal extends calendar { function get_link($day) { $link = ""; if (v