Re: DataObjects keys definition through keys() method is not clear for me...
| From: | Alan Knowles | Date: | Tue, 02 Dec 2003 00:32:27 +0000 |
| Subject: | Re: DataObjects keys definition through keys() method is not clear for me... | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9257@lists.php.net to get a copy of this message | ||
The manual is fixed in CVS - well spotted :)
Regards
Alan
Netto wrote:
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..