Re: [PHP Template] Re: My template idea...

From: Date: Wed, 16 Feb 2000 08:21:05 +0000
Subject: Re: [PHP Template] Re: My template idea...
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.template 
Request: Send a blank email to php-template+get-74@lists.php.net to get a copy of this message
> Of course, I can't read Tobias' mind, ;-) but I think I know what he wants. > Actually, I implemented something very similar for my own template usage: Yep, exactly what I meant. For the PHPLib, the same can be applied to the set_file() function... you always call it with set_file("file", "file.inc.html"), which is a redundancy. Some shortcuts can really make life easier, and often the resulting code easier to understand. I'm a big fan of simple (in the sense of easy-to-understand) code. :) -Tobias

« previous php.template (#74) next »