Re: Re: Custom fields totally changed??
Jens Kleikamp <lists.jens-z4600/[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Organization | codes & concepts |
| Message-ID | <[email protected]> |
Tim Daeleman wrote:
> I get it a bit more now, still don't know why al these fields are set
> to false??
Good question! :)
> And the force_seq option is also mysterious for me.
I only wanted to test if it works with auto_increment ...
>
> Could you tell me how the array looks that is returned by the getUsers
> method, is it just a literal representation of the config (with the
> core handle, pw,... fields added).
With the config-layout of the LiveUser example5,
LiveUser_Admin->getUser() returns the following:
array(2) {
0 => array(8) {
perm_user_id => int 1
auth_user_id => string(32) 29214857b12575501c5c731353c7217e
auth_container_name => string(2) DB
perm_type => int 0
handle => string(4) john
passwd => string(32) 098f6bcd4621d373cade4e832627b4f6
last_login => string(19) 0000-00-00 00:00:00
is_active => bool true
}
1 => array(8) {
perm_user_id => int 2
auth_user_id => string(32) 02ec099f2d602cc4968c5267970be132
auth_container_name => string(2) DB
perm_type => int 0
handle => string(5) guest
passwd => string(32) 084e0343a0486ff05530df6c705c8bb4
last_login => string(19) 0000-00-00 00:00:00
is_active => bool true
}
}
Here I try to rename the lastlogin field to last_login.... unfortunately with no success.
> In 0.15 we got a multidimensional array with the sub arrays
> custom_fields and optional_fields.
I like the new more simple array structure :-)
Regards,
Jens