hello guys i need help..
but in array token_desciption is "protected" can't get it ....
How can do to get it to non protected :) Thank's for help
php protected object
PHP Code:
$group = $ts3Server->serverGroupGetById($value['sgid']);
foreach($group->privilegeKeyList() as $k => $v)
{
if(!in_array($k, $items))
{
$items[$k]['token'] = $k;
$items[$k]['token_type'] = $v['token_type'];
$items[$k]['token_id1'] = $v['token_id1'];
$items[$k]['token_id2'] = $v['token_id2'];
$items[$k]['token_created'] = $v['token_created'];
$items[$k]['desc'] = $v['token_description'];
}
}
PHP Code:
Array (
[FynAH89SYf91WLwV6+s158I3CxuqDVayjXFHWFV7] =>
Array (
[token] => FynAH89SYf91WLwV6+58I3CxuqDVayjXFHWFV7
[token_type] => 0
[token_id1] => 636
[token_id2] => 0
[token_created] => 1455477219
[desc] => TeamSpeak3_Helper_String Object ( [string:protected] => test [position:protected] => 0 )
)
)
0 commentaires:
Enregistrer un commentaire