Oops, the problem isn't with instantiating the class - I forgot, it's with
creating the class as a nested class.

On Wed, Apr 16, 2008 at 10:02 AM, Craig Jackson <[EMAIL PROTECTED]> wrote:
>
> > Im not too strong in OOP, yet. But, would this be a possibility? Or
> > something like it?
> >
> > class Database {
> >  private $xmlAdapter;
> >
> >  function newXmlAdapter() {
> >    $this->xmlAdapter = new XMLAdapter();
> >  }
> >
> > }
> >
> > class XMLAdapter {
> >
> > }
> >
> > Craig Jackson
> > Web Developer
> >
> --
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to