access cap times – why is the 'time' the key in the array?
-
I occasionally help folks access S2 member data for reporting. I noticed that the access cap times (which I gather is the time that someone accessed a particular level) are stored with the times as the key, not the levels. ie something like this
Array
(
[1375373865.0001] => level0
[1404804243.0002] => level1
[1404804243.0003] => level2
)This is rather unusual – arguably the times should be the data (there will be an increasing numbers of these ‘keys’) whereas the levels are the masters, as in:
Array
(
[level0] => 1375373865.0001
[level1] => 1404804243.0002
etc
)would have made more sense ? EG: if one wanted to query who accessed what level when.
- The topic ‘access cap times – why is the 'time' the key in the array?’ is closed to new replies.