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]
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;
> > }
>
> 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
3 matches
Mail list logo