Re: [SMARTY] When to call parent constructor?

From: Date: Sat, 29 Oct 2005 19:49:50 +0000
Subject: Re: [SMARTY] When to call parent constructor?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13129@lists.php.net to get a copy of this message
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 > marcus@bointon.com | http://www.bointon.com/ > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#13129) next »