release 1.3.9
This commit is contained in:
@@ -527,7 +527,7 @@ class TeamSpeak3_Node_Host extends TeamSpeak3_Node_Abstract
|
||||
$permtree[$val]["permcatid"] = $val;
|
||||
$permtree[$val]["permcathex"] = "0x" . dechex($val);
|
||||
$permtree[$val]["permcatname"] = TeamSpeak3_Helper_String::factory(TeamSpeak3_Helper_Convert::permissionCategory($val));
|
||||
$permtree[$val]["permcatparent"] = $permtree[$val]["permcathex"]{3} == 0 ? 0 : hexdec($permtree[$val]["permcathex"]{2} . 0);
|
||||
$permtree[$val]["permcatparent"] = $permtree[$val]["permcathex"][3] == 0 ? 0 : hexdec($permtree[$val]["permcathex"][2] . 0);
|
||||
$permtree[$val]["permcatchilren"] = 0;
|
||||
$permtree[$val]["permcatcount"] = 0;
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ class TeamSpeak3_Node_Server extends TeamSpeak3_Node_Abstract
|
||||
* @ignore
|
||||
*/
|
||||
protected $clientList = null;
|
||||
protected $clientListtsn = null;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
@@ -684,6 +685,12 @@ class TeamSpeak3_Node_Server extends TeamSpeak3_Node_Abstract
|
||||
|
||||
return $this->filterList($this->clientList, $filter);
|
||||
}
|
||||
|
||||
public function clientListtsn($params = null)
|
||||
{
|
||||
# params: -uid -away -badges -voice -info -times -groups -icon -country -ip
|
||||
return $this->request("clientlist $params")->toAssocArray("clid");
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets the list of clients online.
|
||||
|
||||
Reference in New Issue
Block a user