Re: [SMARTY] When to call parent constructor?

"messju mohr" <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <20051029194949.GA5131@dune>
On Sat, Oct 29, 2005 at 03:10:50PM +0100, Marcus Bointon wrote:
> I've subclassed Smarty - should I call the parent constructor before  
> or after setting my own options in my constructor?

I'd call it at the beginning, but since the constructor does nothing
more than assigning SCRIPT_NAME and won't do much more in the
foreseeable future it really doesn't matter much when you call it
inside you constructor.

greetings
messju

[...]
>
> Marcus
> -- 
> Marcus Bointon
> [email protected] | http://www.bointon.com/
> 
> -- 
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.