[UPHPU] Class not working and I don't understand why

Nathan Lane nathamberlane at gmail.com
Fri May 2 05:50:06 MDT 2008


Thanks Morgan, I'll try that. I didn't realize I wasn't within the scope of
the class when I set those variables.

Nathan

On Fri, May 2, 2008 at 12:39 AM, Morgan Terry <localstatic at localstatic.com>
wrote:

> When you set your member variables in the constructor, you need to use
> $this. For example, instead of:
>
>    $_docType = $docType
>
> do:
>
>    $this->_docType = $docType
>
>


-- 
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com


More information about the UPHPU mailing list