I have a sfuser/attributes looking like this:
session:
symfony/user/sfUser/attributes: {
symfony/user/sfUser/attributes:{
15:{
Telefon:'+304994994994',
option:'15',
rules:'12',
arrayBunch:[{
this: 'da',
that: "where"
}]
},
17:{...},
mysetting: "val"
},
sfGuardSecurityUser:{},
admin_module:{},
sfGuardUserSwitcher:{}
}}
When i use setAttribute("mysetting", "val") they stores mysetting like show on my example. It is therefore unnecessary to use setAttribute("mysetting", "val", 15) because i got the same answer.
How can i access the nodes 15 or arrayBunch an use setAttribute to input a value there or getAttribute to get'em?
setAttributes
? Because sfUser doesn't havesetAttributes
but has asetAttribute
. – j0ksetAttribute
i edit my post!! – 3logy