Custom fields totally changed??
Tim Daeleman <[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I just updated to 0.16.2 from 0.15.x. Apparently the whole custom fields
mechanism has changed. I got a whole website running with them, seems I
have to change a lot now, I suppose the whole array that gets returned
with the getUsers methods will be different too.
Is there any documentation what changed and how it works now. Just the
config array layout doesn't give me any clue. What do the alias, fields
and tables subarrays do and where go the original 'optional_fields' and
custom_fields sub arrays from version 0.15??
All these nested arrays are chinese to me
'authContainers' => array(
'DB' => array(
'type' => 'MDB2',
'loginTimeout' => 0,
'expireTime' => 3600,
'idleTime' => 1800,
'allowDuplicateHandles' => 0,
'storage' => array(
'dsn' => $dsn,
'alias' => array(
'lastlogin' => 'lastlogin',
'is_active' => 'is_active',
),
'fields' => array(
'lastlogin' => 'timestamp',
'is_active' => 'boolean',
),
'tables' => array(
'users' => array(
'fields' => array(
'lastlogin' => false,
'is_active' => false,
),
),
),
)
)
),
TIA a lot!!
--
Tim Daeleman [email protected]