Re: package proposal: XSLT_Wrapper

From: Date: Tue, 24 Sep 2002 21:07:26 +0000
Subject: Re: package proposal: XSLT_Wrapper
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9450@lists.php.net to get a copy of this message
On Tue, 24 Sep 2002, Brent Cook wrote: > I really like the idea! While I haven't gotten into the code itself, the > API looked a little awkward. Why do we need to call initXML(), initXSL() > and all of those? I think it'd be nicer if the class could handle > initialization in the constructor, or reduce it to one init() function > that's called in the constructor too. I generally like the idea of initializing everything in constructor too, but if there is a possibility of error you shouldn't return PEAR_Error from constructor. -- Mika Tuupola http://www.appelsiini.net/~tuupola/

« previous php.pear.dev (#9450) next »