RE: [PHP] Confused About Classes

2002-03-25 Thread Rick Emery
To: [EMAIL PROTECTED] Subject: Re: [PHP] Confused About Classes No, the only thing I supplied is the class. The startElementHandler IS a function in the class. "Rick Emery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

Re: [PHP] Confused About Classes

2002-03-25 Thread arti
No, the only thing I supplied is the class. The startElementHandler IS a function in the class. "Rick Emery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > if ($this->private==FALSE) // Undefined variable > this > > return; > > } >

RE: [PHP] Confused About Classes

2002-03-25 Thread Rick Emery
> if ($this->private==FALSE) // Undefined variable this > return; > } $this is relevant ONLY within the scope of the class definition. The above snippet is located OUTSIDE of the class definition. You must use an object pointer. That is: $newobj = new standardquestion($f