Hello,
Probably a question that has been asked a few times but I cannot for the life of me find an answer either through trial and error myself or online so I thought I would ask here.
Using the TeamSpeak 3 PHP Framework (Here: http://docs.planetteamspeak.com/ts3/php/framework/) how do I go about extracting the "[string
rotected]"s from commands.
For example pulling a list of current bans using: request("banlist")->toAssocArray("banid") will return
Code:
Array
(
[327] => Array
(
[banid] => 327
[ip] =>
[name] => TeamSpeak3_Helper_String Object
(
[string:protected] => name
[position:protected] => 0
)
[uid] => 1.0E+16
[lastnickname] =>
[created] => 1329340057
[duration] => 0
[invokername] => TeamSpeak3_Helper_String Object
(
[string:protected] => Test
[position:protected] => 0
)
[invokercldbid] => 1421
[invokeruid] => TeamSpeak3_Helper_String Object
(
[string:protected] => uid
[position:protected] => 0
)
[reason] =>
[enforcements] => 0
)
)
But how would I then extract the 'name' and 'invokername' for example?
Thanks.