Re: package proposal: XSLT_Wrapper
| From: | Pierre-Alain Joye | Date: | Tue, 24 Sep 2002 18:08:44 +0000 |
| Subject: | Re: package proposal: XSLT_Wrapper | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9437@lists.php.net to get a copy of this message | ||
On Tue, 24 Sep 2002 12:38:52 -0500 (CDT)
Brent Cook <busterb@mail.utexas.edu> wrote:
> 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.
Create a method à la DB::Connect can do it. I do not like to set datas inside a constructor, this
is not its role, isn't it ?
I will wait further feedbacks and certainly go for an init method ($myxslt =
XSLT_Wrapper::init($options);)
thx
pa