That might be a possibility in PHP - a function pointer or delegate like in
JavaScript. I'll try it out.

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