Tuesday 12 February 2008 11:54:59 am
Found my own answer
>I would say, when template-compiling is on, the includes are actually included >in the php code, If that is true, there is no difference at all But it isn't true. Includes in templates, when compiled, become includes in PHP. {include uri="SomeIncludedThing.tpl"}
becomes <?include("SomeCompiledIncludedThing.php")?>
In other words - each EZP template is compiled into 1 PHP file. And since SomeCompiledIncludedThing.php contains some wrapper php code (to prepare the actual compiled templatecode), including templates generates more php code, when compiled, then writing the template code all in one single template. *-pike
---------------
The class eZContentObjectTreeNode does.
|