Public Method Details |
ts2_tabledump |
|
public void ts2_tabledump( [ integer $table_width, string $img_dir, integer $img_width, integer $img_height ] )
|
| |
Creates a new ts2_tabledump object.
|
| Parameter |
|
| integer |
$table_width |
= >>350<< |
|
The table width (depends on the length of the channel names). |
|
|
| string |
$img_dir |
= >>'images'<< |
|
The relative image directory to be used. |
|
|
| integer |
$img_width |
= >>16<< |
|
The images width (must be same for all images). |
|
|
| integer |
$img_height |
= >>16<< |
|
The images height (must be same for all images). |
|
| Returns |
void |
|
connect |
|
public bool connect( string $host, [ integer $tcpport, integer $timeout ] )
|
| |
Initializes a connection to a TeamSpeak server.
Warning: documentation is missing.
|
| Parameter |
|
| string |
$host |
|
|
The hostname or IP where the TeamSpeak server is running. |
|
|
| integer |
$tcpport |
= >>51234<< |
|
The TCP port for the TCP interface. |
|
|
| integer |
$timeout |
= >>5<< |
|
The connection timeout in seconds. |
|
| Returns |
bool Returns TRUE if the connection was established else FALSE is returned. |
| See Also |
$last_errno, $last_errstr, close() |
|
dump_table_all |
|
public void dump_table_all( [ string $root_title ] )
|
| |
Dumps all virtual servers, channels and users into a table.
|
| Parameter |
|
| string |
$root_title |
= >>''<< |
|
Server to query. |
|
| Returns |
void |
|
dump_table_all_parts |
|
public void dump_table_all_parts( [ string $root_title ] )
|
| |
Dumps all virtual servers, channels and users into a table.
|
| Parameter |
|
| string |
$root_title |
= >>''<< |
|
Server to query. |
|
| Returns |
void |
|
dump_table_server |
|
public void dump_table_server( integer $port )
|
| |
Dumps channel and users of a virtual server into a table.
|
| Parameter |
|
| integer |
$port |
|
|
Server to query. |
|
| Returns |
void |
|
dump_channel_link |
|
public void dump_channel_link( integer $server, string $channel )
|
| |
Creates a link to a channel on a server (teamspeak protocol).
|
| Parameter |
|
| integer |
$server |
|
|
Virtual server to address. |
|
|
| string |
$channel |
|
|
Channel name. |
|
| Returns |
void |
|
dump_server_link |
|
public void dump_server_link( integer $server )
|
| |
Creates a link to a server (teamspeak protocol).
|
| Parameter |
|
| integer |
$server |
|
|
Virtual server to address. |
|
| Returns |
void |
|
dump_table_server_parts |
|
public void dump_table_server_parts( integer $server, string $ident )
|
| |
Dumps channel and users of a virtual server into parts for a table.
|
| Parameter |
|
| integer |
$server |
|
|
Virtual server to query. |
|
|
| string |
$ident |
|
|
The ident string. |
|
| Returns |
void |
|