Re: IT/ITX suggestion
| From: | Martin Jansen | Date: | Wed, 06 Feb 2002 14:56:16 +0000 |
| Subject: | Re: IT/ITX suggestion | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-776@lists.php.net to get a copy of this message | ||
On Wed, 6 Feb 2002 15:51:18 +0100, Steen Rabøl wrote:
>How about adding a function like this to IT
>
>function setVariableArray($_var)
>{
> if(is_array($_var))
> {
> foreach($_var as $key => $value)
> $this->setVariable(${key},$value);
> }
>}
Looks good for me. If nobody objects, I'll commit it later.
- Martin