Re: [PHP Template] Re: My template idea...
[email protected] ("Tobias Ratschiller")
| Newsgroups | php.template |
|---|---|
| Message-ID | <004101bf7856$c5ee1ba0$64d0f2c2@tobiasneu> |
> 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