Re: IT template: force a block to be empty

From: Date: Thu, 28 Nov 2002 19:03:24 +0000
Subject: Re: IT template: force a block to be empty
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2865@lists.php.net to get a copy of this message
On Thu, 28 Nov 2002 15:23:02 +0100 Emiliano Saurin <saurin@tin.it> wrote: > Hello, > Is there a way to force a block to be empty? > > Would be nice have a method like HTML_Template_IT::forceEmpty($block) You may simply does not assign any values to it and keep $tpl->removeEmptyBlocks to the default value (true). This will remove all empty blocks. hth pa

« previous php.pear.general (#2865) next »