-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all
Is it possible to extend a class based on a value passed to the
constructor?
Here's the scenario: I'm going to build a class to help me knock out
contanct forms for clients and I want to be able to run certain routines
with either Danish or English msg's. So I was thinking:
$form=new form('dk')
Would extend the class to include all the dk language routines and
$form=new form('en')
Would do likewise for english.
Do you see what I mean?
Many thanks.....
- --
- -----------------------------------------------------------
www.explodingnet.com | Projects, Forums and
+ Articles for website owners
- -- Nick Wilson -- | and designers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8e252HpvrrTa6L5oRAnKFAJ9+bWkCFst5Y1YB/y0E8bbgqMnUUgCfVwQN
+IB7iaz5lgzE7EkE/OfqmqE=
=kfok
-----END PGP SIGNATURE-----
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php