Re: DataObjects keys definition through keys() method is not clear for me...
| From: | Netto | Date: | Mon, 01 Dec 2003 19:25:02 +0000 |
| Subject: | Re: DataObjects keys definition through keys() method is not clear for me... | ||
| References: | 1 2 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-9249@lists.php.net to get a copy of this message | ||
Hey Allan... You got the problem :) It was just an inappropriate word
"array"...
Thank you...
Netto
"Alan Knowles" <alan@akbkhome.com> escreveu na mensagem
news:3FCB6DB5.6080507@akbkhome.com...
> Opps.. Did I get the example wrong... :(
> From what I remember, It should be
> $d->keys('id');
> or for multiple keys..
> $d->keys('id','name','xxx','yyy');
> keys uses $keys=func_get_args(); to fetch the array of keys, so you end
> up with an array of arrays..