[phplib] Re: [phplib-dev] implode_block() from set_block() From: NickM (terado <email protected>)
Date: 07/13/00

Yes but if I don't want to get the var value then why call get_var(), this
is pointless. If implode_block() were called at the time of creating it the
block would then immediately be set up, instead it doesn't do anything until
you later do anothing thing, which means if you don't use the block it has
not removed it from the HTML. Is this what you call correct behaviour, to
me that's warped.

The whole point of calling set_block is to break it out of the file, then
parse puts it back in with the data.

Nick

----- Original Message -----
From: "Kirill Maximov" <maxkir <email protected>>
To: "NickM" <nick <email protected>>
Cc: "Kristian KÃhntopp" <kris <email protected>>; <phplib <email protected>>;
<phplib-dev <email protected>>
Sent: Thursday, July 13, 2000 11:34 AM
Subject: Re: [phplib-dev] implode_block() from set_block()

> NickM wrote:
> >
> > Do you intend to add an implode_blocks() call inside of set_block() in
> > template.inc. As described previously you can not set the block to
nothing
> > without this.
>
> Hmm, I can, if I make get_var() call after set_block.
>
> >
> > Nick
> >
>
> Regards,
> KIR

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>