Re: [UPDATE][PROPOSAL] Package: SMS (send and recieveSMS through different backends)

From: Date: Fri, 24 Oct 2003 07:03:34 +0000
Subject: Re: [UPDATE][PROPOSAL] Package: SMS (send and recieveSMS through different backends)
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22944@lists.php.net to get a copy of this message
Which is solved by using a factory :) Tobias Schlitt wrote:
<zitiere wer="Alan Knowles">
just one thought - why dont you init when you create the class???, rather than making it a manual process?
Hi Alan! I good question and a better answer: If an error occurs while initialization (backend not available, etc.) an error should be returned, which is not possible in the constructor. Regards, Toby
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

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