Mailinglisten-Archive |
> addBlockFile gibt es in IT ned, und auch keine Möglichkeit das irgendwie
> anders zu machen.
$maintpl = new IntegratedTemplate('./') ;
$blocktpl = new IntegratedTemplate('./') ;
$maintpl -> loadTemplatefile( 'main.tpl') ;
$blocktpl -> loadTemplatefile( 'block.tpl') ;
$blocktpl -> setCurrentBlock('BLOCK') ;
$maintpl -> setVariable( 'id', 'bla')
$blocktpl -> parseCurrentBlock('BLOCK') ;
$maintpl -> setCurrentBlock('MAIN') ;
$maintpl -> setVariable( 'block', $blocktpl -> get() )
$maintpl -> setCurrentBlock('MAIN') ;
php::bar PHP Wiki - Listenarchive