![]() |
TeamSpeak 3 PHP Framework
1.1.23
Copyright © Planet TeamSpeak. All rights reserved.
|
Class describing a TeamSpeak 3 virtual server and all it's parameters. More...
Inheritance diagram for TeamSpeak3_Node_Server:Public Member Functions | |
| __construct (TeamSpeak3_Node_Host $host, array $info, $index="virtualserver_id") | |
| The TeamSpeak3_Node_Server constructor. More... | |
| request ($cmd, $throw=TRUE) | |
| Sends a prepared command to the server and returns the result. More... | |
| channelList (array $filter=array()) | |
| Returns an array filled with TeamSpeak3_Node_Channel objects. More... | |
| channelListReset () | |
| Resets the list of channels online. More... | |
| channelCreate (array $properties) | |
| Creates a new channel using given properties and returns the new ID. More... | |
| channelDelete ($cid, $force=FALSE) | |
| Deletes the channel specified by $cid. More... | |
| channelMove ($cid, $pid, $order=null) | |
| Moves the channel specified by $cid to the parent channel specified with $pid. More... | |
| channelIsSpacer (TeamSpeak3_Node_Channel $channel) | |
| Returns TRUE if the given TeamSpeak3_Node_Channel object is a spacer. More... | |
| channelSpacerCreate ($ident, $type=TeamSpeak3::SPACER_SOLIDLINE, $align=TeamSpeak3::SPACER_ALIGN_REPEAT, $order=null, $maxclients=0) | |
| Creates a new channel spacer and returns the new ID. More... | |
| channelSpacerGetType ($cid) | |
| Returns the possible type of a channel spacer. More... | |
| channelSpacerGetAlign ($cid) | |
| Returns the possible alignment of a channel spacer. More... | |
| channelPermList ($cid, $permsid=FALSE) | |
| Returns a list of permissions defined for a specific channel. More... | |
| channelPermAssign ($cid, $permid, $permvalue) | |
| Adds a set of specified permissions to a channel. More... | |
| channelPermRemove ($cid, $permid) | |
| Removes a set of specified permissions from a channel. More... | |
| channelClientPermList ($cid, $cldbid, $permsid=FALSE) | |
| Returns a list of permissions defined for a client in a specific channel. More... | |
| channelClientPermAssign ($cid, $cldbid, $permid, $permvalue) | |
| Adds a set of specified permissions to a client in a specific channel. More... | |
| channelClientPermRemove ($cid, $cldbid, $permid) | |
| Removes a set of specified permissions from a client in a specific channel. More... | |
| channelFileList ($cid, $cpw="", $path="/", $recursive=FALSE) | |
| Returns a list of files and directories stored in the specified channels file repository. More... | |
| channelFileInfo ($cid, $cpw="", $name="/") | |
| Returns detailed information about the specified file stored in a channels file repository. More... | |
| channelFileRename ($cid, $cpw="", $oldname="/", $newname="/", $tcid=null, $tcpw=null) | |
| Renames a file in a channels file repository. More... | |
| channelFileDelete ($cid, $cpw="", $name="/") | |
| Deletes one or more files stored in a channels file repository. More... | |
| channelDirCreate ($cid, $cpw="", $dirname="/") | |
| Creates new directory in a channels file repository. More... | |
| channelGetLevel ($cid) | |
| Returns the level of a channel. More... | |
| channelGetPathway ($cid) | |
| Returns the pathway of a channel which can be used as a clients default channel. More... | |
| channelGetById ($cid) | |
| Returns the TeamSpeak3_Node_Channel object matching the given ID. More... | |
| channelGetByName ($name) | |
| Returns the TeamSpeak3_Node_Channel object matching the given name. More... | |
| clientList (array $filter=array()) | |
| Returns an array filled with TeamSpeak3_Node_Client objects. More... | |
| clientListReset () | |
| Resets the list of clients online. More... | |
| clientFind ($pattern) | |
| Returns a list of clients matching a given name pattern. More... | |
| clientListDb ($offset=null, $limit=null) | |
| Returns a list of client identities known by the virtual server. More... | |
| clientCountDb () | |
| Returns the number of client identities known by the virtual server. More... | |
| clientInfoDb ($cldbid) | |
| Returns a list of properties from the database for the client specified by $cldbid. More... | |
| clientFindDb ($pattern, $uid=FALSE) | |
| Returns a list of client database IDs matching a given pattern. More... | |
| clientCount () | |
| Returns the number of regular clients online. More... | |
| clientGetById ($clid) | |
| Returns the TeamSpeak3_Node_Client object matching the given ID. More... | |
| clientGetByName ($name) | |
| Returns the TeamSpeak3_Node_Client object matching the given name. More... | |
| clientGetByUid ($uid) | |
| Returns the TeamSpeak3_Node_Client object matching the given unique identifier. More... | |
| clientGetByDbid ($dbid) | |
| Returns the TeamSpeak3_Node_Client object matching the given database ID. More... | |
| clientGetNameByUid ($cluid) | |
| Returns an array containing the last known nickname and the database ID of the client matching the unique identifier specified with $cluid. More... | |
| clientGetIdsByUid ($cluid) | |
| Returns an array containing a list of active client connections using the unique identifier specified with $cluid. More... | |
| clientGetNameByDbid ($cldbid) | |
| Returns an array containing the last known nickname and the unique identifier of the client matching the database ID specified with $cldbid. More... | |
| clientGetServerGroupsByDbid ($cldbid) | |
| Returns an array containing the names and IDs of all server groups the client specified with $cldbid is is currently residing in. More... | |
| clientMove ($clid, $cid, $cpw=null) | |
| Moves a client to another channel. More... | |
| clientKick ($clid, $reasonid=TeamSpeak3::KICK_CHANNEL, $reasonmsg=null) | |
| Kicks one or more clients from their currently joined channel or from the server. More... | |
| clientPoke ($clid, $msg) | |
| Sends a poke message to a client. More... | |
| clientBan ($clid, $timeseconds=null, $reason=null) | |
| Bans the client specified with ID $clid from the server. More... | |
| clientModifyDb ($cldbid, array $properties) | |
| Changes the clients properties using given properties. More... | |
| clientDeleteDb ($cldbid) | |
| Deletes a clients properties from the database. More... | |
| clientSetChannelGroup ($cldbid, $cid, $cgid) | |
| Sets the channel group of a client to the ID specified. More... | |
| clientPermList ($cldbid, $permsid=FALSE) | |
| Returns a list of permissions defined for a client. More... | |
| clientPermAssign ($cldbid, $permid, $permvalue, $permskip=FALSE) | |
| Adds a set of specified permissions to a client. More... | |
| clientPermRemove ($cldbid, $permid) | |
| Removes a set of specified permissions from a client. More... | |
| serverGroupList (array $filter=array()) | |
| Returns a list of server groups available. More... | |
| serverGroupListReset () | |
| Resets the list of server groups. More... | |
| serverGroupCreate ($name, $type=TeamSpeak3::GROUP_DBTYPE_REGULAR) | |
| Creates a new server group using the name specified with $name and returns its ID. More... | |
| serverGroupCopy ($ssgid, $name=null, $tsgid=0, $type=TeamSpeak3::GROUP_DBTYPE_REGULAR) | |
| Creates a copy of an existing server group specified by $ssgid and returns the new groups ID. More... | |
| serverGroupRename ($sgid, $name) | |
| Renames the server group specified with $sgid. More... | |
| serverGroupDelete ($sgid, $force=FALSE) | |
| Deletes the server group specified with $sgid. More... | |
| serverGroupGetById ($sgid) | |
| Returns the TeamSpeak3_Node_Servergroup object matching the given ID. More... | |
| serverGroupGetByName ($name, $type=TeamSpeak3::GROUP_DBTYPE_REGULAR) | |
| Returns the TeamSpeak3_Node_Servergroup object matching the given name. More... | |
| serverGroupPermList ($sgid, $permsid=FALSE) | |
| Returns a list of permissions assigned to the server group specified. More... | |
| serverGroupPermAssign ($sgid, $permid, $permvalue, $permnegated=FALSE, $permskip=FALSE) | |
| Adds a set of specified permissions to the server group specified. More... | |
| serverGroupPermRemove ($sgid, $permid) | |
| Removes a set of specified permissions from the server group specified with $sgid. More... | |
| serverGroupClientList ($sgid) | |
| Returns a list of clients assigned to the server group specified. More... | |
| serverGroupClientAdd ($sgid, $cldbid) | |
| Adds a client to the server group specified. More... | |
| serverGroupClientDel ($sgid, $cldbid) | |
| Removes a client from the server group specified. More... | |
| serverGroupGetProfiles () | |
| Returns an ordered array of regular server groups available based on a pre-defined set of rules. More... | |
| serverGroupIdentify ($mode=TeamSpeak3::GROUP_IDENTIFIY_STRONGEST) | |
| Tries to identify the post powerful/weakest server group on the virtual server and returns the ID. More... | |
| channelGroupList (array $filter=array()) | |
| Returns a list of channel groups available. More... | |
| channelGroupListReset () | |
| Resets the list of channel groups. More... | |
| channelGroupCreate ($name, $type=TeamSpeak3::GROUP_DBTYPE_REGULAR) | |
| Creates a new channel group using the name specified with $name and returns its ID. More... | |
| channelGroupCopy ($scgid, $name=null, $tcgid=0, $type=TeamSpeak3::GROUP_DBTYPE_REGULAR) | |
| Creates a copy of an existing channel group specified by $scgid and returns the new groups ID. More... | |
| channelGroupRename ($cgid, $name) | |
| Renames the channel group specified with $cgid. More... | |
| channelGroupDelete ($cgid, $force=FALSE) | |
| Deletes the channel group specified with $cgid. More... | |
| channelGroupGetById ($cgid) | |
| Returns the TeamSpeak3_Node_Channelgroup object matching the given ID. More... | |
| channelGroupGetByName ($name, $type=TeamSpeak3::GROUP_DBTYPE_REGULAR) | |
| Returns the TeamSpeak3_Node_Channelgroup object matching the given name. More... | |
| channelGroupPermList ($cgid, $permsid=FALSE) | |
| Returns a list of permissions assigned to the channel group specified. More... | |
| channelGroupPermAssign ($cgid, $permid, $permvalue) | |
| Adds a set of specified permissions to the channel group specified. More... | |
| channelGroupPermRemove ($cgid, $permid) | |
| Removes a set of specified permissions from the channel group specified with $cgid. More... | |
| channelGroupClientList ($cgid=null, $cid=null, $cldbid=null) | |
| Returns all the client and/or channel IDs currently assigned to channel groups. More... | |
| permReset () | |
| Restores the default permission settings on the virtual server and returns a new initial administrator privilege key. More... | |
| permRemoveAny ($permid) | |
| Removes any assignment of the permission specified with $permid on the selected virtual server and returns the number of removed assignments on success. More... | |
| transferInitUpload ($clientftfid, $cid, $name, $size, $cpw="", $overwrite=FALSE, $resume=FALSE) | |
| Initializes a file transfer upload. More... | |
| transferInitDownload ($clientftfid, $cid, $name, $cpw="", $seekpos=0) | |
| Initializes a file transfer download. More... | |
| transferList () | |
| Displays a list of running file transfers on the selected virtual server. More... | |
| transferStop ($serverftfid, $delete=FALSE) | |
| Stops the running file transfer with server-side ID $serverftfid. More... | |
| iconDownload () | |
| Downloads and returns the servers icon file content. More... | |
| iconUpload ($data) | |
| Uploads a given icon file content to the server and returns the ID of the icon. More... | |
| modify (array $properties) | |
| Changes the virtual server configuration using given properties. More... | |
| message ($msg) | |
| Sends a text message to all clients on the virtual server. More... | |
| messageList () | |
| Returns a list of offline messages you've received. More... | |
| messageCreate ($cluid, $subject, $message) | |
| Sends an offline message to the client specified by $cluid. More... | |
| messageDelete ($msgid) | |
| Deletes an existing offline message with ID $msgid from your inbox. More... | |
| messageRead ($msgid, $flag_read=TRUE) | |
| Returns an existing offline message with ID $msgid from your inbox. More... | |
| snapshotCreate ($mode=TeamSpeak3::SNAPSHOT_STRING) | |
| Creates and returns snapshot data for the selected virtual server. More... | |
| snapshotDeploy ($data, $mode=TeamSpeak3::SNAPSHOT_STRING) | |
| Deploys snapshot data on the selected virtual server. More... | |
| notifyRegister ($event, $id=0) | |
| Registers for a specified category of events on a virtual server to receive notification messages. More... | |
| notifyUnregister () | |
| Unregisters all events previously registered with servernotifyregister so you will no longer receive notification messages. More... | |
| tokenList ($translate=FALSE) | |
| Alias for privilegeKeyList(). More... | |
| privilegeKeyList ($resolve=FALSE) | |
| Returns a list of privilege keys (tokens) available. More... | |
| tokenCreate ($type=TeamSpeak3::TOKEN_SERVERGROUP, $id1, $id2=0, $description=null, $customset=null) | |
| Alias for privilegeKeyCreate(). More... | |
| privilegeKeyCreate ($type=TeamSpeak3::TOKEN_SERVERGROUP, $id1, $id2=0, $description=null, $customset=null) | |
| Creates a new privilege key (token) and returns the key. More... | |
| tokenDelete ($token) | |
| Alias for privilegeKeyDelete(). More... | |
| privilegeKeyDelete ($token) | |
| Deletes a token specified by key $token. More... | |
| tokenUse ($token) | |
| Alias for privilegeKeyUse(). More... | |
| privilegeKeyUse ($token) | |
| Use a token key gain access to a server or channel group. More... | |
| customSearch ($ident, $pattern="%") | |
| Returns a list of custom client properties specified by $ident. More... | |
| customInfo ($cldbid) | |
| Returns a list of custom properties for the client specified by $cldbid. More... | |
| banList () | |
| Returns a list of active bans on the selected virtual server. More... | |
| banListClear () | |
| Deletes all active ban rules from the server. More... | |
| banCreate (array $rules, $timeseconds=null, $reason=null) | |
| Adds a new ban rule on the selected virtual server. More... | |
| banDelete ($banid) | |
| Deletes the specified ban rule from the server. More... | |
| complaintList ($tcldbid=null) | |
| Returns a list of complaints on the selected virtual server. More... | |
| complaintListClear ($tcldbid) | |
| Deletes all active complaints about the client with database ID $tcldbid from the server. More... | |
| complaintCreate ($tcldbid, $message) | |
| Submits a complaint about the client with database ID $tcldbid to the server. More... | |
| complaintDelete ($tcldbid, $fcldbid) | |
| Deletes the complaint about the client with ID $tcldbid submitted by the client with ID $fcldbid from the server. More... | |
| tempPasswordList ($resolve=FALSE) | |
| Returns a list of temporary server passwords. More... | |
| tempPasswordCreate ($pw, $duration, $tcid=0, $tcpw="", $desc="") | |
| Sets a new temporary server password specified with $pw. More... | |
| tempPasswordDelete ($pw) | |
| Deletes the temporary server password specified with $pw. More... | |
| logView ($lines=30, $begin_pos=null, $reverse=null, $instance=null) | |
| Displays a specified number of entries (1-100) from the servers log. More... | |
| logAdd ($logmsg, $loglevel=TeamSpeak3::LOGLEVEL_INFO) | |
| Writes a custom entry into the virtual server log. More... | |
| connectionInfo () | |
| Returns detailed connection information of the virtual server. More... | |
| delete () | |
| Deletes the virtual server. More... | |
| start () | |
| Starts the virtual server. More... | |
| stop () | |
| Stops the virtual server. More... | |
| sendPluginCmd ($plugin, $data) | |
| Sends a plugin command to all clients connected to the server. More... | |
| selfUpdate (array $properties) | |
| Changes the properties of your own client connection. More... | |
| selfUpdateLogin ($username) | |
| Updates your own ServerQuery login credentials using a specified username. More... | |
| selfPermOverview () | |
| Returns an array containing the permission overview of your own client. More... | |
| isOnline () | |
| Returns TRUE if the virtual server is online. More... | |
| isOffline () | |
| Returns TRUE if the virtual server is offline. More... | |
| getUniqueId () | |
| Returns a unique identifier for the node which can be used as a HTML property. More... | |
| getIcon () | |
| Returns the name of a possible icon to display the node object. More... | |
| getSymbol () | |
| Returns a symbol representing the node. More... | |
| __toString () | |
| Returns a string representation of this node. More... | |
| prepare ($cmd, array $params=array()) | |
| Uses given parameters and returns a prepared ServerQuery command. More... | |
| execute ($cmd, array $params=array()) | |
| Prepares and executes a ServerQuery command and returns the result. More... | |
| getParent () | |
| Returns the parent object of the current node. More... | |
| getId () | |
| Returns the primary ID of the current node. More... | |
| iconIsLocal ($key) | |
| Returns TRUE if the node icon has a local source. More... | |
| iconGetName ($key) | |
| Returns the internal path of the node icon. More... | |
| getClass ($prefix="ts3_") | |
| Returns a possible classname for the node which can be used as a HTML property. More... | |
| getViewer (TeamSpeak3_Viewer_Interface $viewer) | |
| Returns the HTML code to display a TeamSpeak 3 viewer. More... | |
| getInfo ($extend=TRUE, $convert=FALSE) | |
| Returns all information available on this node. More... | |
| getProperty ($property, $default=null) | |
| Returns the specified property or a pre-defined default value from the node info array. More... | |
| toString () | |
| Returns a string representation of this node. More... | |
| toArray () | |
| Returns an assoc array filled with current node info properties. More... | |
| __call ($name, array $args) | |
| Called whenever we're using an unknown method. More... | |
| __sleep () | |
| Commit pending data. More... | |
| count () | |
| current () | |
| getChildren () | |
| hasChildren () | |
| hasNext () | |
| key () | |
| valid () | |
| next () | |
| rewind () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| __get ($offset) | |
| __set ($offset, $value) | |
Protected Member Functions | |
| fetchNodeList () | |
| fetchNodeInfo () | |
| filterList (array $nodes=array(), array $rules=array()) | |
| Filters given node list array using specified filter rules. More... | |
| setStorage ($key, $val) | |
| Writes data to the internal storage array. More... | |
| getStorage ($key, $default=null) | |
| Returns data from the internal storage array. More... | |
| delStorage ($key) | |
| Deletes data from the internal storage array. More... | |
| resetNodeInfo () | |
| verifyNodeList () | |
| resetNodeList () | |
Static Protected Member Functions | |
| static | sortClientList (TeamSpeak3_Node_Client $a, TeamSpeak3_Node_Client $b) |
| Internal callback funtion for sorting of client objects. More... | |
| static | sortGroupList (TeamSpeak3_Node_Abstract $a, TeamSpeak3_Node_Abstract $b) |
| Internal callback funtion for sorting of group objects. More... | |
| static | sortFileList (array $a, array $b) |
| Internal callback funtion for sorting of file list items. More... | |
Protected Attributes | |
| $channelList = null | |
| $clientList = null | |
| $sgroupList = null | |
| $cgroupList = null | |
| $parent = null | |
| $server = null | |
| $nodeId = 0x00 | |
| $nodeList = null | |
| $nodeInfo = array() | |
| $storage = array() | |
Class describing a TeamSpeak 3 virtual server and all it's parameters.
Definition at line 32 of file Server.php.
| TeamSpeak3_Node_Server::__construct | ( | TeamSpeak3_Node_Host | $host, |
| array | $info, | ||
$index = "virtualserver_id" |
|||
| ) |
The TeamSpeak3_Node_Server constructor.
| TeamSpeak3_Node_Host | $host | |
| array | $info | |
| string | $index |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 63 of file Server.php.
| TeamSpeak3_Node_Server::request | ( | $cmd, | |
$throw = TRUE |
|||
| ) |
Sends a prepared command to the server and returns the result.
| string | $cmd | |
| boolean | $throw |
Definition at line 83 of file Server.php.
References TeamSpeak3_Node_Abstract\getId(), and TeamSpeak3_Node_Abstract\getParent().
Referenced by banList(), banListClear(), channelGroupList(), channelList(), clientList(), connectionInfo(), fetchNodeInfo(), messageList(), notifyUnregister(), permReset(), privilegeKeyList(), serverGroupList(), snapshotCreate(), snapshotDeploy(), tempPasswordList(), and transferList().
| TeamSpeak3_Node_Server::channelList | ( | array | $filter = array()) |
Returns an array filled with TeamSpeak3_Node_Channel objects.
| array | $filter |
Definition at line 99 of file Server.php.
References TeamSpeak3_Node_Abstract\filterList(), request(), and TeamSpeak3_Node_Abstract\resetNodeList().
Referenced by channelGetById(), channelGetByName(), channelListReset(), and fetchNodeList().
| TeamSpeak3_Node_Server::channelListReset | ( | ) |
Resets the list of channels online.
Definition at line 123 of file Server.php.
References channelList(), and TeamSpeak3_Node_Abstract\resetNodeList().
Referenced by channelCreate(), channelDelete(), and channelMove().
| TeamSpeak3_Node_Server::channelCreate | ( | array | $properties) |
Creates a new channel using given properties and returns the new ID.
| array | $properties |
Definition at line 135 of file Server.php.
References channelListReset(), TeamSpeak3_Node_Abstract\execute(), and TeamSpeak3_Node_Abstract\getParent().
Referenced by channelSpacerCreate().
| TeamSpeak3_Node_Server::channelDelete | ( | $cid, | |
$force = FALSE |
|||
| ) |
Deletes the channel specified by $cid.
| integer | $cid | |
| boolean | $force |
Definition at line 155 of file Server.php.
References channelListReset(), TeamSpeak3_Node_Abstract\execute(), TeamSpeak3_Node_Abstract\getId(), and TeamSpeak3_Node_Abstract\getParent().
| TeamSpeak3_Node_Server::channelMove | ( | $cid, | |
| $pid, | |||
$order = null |
|||
| ) |
Moves the channel specified by $cid to the parent channel specified with $pid.
| integer | $cid | |
| integer | $pid | |
| integer | $order |
Definition at line 174 of file Server.php.
References channelListReset(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelIsSpacer | ( | TeamSpeak3_Node_Channel | $channel) |
Returns TRUE if the given TeamSpeak3_Node_Channel object is a spacer.
| TeamSpeak3_Node_Channel | $channel |
Definition at line 186 of file Server.php.
Referenced by channelSpacerGetAlign(), and channelSpacerGetType().
| TeamSpeak3_Node_Server::channelSpacerCreate | ( | $ident, | |
$type = TeamSpeak3::SPACER_SOLIDLINE, |
|||
$align = TeamSpeak3::SPACER_ALIGN_REPEAT, |
|||
$order = null, |
|||
$maxclients = 0 |
|||
| ) |
Creates a new channel spacer and returns the new ID.
The first parameter $ident is used to create a unique spacer name on the virtual server.
| string | $ident | |
| mixed | $type | |
| integer | $align | |
| integer | $order | |
| integer | $maxclients |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 203 of file Server.php.
References channelCreate(), TeamSpeak3\CODEC_OPUS_VOICE, TeamSpeak3\SPACER_ALIGN_CENTER, TeamSpeak3\SPACER_ALIGN_LEFT, TeamSpeak3\SPACER_ALIGN_REPEAT, TeamSpeak3\SPACER_ALIGN_RIGHT, TeamSpeak3\SPACER_DASHDOTDOTLINE, TeamSpeak3\SPACER_DASHDOTLINE, TeamSpeak3\SPACER_DASHLINE, TeamSpeak3\SPACER_DOTLINE, and TeamSpeak3\SPACER_SOLIDLINE.
| TeamSpeak3_Node_Server::channelSpacerGetType | ( | $cid) |
Returns the possible type of a channel spacer.
| integer | $cid |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 277 of file Server.php.
References channelGetById(), channelIsSpacer(), TeamSpeak3\SPACER_CUSTOM, TeamSpeak3\SPACER_DASHDOTDOTLINE, TeamSpeak3\SPACER_DASHDOTLINE, TeamSpeak3\SPACER_DASHLINE, TeamSpeak3\SPACER_DOTLINE, and TeamSpeak3\SPACER_SOLIDLINE.
| TeamSpeak3_Node_Server::channelSpacerGetAlign | ( | $cid) |
Returns the possible alignment of a channel spacer.
| integer | $cid |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 315 of file Server.php.
References channelGetById(), channelIsSpacer(), TeamSpeak3\SPACER_ALIGN_CENTER, TeamSpeak3\SPACER_ALIGN_LEFT, TeamSpeak3\SPACER_ALIGN_REPEAT, and TeamSpeak3\SPACER_ALIGN_RIGHT.
| TeamSpeak3_Node_Server::channelPermList | ( | $cid, | |
$permsid = FALSE |
|||
| ) |
Returns a list of permissions defined for a specific channel.
| integer | $cid | |
| boolean | $permsid |
Definition at line 347 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelPermAssign | ( | $cid, | |
| $permid, | |||
| $permvalue | |||
| ) |
Adds a set of specified permissions to a channel.
Multiple permissions can be added by providing the two parameters of each permission.
| integer | $cid | |
| integer | $permid | |
| integer | $permvalue |
Definition at line 361 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelPermRemove | ( | $cid, | |
| $permid | |||
| ) |
Removes a set of specified permissions from a channel.
Multiple permissions can be removed at once.
| integer | $cid | |
| integer | $permid |
Definition at line 382 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
Referenced by permRemoveAny().
| TeamSpeak3_Node_Server::channelClientPermList | ( | $cid, | |
| $cldbid, | |||
$permsid = FALSE |
|||
| ) |
Returns a list of permissions defined for a client in a specific channel.
| integer | $cid | |
| integer | $cldbid | |
| boolean | $permsid |
Definition at line 404 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelClientPermAssign | ( | $cid, | |
| $cldbid, | |||
| $permid, | |||
| $permvalue | |||
| ) |
Adds a set of specified permissions to a client in a specific channel.
Multiple permissions can be added by providing the two parameters of each permission.
| integer | $cid | |
| integer | $cldbid | |
| integer | $permid | |
| integer | $permvalue |
Definition at line 419 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelClientPermRemove | ( | $cid, | |
| $cldbid, | |||
| $permid | |||
| ) |
Removes a set of specified permissions from a client in a specific channel.
Multiple permissions can be removed at once.
| integer | $cid | |
| integer | $cldbid | |
| integer | $permid |
Definition at line 441 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
Referenced by permRemoveAny().
| TeamSpeak3_Node_Server::channelFileList | ( | $cid, | |
$cpw = "", |
|||
$path = "/", |
|||
$recursive = FALSE |
|||
| ) |
Returns a list of files and directories stored in the specified channels file repository.
| integer | $cid | |
| string | $cpw | |
| string | $path | |
| boolean | $recursive |
Definition at line 464 of file Server.php.
References TeamSpeak3_Node_Abstract\count(), TeamSpeak3_Node_Abstract\execute(), TeamSpeak3\FILE_TYPE_DIRECTORY, and TeamSpeak3_Node_Abstract\getId().
| TeamSpeak3_Node_Server::channelFileInfo | ( | $cid, | |
$cpw = "", |
|||
$name = "/" |
|||
| ) |
Returns detailed information about the specified file stored in a channels file repository.
| integer | $cid | |
| string | $cpw | |
| string | $name |
Definition at line 502 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), and TeamSpeak3_Node_Abstract\toArray().
| TeamSpeak3_Node_Server::channelFileRename | ( | $cid, | |
$cpw = "", |
|||
$oldname = "/", |
|||
$newname = "/", |
|||
$tcid = null, |
|||
$tcpw = null |
|||
| ) |
Renames a file in a channels file repository.
If the two parameters $tcid and $tcpw are specified, the file will be moved into another channels file repository.
| integer | $cid | |
| string | $cpw | |
| string | $oldname | |
| string | $newname | |
| integer | $tcid | |
| string | $tcpw |
Definition at line 519 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelFileDelete | ( | $cid, | |
$cpw = "", |
|||
$name = "/" |
|||
| ) |
Deletes one or more files stored in a channels file repository.
| integer | $cid | |
| string | $cpw | |
| string | $name |
Definition at line 532 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelDirCreate | ( | $cid, | |
$cpw = "", |
|||
$dirname = "/" |
|||
| ) |
Creates new directory in a channels file repository.
| integer | $cid | |
| string | $cpw | |
| string | $dirname |
Definition at line 545 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelGetLevel | ( | $cid) |
Returns the level of a channel.
| integer | $cid |
Definition at line 556 of file Server.php.
References channelGetById().
| TeamSpeak3_Node_Server::channelGetPathway | ( | $cid) |
Returns the pathway of a channel which can be used as a clients default channel.
| integer | $cid |
Definition at line 575 of file Server.php.
References channelGetById().
| TeamSpeak3_Node_Server::channelGetById | ( | $cid) |
Returns the TeamSpeak3_Node_Channel object matching the given ID.
| integer | $cid |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 595 of file Server.php.
References channelList().
Referenced by channelGetLevel(), channelGetPathway(), channelSpacerGetAlign(), channelSpacerGetType(), privilegeKeyList(), and tempPasswordList().
| TeamSpeak3_Node_Server::channelGetByName | ( | $name) |
Returns the TeamSpeak3_Node_Channel object matching the given name.
| string | $name |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 612 of file Server.php.
References channelList().
| TeamSpeak3_Node_Server::clientList | ( | array | $filter = array()) |
Returns an array filled with TeamSpeak3_Node_Client objects.
| array | $filter |
Definition at line 628 of file Server.php.
References TeamSpeak3_Node_Abstract\filterList(), TeamSpeak3_Node_Abstract\getParent(), request(), and TeamSpeak3_Node_Abstract\resetNodeList().
Referenced by clientGetByDbid(), clientGetById(), clientGetByName(), clientGetByUid(), and clientListReset().
| TeamSpeak3_Node_Server::clientListReset | ( | ) |
Resets the list of clients online.
Definition at line 656 of file Server.php.
References clientList(), and TeamSpeak3_Node_Abstract\resetNodeList().
Referenced by clientBan(), clientKick(), clientMove(), clientPermList(), and serverGroupClientAdd().
| TeamSpeak3_Node_Server::clientFind | ( | $pattern) |
Returns a list of clients matching a given name pattern.
| string | $pattern |
Definition at line 668 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientListDb | ( | $offset = null, |
|
$limit = null |
|||
| ) |
Returns a list of client identities known by the virtual server.
By default, the server spits out 25 entries at once.
| integer | $offset | |
| integer | $limit |
Definition at line 681 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientCountDb | ( | ) |
Returns the number of client identities known by the virtual server.
Definition at line 691 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientInfoDb | ( | $cldbid) |
Returns a list of properties from the database for the client specified by $cldbid.
| integer | $cldbid |
Definition at line 702 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientFindDb | ( | $pattern, | |
$uid = FALSE |
|||
| ) |
Returns a list of client database IDs matching a given pattern.
You can either search for a clients last known nickname or his unique identity by using the $uid option.
| string | $pattern | |
| boolean | $uid |
Definition at line 715 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientCount | ( | ) |
Returns the number of regular clients online.
Definition at line 725 of file Server.php.
References isOffline().
| TeamSpeak3_Node_Server::clientGetById | ( | $clid) |
Returns the TeamSpeak3_Node_Client object matching the given ID.
| integer | $clid |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 739 of file Server.php.
References clientList().
| TeamSpeak3_Node_Server::clientGetByName | ( | $name) |
Returns the TeamSpeak3_Node_Client object matching the given name.
| string | $name |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 756 of file Server.php.
References clientList().
| TeamSpeak3_Node_Server::clientGetByUid | ( | $uid) |
Returns the TeamSpeak3_Node_Client object matching the given unique identifier.
| string | $uid |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 773 of file Server.php.
References clientList().
| TeamSpeak3_Node_Server::clientGetByDbid | ( | $dbid) |
Returns the TeamSpeak3_Node_Client object matching the given database ID.
| integer | $dbid |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 790 of file Server.php.
References clientList().
| TeamSpeak3_Node_Server::clientGetNameByUid | ( | $cluid) |
Returns an array containing the last known nickname and the database ID of the client matching the unique identifier specified with $cluid.
| string | $cluid |
Definition at line 807 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientGetIdsByUid | ( | $cluid) |
Returns an array containing a list of active client connections using the unique identifier specified with $cluid.
| string | $cluid |
Definition at line 819 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientGetNameByDbid | ( | $cldbid) |
Returns an array containing the last known nickname and the unique identifier of the client matching the database ID specified with $cldbid.
| string | $cldbid |
Definition at line 831 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientGetServerGroupsByDbid | ( | $cldbid) |
Returns an array containing the names and IDs of all server groups the client specified with $cldbid is is currently residing in.
| string | $cldbid |
Definition at line 843 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientMove | ( | $clid, | |
| $cid, | |||
$cpw = null |
|||
| ) |
Moves a client to another channel.
| integer | $clid | |
| integer | $cid | |
| string | $cpw |
Definition at line 856 of file Server.php.
References clientListReset(), TeamSpeak3_Node_Abstract\execute(), and TeamSpeak3_Node_Abstract\getParent().
| TeamSpeak3_Node_Server::clientKick | ( | $clid, | |
$reasonid = TeamSpeak3::KICK_CHANNEL, |
|||
$reasonmsg = null |
|||
| ) |
Kicks one or more clients from their currently joined channel or from the server.
| integer | $clid | |
| integer | $reasonid | |
| string | $reasonmsg |
Definition at line 886 of file Server.php.
References clientListReset(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientPoke | ( | $clid, | |
| $msg | |||
| ) |
Sends a poke message to a client.
| integer | $clid | |
| string | $msg |
Definition at line 900 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientBan | ( | $clid, | |
$timeseconds = null, |
|||
$reason = null |
|||
| ) |
Bans the client specified with ID $clid from the server.
Please note that this will create two separate ban rules for the targeted clients IP address and his unique identifier.
| integer | $clid | |
| integer | $timeseconds | |
| string | $reason |
Definition at line 914 of file Server.php.
References clientListReset(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientModifyDb | ( | $cldbid, | |
| array | $properties | ||
| ) |
Changes the clients properties using given properties.
| string | $cldbid | |
| array | $properties |
Definition at line 930 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientDeleteDb | ( | $cldbid) |
Deletes a clients properties from the database.
| string | $cldbid |
Definition at line 943 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientSetChannelGroup | ( | $cldbid, | |
| $cid, | |||
| $cgid | |||
| ) |
Sets the channel group of a client to the ID specified.
| integer | $cldbid | |
| integer | $cid | |
| integer | $cgid |
Definition at line 956 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientPermList | ( | $cldbid, | |
$permsid = FALSE |
|||
| ) |
Returns a list of permissions defined for a client.
| integer | $cldbid | |
| boolean | $permsid |
Definition at line 968 of file Server.php.
References clientListReset(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientPermAssign | ( | $cldbid, | |
| $permid, | |||
| $permvalue, | |||
$permskip = FALSE |
|||
| ) |
Adds a set of specified permissions to a client.
Multiple permissions can be added by providing the three parameters of each permission.
| integer | $cldbid | |
| integer | $permid | |
| integer | $permvalue | |
| integer | $permskip |
Definition at line 985 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::clientPermRemove | ( | $cldbid, | |
| $permid | |||
| ) |
Removes a set of specified permissions from a client.
Multiple permissions can be removed at once.
| integer | $cldbid | |
| integer | $permid |
Definition at line 1006 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
Referenced by permRemoveAny().
| TeamSpeak3_Node_Server::serverGroupList | ( | array | $filter = array()) |
Returns a list of server groups available.
| filter | $filter |
Definition at line 1026 of file Server.php.
References TeamSpeak3_Node_Abstract\filterList(), and request().
Referenced by serverGroupGetById(), serverGroupGetByName(), and serverGroupGetProfiles().
| TeamSpeak3_Node_Server::serverGroupListReset | ( | ) |
Resets the list of server groups.
Definition at line 1048 of file Server.php.
Referenced by serverGroupCopy(), serverGroupCreate(), serverGroupDelete(), and serverGroupRename().
| TeamSpeak3_Node_Server::serverGroupCreate | ( | $name, | |
$type = TeamSpeak3::GROUP_DBTYPE_REGULAR |
|||
| ) |
Creates a new server group using the name specified with $name and returns its ID.
| string | $name | |
| integer | $type |
Definition at line 1060 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), and serverGroupListReset().
| TeamSpeak3_Node_Server::serverGroupCopy | ( | $ssgid, | |
$name = null, |
|||
$tsgid = 0, |
|||
$type = TeamSpeak3::GROUP_DBTYPE_REGULAR |
|||
| ) |
Creates a copy of an existing server group specified by $ssgid and returns the new groups ID.
| integer | $ssgid | |
| string | $name | |
| integer | $tsgid | |
| integer | $type |
Definition at line 1078 of file Server.php.
References TeamSpeak3_Node_Abstract\count(), TeamSpeak3_Node_Abstract\execute(), serverGroupListReset(), and serverGroupRename().
| TeamSpeak3_Node_Server::serverGroupRename | ( | $sgid, | |
| $name | |||
| ) |
Renames the server group specified with $sgid.
| integer | $sgid | |
| string | $name |
Definition at line 1099 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), and serverGroupListReset().
Referenced by serverGroupCopy().
| TeamSpeak3_Node_Server::serverGroupDelete | ( | $sgid, | |
$force = FALSE |
|||
| ) |
Deletes the server group specified with $sgid.
If $force is set to 1, the server group will be deleted even if there are clients within.
| integer | $sgid | |
| boolean | $force |
Definition at line 1114 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), and serverGroupListReset().
| TeamSpeak3_Node_Server::serverGroupGetById | ( | $sgid) |
Returns the TeamSpeak3_Node_Servergroup object matching the given ID.
| integer | $sgid |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 1128 of file Server.php.
References serverGroupList().
Referenced by serverGroupIdentify().
| TeamSpeak3_Node_Server::serverGroupGetByName | ( | $name, | |
$type = TeamSpeak3::GROUP_DBTYPE_REGULAR |
|||
| ) |
Returns the TeamSpeak3_Node_Servergroup object matching the given name.
| string | $name | |
| integer | $type |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 1146 of file Server.php.
References serverGroupList().
| TeamSpeak3_Node_Server::serverGroupPermList | ( | $sgid, | |
$permsid = FALSE |
|||
| ) |
Returns a list of permissions assigned to the server group specified.
| integer | $sgid | |
| boolean | $permsid |
Definition at line 1163 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
Referenced by serverGroupGetProfiles().
| TeamSpeak3_Node_Server::serverGroupPermAssign | ( | $sgid, | |
| $permid, | |||
| $permvalue, | |||
$permnegated = FALSE, |
|||
$permskip = FALSE |
|||
| ) |
Adds a set of specified permissions to the server group specified.
Multiple permissions can be added by providing the four parameters of each permission in separate arrays.
| integer | $sgid | |
| integer | $permid | |
| integer | $permvalue | |
| integer | $permnegated | |
| integer | $permskip |
Definition at line 1179 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::serverGroupPermRemove | ( | $sgid, | |
| $permid | |||
| ) |
Removes a set of specified permissions from the server group specified with $sgid.
Multiple permissions can be removed at once.
| integer | $sgid | |
| integer | $permid |
Definition at line 1201 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
Referenced by permRemoveAny().
| TeamSpeak3_Node_Server::serverGroupClientList | ( | $sgid) |
Returns a list of clients assigned to the server group specified.
| integer | $sgid |
Definition at line 1221 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::serverGroupClientAdd | ( | $sgid, | |
| $cldbid | |||
| ) |
Adds a client to the server group specified.
Please note that a client cannot be added to default groups or template groups.
| integer | $sgid | |
| integer | $cldbid |
Definition at line 1239 of file Server.php.
References clientListReset(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::serverGroupClientDel | ( | $sgid, | |
| $cldbid | |||
| ) |
Removes a client from the server group specified.
| integer | $sgid | |
| integer | $cldbid |
Definition at line 1253 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::serverGroupGetProfiles | ( | ) |
Returns an ordered array of regular server groups available based on a pre-defined set of rules.
Definition at line 1264 of file Server.php.
References TeamSpeak3_Helper_String\factory(), TeamSpeak3\GROUP_DBTYPE_REGULAR, serverGroupList(), and serverGroupPermList().
Referenced by serverGroupIdentify().
| TeamSpeak3_Node_Server::serverGroupIdentify | ( | $mode = TeamSpeak3::GROUP_IDENTIFIY_STRONGEST) |
Tries to identify the post powerful/weakest server group on the virtual server and returns the ID.
| integer | $mode |
Definition at line 1341 of file Server.php.
References TeamSpeak3\GROUP_IDENTIFIY_STRONGEST, serverGroupGetById(), and serverGroupGetProfiles().
| TeamSpeak3_Node_Server::channelGroupList | ( | array | $filter = array()) |
Returns a list of channel groups available.
| array | $filter |
Definition at line 1356 of file Server.php.
References TeamSpeak3_Node_Abstract\filterList(), and request().
Referenced by channelGroupGetById(), and channelGroupGetByName().
| TeamSpeak3_Node_Server::channelGroupListReset | ( | ) |
Resets the list of channel groups.
Definition at line 1378 of file Server.php.
Referenced by channelGroupCopy(), channelGroupCreate(), channelGroupDelete(), and channelGroupRename().
| TeamSpeak3_Node_Server::channelGroupCreate | ( | $name, | |
$type = TeamSpeak3::GROUP_DBTYPE_REGULAR |
|||
| ) |
Creates a new channel group using the name specified with $name and returns its ID.
| string | $name | |
| integer | $type |
Definition at line 1390 of file Server.php.
References channelGroupListReset(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelGroupCopy | ( | $scgid, | |
$name = null, |
|||
$tcgid = 0, |
|||
$type = TeamSpeak3::GROUP_DBTYPE_REGULAR |
|||
| ) |
Creates a copy of an existing channel group specified by $scgid and returns the new groups ID.
| integer | $scgid | |
| string | $name | |
| integer | $tcgid | |
| integer | $type |
Definition at line 1408 of file Server.php.
References channelGroupListReset(), channelGroupRename(), TeamSpeak3_Node_Abstract\count(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelGroupRename | ( | $cgid, | |
| $name | |||
| ) |
Renames the channel group specified with $cgid.
| integer | $cgid | |
| string | $name |
Definition at line 1429 of file Server.php.
References channelGroupListReset(), and TeamSpeak3_Node_Abstract\execute().
Referenced by channelGroupCopy().
| TeamSpeak3_Node_Server::channelGroupDelete | ( | $cgid, | |
$force = FALSE |
|||
| ) |
Deletes the channel group specified with $cgid.
If $force is set to 1, the channel group will be deleted even if there are clients within.
| integer | $sgid | |
| boolean | $force |
Definition at line 1444 of file Server.php.
References channelGroupListReset(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelGroupGetById | ( | $cgid) |
Returns the TeamSpeak3_Node_Channelgroup object matching the given ID.
| integer | $cgid |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 1458 of file Server.php.
References channelGroupList().
| TeamSpeak3_Node_Server::channelGroupGetByName | ( | $name, | |
$type = TeamSpeak3::GROUP_DBTYPE_REGULAR |
|||
| ) |
Returns the TeamSpeak3_Node_Channelgroup object matching the given name.
| string | $name | |
| integer | $type |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 1476 of file Server.php.
References channelGroupList().
| TeamSpeak3_Node_Server::channelGroupPermList | ( | $cgid, | |
$permsid = FALSE |
|||
| ) |
Returns a list of permissions assigned to the channel group specified.
| integer | $cgid | |
| boolean | $permsid |
Definition at line 1493 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelGroupPermAssign | ( | $cgid, | |
| $permid, | |||
| $permvalue | |||
| ) |
Adds a set of specified permissions to the channel group specified.
Multiple permissions can be added by providing the two parameters of each permission in separate arrays.
| integer | $cgid | |
| integer | $permid | |
| integer | $permvalue |
Definition at line 1507 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::channelGroupPermRemove | ( | $cgid, | |
| $permid | |||
| ) |
Removes a set of specified permissions from the channel group specified with $cgid.
Multiple permissions can be removed at once.
| integer | $cgid | |
| integer | $permid |
Definition at line 1529 of file Server.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\execute().
Referenced by permRemoveAny().
| TeamSpeak3_Node_Server::channelGroupClientList | ( | $cgid = null, |
|
$cid = null, |
|||
$cldbid = null |
|||
| ) |
Returns all the client and/or channel IDs currently assigned to channel groups.
All three parameters are optional so you're free to choose the most suitable combination for your requirements.
| integer | $cgid | |
| integer | $cid | |
| integer | $cldbid |
Definition at line 1553 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::permReset | ( | ) |
Restores the default permission settings on the virtual server and returns a new initial administrator privilege key.
Definition at line 1569 of file Server.php.
References TeamSpeak3_Helper_Signal\getInstance(), and request().
| TeamSpeak3_Node_Server::permRemoveAny | ( | $permid) |
Removes any assignment of the permission specified with $permid on the selected virtual server and returns the number of removed assignments on success.
| integer | $permid |
Definition at line 1585 of file Server.php.
References channelClientPermRemove(), channelGroupPermRemove(), channelPermRemove(), clientPermRemove(), TeamSpeak3_Node_Abstract\count(), TeamSpeak3\PERM_TYPE_CHANNEL, TeamSpeak3\PERM_TYPE_CHANNELCLIENT, TeamSpeak3\PERM_TYPE_CHANNELGROUP, TeamSpeak3\PERM_TYPE_CLIENT, TeamSpeak3\PERM_TYPE_SERVERGROUP, and serverGroupPermRemove().
| TeamSpeak3_Node_Server::transferInitUpload | ( | $clientftfid, | |
| $cid, | |||
| $name, | |||
| $size, | |||
$cpw = "", |
|||
$overwrite = FALSE, |
|||
$resume = FALSE |
|||
| ) |
Initializes a file transfer upload.
$clientftfid is an arbitrary ID to identify the file transfer on client-side.
| integer | $clientftfid | |
| integer | $cid | |
| string | $name | |
| integer | $size | |
| string | $cpw | |
| boolean | $overwrite | |
| boolean | $resume |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 1634 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), TeamSpeak3_Helper_Signal\getInstance(), and TeamSpeak3_Node_Abstract\getParent().
Referenced by iconUpload().
| TeamSpeak3_Node_Server::transferInitDownload | ( | $clientftfid, | |
| $cid, | |||
| $name, | |||
$cpw = "", |
|||
$seekpos = 0 |
|||
| ) |
Initializes a file transfer download.
$clientftfid is an arbitrary ID to identify the file transfer on client-side.
| integer | $clientftfid | |
| integer | $cid | |
| string | $name | |
| string | $cpw | |
| integer | $seekpos |
| TeamSpeak3_Adapter_ServerQuery_Exception |
Definition at line 1673 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), TeamSpeak3_Helper_Signal\getInstance(), and TeamSpeak3_Node_Abstract\getParent().
Referenced by iconDownload().
| TeamSpeak3_Node_Server::transferList | ( | ) |
Displays a list of running file transfers on the selected virtual server.
The output contains the path to which a file is uploaded to, the current transfer rate in bytes per second, etc.
Definition at line 1707 of file Server.php.
References request().
| TeamSpeak3_Node_Server::transferStop | ( | $serverftfid, | |
$delete = FALSE |
|||
| ) |
Stops the running file transfer with server-side ID $serverftfid.
| integer | $serverftfid | |
| boolean | $delete |
Definition at line 1719 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::iconDownload | ( | ) |
Downloads and returns the servers icon file content.
Definition at line 1729 of file Server.php.
References TeamSpeak3\factory(), TeamSpeak3_Node_Abstract\iconGetName(), TeamSpeak3_Node_Abstract\iconIsLocal(), and transferInitDownload().
| TeamSpeak3_Node_Server::iconUpload | ( | $data) |
Uploads a given icon file content to the server and returns the ID of the icon.
| string | $data |
Definition at line 1745 of file Server.php.
References TeamSpeak3\factory(), and transferInitUpload().
| TeamSpeak3_Node_Server::modify | ( | array | $properties) |
Changes the virtual server configuration using given properties.
| array | $properties |
Definition at line 1764 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), and TeamSpeak3_Node_Abstract\resetNodeInfo().
| TeamSpeak3_Node_Server::message | ( | $msg) |
Sends a text message to all clients on the virtual server.
| string | $msg |
Definition at line 1776 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), TeamSpeak3_Node_Abstract\getId(), and TeamSpeak3\TEXTMSG_SERVER.
| TeamSpeak3_Node_Server::messageList | ( | ) |
Returns a list of offline messages you've received.
The output contains the senders unique identifier, the messages subject, etc.
Definition at line 1787 of file Server.php.
References request().
| TeamSpeak3_Node_Server::messageCreate | ( | $cluid, | |
| $subject, | |||
| $message | |||
| ) |
Sends an offline message to the client specified by $cluid.
| string | $cluid | |
| string | $subject | |
| string | $message |
Definition at line 1800 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::messageDelete | ( | $msgid) |
Deletes an existing offline message with ID $msgid from your inbox.
| integer | $msgid |
Definition at line 1811 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::messageRead | ( | $msgid, | |
$flag_read = TRUE |
|||
| ) |
Returns an existing offline message with ID $msgid from your inbox.
| integer | $msgid | |
| boolean | $flag_read |
Definition at line 1823 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::snapshotCreate | ( | $mode = TeamSpeak3::SNAPSHOT_STRING) |
Creates and returns snapshot data for the selected virtual server.
| string | $mode |
Definition at line 1841 of file Server.php.
References request(), TeamSpeak3\SNAPSHOT_BASE64, and TeamSpeak3\SNAPSHOT_HEXDEC.
| TeamSpeak3_Node_Server::snapshotDeploy | ( | $data, | |
$mode = TeamSpeak3::SNAPSHOT_STRING |
|||
| ) |
Deploys snapshot data on the selected virtual server.
If no virtual server is selected (ID 0), the data will be used to create a new virtual server from scratch.
| string | $data | |
| string | $mode |
Definition at line 1869 of file Server.php.
References TeamSpeak3_Helper_String\factory(), TeamSpeak3_Helper_String\fromBase64(), TeamSpeak3_Helper_String\fromHex(), TeamSpeak3_Helper_Signal\getInstance(), TeamSpeak3_Node_Abstract\getParent(), request(), TeamSpeak3\SNAPSHOT_BASE64, and TeamSpeak3\SNAPSHOT_HEXDEC.
| TeamSpeak3_Node_Server::notifyRegister | ( | $event, | |
$id = 0 |
|||
| ) |
Registers for a specified category of events on a virtual server to receive notification messages.
Depending on the notifications you've registered for, the server will send you a message on every event.
| string | $event | |
| integer | $id |
Definition at line 1905 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::notifyUnregister | ( | ) |
Unregisters all events previously registered with servernotifyregister so you will no longer receive notification messages.
Definition at line 1916 of file Server.php.
References request().
| TeamSpeak3_Node_Server::tokenList | ( | $translate = FALSE) |
Alias for privilegeKeyList().
Definition at line 1926 of file Server.php.
References privilegeKeyList().
| TeamSpeak3_Node_Server::privilegeKeyList | ( | $resolve = FALSE) |
Returns a list of privilege keys (tokens) available.
If $resolve is set to TRUE the values of token_id1 and token_id2 will be translated into the appropriate group and/or channel names.
| boolean | $resolve |
Definition at line 1939 of file Server.php.
References channelGetById(), and request().
Referenced by tokenList().
| TeamSpeak3_Node_Server::tokenCreate | ( | $type = TeamSpeak3::TOKEN_SERVERGROUP, |
|
| $id1, | |||
$id2 = 0, |
|||
$description = null, |
|||
$customset = null |
|||
| ) |
Alias for privilegeKeyCreate().
Definition at line 1979 of file Server.php.
References privilegeKeyCreate().
| TeamSpeak3_Node_Server::privilegeKeyCreate | ( | $type = TeamSpeak3::TOKEN_SERVERGROUP, |
|
| $id1, | |||
$id2 = 0, |
|||
$description = null, |
|||
$customset = null |
|||
| ) |
Creates a new privilege key (token) and returns the key.
| integer | $type | |
| integer | $id1 | |
| integer | $id2 | |
| string | $description | |
| string | $customset |
Definition at line 1994 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), and TeamSpeak3_Helper_Signal\getInstance().
Referenced by tokenCreate().
| TeamSpeak3_Node_Server::tokenDelete | ( | $token) |
Alias for privilegeKeyDelete().
Definition at line 2008 of file Server.php.
References privilegeKeyDelete().
| TeamSpeak3_Node_Server::privilegeKeyDelete | ( | $token) |
Deletes a token specified by key $token.
| string | $token |
Definition at line 2019 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
Referenced by tokenDelete().
| TeamSpeak3_Node_Server::tokenUse | ( | $token) |
Alias for privilegeKeyUse().
Definition at line 2029 of file Server.php.
References privilegeKeyUse().
| TeamSpeak3_Node_Server::privilegeKeyUse | ( | $token) |
Use a token key gain access to a server or channel group.
Please note that the server will automatically delete the token after it has been used.
| string | $token |
Definition at line 2041 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
Referenced by tokenUse().
| TeamSpeak3_Node_Server::customSearch | ( | $ident, | |
$pattern = "%" |
|||
| ) |
Returns a list of custom client properties specified by $ident.
| string | $ident | |
| string | $pattern |
Definition at line 2053 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::customInfo | ( | $cldbid) |
Returns a list of custom properties for the client specified by $cldbid.
| integer | $cldbid |
Definition at line 2064 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::banList | ( | ) |
Returns a list of active bans on the selected virtual server.
Definition at line 2074 of file Server.php.
References request().
| TeamSpeak3_Node_Server::banListClear | ( | ) |
Deletes all active ban rules from the server.
Definition at line 2084 of file Server.php.
References request().
| TeamSpeak3_Node_Server::banCreate | ( | array | $rules, |
$timeseconds = null, |
|||
$reason = null |
|||
| ) |
Adds a new ban rule on the selected virtual server.
All parameters are optional but at least one of the following rules must be set: ip, name, or uid.
| array | $rules | |
| integer | $timeseconds | |
| string | $reason |
Definition at line 2098 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::banDelete | ( | $banid) |
Deletes the specified ban rule from the server.
| integer | $banid |
Definition at line 2114 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::complaintList | ( | $tcldbid = null) |
Returns a list of complaints on the selected virtual server.
If $tcldbid is specified, only complaints about the targeted client will be shown.
| integer | $tcldbid |
Definition at line 2126 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::complaintListClear | ( | $tcldbid) |
Deletes all active complaints about the client with database ID $tcldbid from the server.
| integer | $tcldbid |
Definition at line 2137 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::complaintCreate | ( | $tcldbid, | |
| $message | |||
| ) |
Submits a complaint about the client with database ID $tcldbid to the server.
| integer | $tcldbid | |
| string | $message |
Definition at line 2149 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::complaintDelete | ( | $tcldbid, | |
| $fcldbid | |||
| ) |
Deletes the complaint about the client with ID $tcldbid submitted by the client with ID $fcldbid from the server.
| integer | $tcldbid | |
| integer | $fcldbid |
Definition at line 2161 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::tempPasswordList | ( | $resolve = FALSE) |
Returns a list of temporary server passwords.
| boolean | $resolve |
Definition at line 2172 of file Server.php.
References channelGetById(), and request().
| TeamSpeak3_Node_Server::tempPasswordCreate | ( | $pw, | |
| $duration, | |||
$tcid = 0, |
|||
$tcpw = "", |
|||
$desc = "" |
|||
| ) |
Sets a new temporary server password specified with $pw.
The temporary password will be valid for the number of seconds specified with $duration. The client connecting with this password will automatically join the channel specified with $tcid. If tcid is set to 0, the client will join the default channel.
| string | $pw | |
| integer | $duration | |
| integer | $tcid | |
| string | $tcpw | |
| string | $desc |
Definition at line 2211 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::tempPasswordDelete | ( | $pw) |
Deletes the temporary server password specified with $pw.
| string | $pw |
Definition at line 2222 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::logView | ( | $lines = 30, |
|
$begin_pos = null, |
|||
$reverse = null, |
|||
$instance = null |
|||
| ) |
Displays a specified number of entries (1-100) from the servers log.
| integer | $lines | |
| integer | $begin_pos | |
| boolean | $reverse | |
| boolean | $instance |
Definition at line 2236 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::logAdd | ( | $logmsg, | |
$loglevel = TeamSpeak3::LOGLEVEL_INFO |
|||
| ) |
Writes a custom entry into the virtual server log.
| string | $logmsg | |
| integer | $loglevel |
Definition at line 2248 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::connectionInfo | ( | ) |
Returns detailed connection information of the virtual server.
Definition at line 2258 of file Server.php.
References request().
| TeamSpeak3_Node_Server::delete | ( | ) |
Deletes the virtual server.
Definition at line 2268 of file Server.php.
References TeamSpeak3_Node_Abstract\getId(), and TeamSpeak3_Node_Abstract\getParent().
| TeamSpeak3_Node_Server::start | ( | ) |
Starts the virtual server.
Definition at line 2280 of file Server.php.
References TeamSpeak3_Node_Abstract\getId(), and TeamSpeak3_Node_Abstract\getParent().
| TeamSpeak3_Node_Server::stop | ( | ) |
Stops the virtual server.
Definition at line 2290 of file Server.php.
References TeamSpeak3_Node_Abstract\getId(), and TeamSpeak3_Node_Abstract\getParent().
| TeamSpeak3_Node_Server::sendPluginCmd | ( | $plugin, | |
| $data | |||
| ) |
Sends a plugin command to all clients connected to the server.
| string | $plugin | |
| string | $data |
Definition at line 2302 of file Server.php.
References TeamSpeak3_Node_Abstract\execute(), and TeamSpeak3\PLUGINCMD_SERVER.
| TeamSpeak3_Node_Server::selfUpdate | ( | array | $properties) |
Changes the properties of your own client connection.
| array | $properties |
Definition at line 2313 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::selfUpdateLogin | ( | $username) |
Updates your own ServerQuery login credentials using a specified username.
The password will be auto-generated.
| string | $username |
Definition at line 2330 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
| TeamSpeak3_Node_Server::selfPermOverview | ( | ) |
Returns an array containing the permission overview of your own client.
Definition at line 2342 of file Server.php.
References TeamSpeak3_Node_Abstract\execute().
|
protected |
|
protected |
|
staticprotected |
Internal callback funtion for sorting of client objects.
| TeamSpeak3_Node_Client | $a | |
| TeamSpeak3_Node_Client | $b |
Definition at line 2378 of file Server.php.
References TeamSpeak3_Node_Abstract\getProperty().
|
staticprotected |
Internal callback funtion for sorting of group objects.
| TeamSpeak3_Node_Abstract | $a | |
| TeamSpeak3_Node_Abstract | $b |
Definition at line 2416 of file Server.php.
References TeamSpeak3_Node_Abstract\getId(), and TeamSpeak3_Node_Abstract\getProperty().
|
staticprotected |
Internal callback funtion for sorting of file list items.
| array | $a | |
| array | $b |
Definition at line 2449 of file Server.php.
| TeamSpeak3_Node_Server::isOnline | ( | ) |
Returns TRUE if the virtual server is online.
Definition at line 2471 of file Server.php.
| TeamSpeak3_Node_Server::isOffline | ( | ) |
Returns TRUE if the virtual server is offline.
Definition at line 2481 of file Server.php.
Referenced by clientCount().
| TeamSpeak3_Node_Server::getUniqueId | ( | ) |
Returns a unique identifier for the node which can be used as a HTML property.
Definition at line 2491 of file Server.php.
References TeamSpeak3_Node_Abstract\getId(), and TeamSpeak3_Node_Abstract\getParent().
| TeamSpeak3_Node_Server::getIcon | ( | ) |
Returns the name of a possible icon to display the node object.
Definition at line 2501 of file Server.php.
| TeamSpeak3_Node_Server::getSymbol | ( | ) |
| TeamSpeak3_Node_Server::__toString | ( | ) |
Returns a string representation of this node.
Definition at line 2532 of file Server.php.
|
inherited |
Uses given parameters and returns a prepared ServerQuery command.
| string | $cmd | |
| array | $params |
Definition at line 83 of file Abstract.php.
References TeamSpeak3_Node_Abstract\getParent().
Referenced by TeamSpeak3_Node_Abstract\execute().
|
inherited |
Prepares and executes a ServerQuery command and returns the result.
| string | $cmd | |
| array | $params |
Definition at line 95 of file Abstract.php.
References TeamSpeak3_Node_Abstract\prepare(), and TeamSpeak3_Node_Abstract\request().
Referenced by banCreate(), banDelete(), channelClientPermAssign(), channelClientPermList(), channelClientPermRemove(), channelCreate(), channelDelete(), channelDirCreate(), channelFileDelete(), channelFileInfo(), channelFileList(), channelFileRename(), channelGroupClientList(), channelGroupCopy(), channelGroupCreate(), channelGroupDelete(), channelGroupPermAssign(), channelGroupPermList(), channelGroupPermRemove(), channelGroupRename(), channelMove(), channelPermAssign(), channelPermList(), channelPermRemove(), clientBan(), clientCountDb(), clientDeleteDb(), clientFind(), clientFindDb(), clientGetIdsByUid(), clientGetNameByDbid(), clientGetNameByUid(), clientGetServerGroupsByDbid(), clientInfoDb(), clientKick(), clientListDb(), clientModifyDb(), clientMove(), clientPermAssign(), clientPermList(), clientPermRemove(), clientPoke(), clientSetChannelGroup(), complaintCreate(), complaintDelete(), complaintList(), complaintListClear(), customInfo(), customSearch(), TeamSpeak3_Node_Client\fetchNodeInfo(), TeamSpeak3_Node_Channel\fetchNodeInfo(), TeamSpeak3_Node_Client\getClones(), TeamSpeak3_Node_Host\logAdd(), logAdd(), TeamSpeak3_Node_Host\login(), TeamSpeak3_Node_Host\logView(), logView(), TeamSpeak3_Node_Client\message(), TeamSpeak3_Node_Channelgroup\message(), TeamSpeak3_Node_Servergroup\message(), TeamSpeak3_Node_Channel\message(), TeamSpeak3_Node_Host\message(), message(), messageCreate(), messageDelete(), messageRead(), TeamSpeak3_Node_Client\modify(), TeamSpeak3_Node_Channel\modify(), TeamSpeak3_Node_Host\modify(), modify(), notifyRegister(), TeamSpeak3_Node_Host\permissionFind(), TeamSpeak3_Node_Client\permOverview(), privilegeKeyCreate(), privilegeKeyDelete(), privilegeKeyUse(), TeamSpeak3_Node_Host\selfPermCheck(), selfPermOverview(), selfUpdate(), selfUpdateLogin(), TeamSpeak3_Node_Client\sendPluginCmd(), TeamSpeak3_Node_Channel\sendPluginCmd(), sendPluginCmd(), TeamSpeak3_Node_Host\serverCreate(), TeamSpeak3_Node_Host\serverDelete(), serverGroupClientAdd(), serverGroupClientDel(), serverGroupClientList(), serverGroupCopy(), serverGroupCreate(), serverGroupDelete(), serverGroupPermAssign(), TeamSpeak3_Node_Host\serverGroupPermAutoAssign(), TeamSpeak3_Node_Host\serverGroupPermAutoRemove(), serverGroupPermList(), serverGroupPermRemove(), serverGroupRename(), TeamSpeak3_Node_Host\serverIdGetByPort(), TeamSpeak3_Node_Host\serverSelect(), TeamSpeak3_Node_Host\serverSelectByPort(), TeamSpeak3_Node_Host\serverStart(), TeamSpeak3_Node_Host\serverStop(), TeamSpeak3_Node_Host\serverStopProcess(), tempPasswordCreate(), tempPasswordDelete(), transferInitDownload(), transferInitUpload(), and transferStop().
|
inherited |
Returns the parent object of the current node.
Definition at line 106 of file Abstract.php.
References TeamSpeak3_Node_Abstract\$parent.
Referenced by TeamSpeak3_Node_Abstract\__call(), TeamSpeak3_Node_Client\addServerGroup(), TeamSpeak3_Node_Client\avatarDownload(), TeamSpeak3_Node_Client\ban(), channelCreate(), channelDelete(), TeamSpeak3_Node_Servergroup\clientAdd(), TeamSpeak3_Node_Servergroup\clientDel(), TeamSpeak3_Node_Channel\clientList(), TeamSpeak3_Node_Channelgroup\clientList(), TeamSpeak3_Node_Servergroup\clientList(), clientList(), clientMove(), TeamSpeak3_Node_Channel\clientPermAssign(), TeamSpeak3_Node_Channel\clientPermList(), TeamSpeak3_Node_Channel\clientPermRemove(), TeamSpeak3_Node_Servergroup\copy(), TeamSpeak3_Node_Channelgroup\copy(), TeamSpeak3_Node_Client\customInfo(), TeamSpeak3_Node_Servergroup\delete(), TeamSpeak3_Node_Channelgroup\delete(), TeamSpeak3_Node_Channel\delete(), delete(), TeamSpeak3_Node_Client\deleteDb(), TeamSpeak3_Node_Channel\dirCreate(), TeamSpeak3_Node_Channelgroup\fetchNodeList(), TeamSpeak3_Node_Servergroup\fetchNodeList(), TeamSpeak3_Node_Channel\fetchNodeList(), TeamSpeak3_Node_Channel\fileDelete(), TeamSpeak3_Node_Channel\fileInfo(), TeamSpeak3_Node_Channel\fileList(), TeamSpeak3_Node_Channel\fileRename(), TeamSpeak3_Node_Host\getAdapter(), TeamSpeak3_Node_Host\getAdapterHost(), TeamSpeak3_Node_Host\getAdapterPort(), TeamSpeak3_Node_Channel\getLevel(), TeamSpeak3_Node_Channel\getPathway(), TeamSpeak3_Node_Channelgroup\getUniqueId(), TeamSpeak3_Node_Servergroup\getUniqueId(), TeamSpeak3_Node_Client\getUniqueId(), TeamSpeak3_Node_Channel\getUniqueId(), getUniqueId(), TeamSpeak3_Node_Channelgroup\iconDownload(), TeamSpeak3_Node_Servergroup\iconDownload(), TeamSpeak3_Node_Client\iconDownload(), TeamSpeak3_Node_Channel\iconDownload(), TeamSpeak3_Node_Client\infoDb(), TeamSpeak3_Node_Channel\isSpacer(), TeamSpeak3_Node_Client\kick(), TeamSpeak3_Node_Client\memberOf(), TeamSpeak3_Node_Channel\message(), TeamSpeak3_Node_Client\modifyDb(), TeamSpeak3_Node_Client\move(), TeamSpeak3_Node_Channel\move(), TeamSpeak3_Node_Channelgroup\permAssign(), TeamSpeak3_Node_Servergroup\permAssign(), TeamSpeak3_Node_Client\permAssign(), TeamSpeak3_Node_Channel\permAssign(), TeamSpeak3_Node_Servergroup\permList(), TeamSpeak3_Node_Channelgroup\permList(), TeamSpeak3_Node_Client\permList(), TeamSpeak3_Node_Channel\permList(), TeamSpeak3_Node_Channelgroup\permRemove(), TeamSpeak3_Node_Servergroup\permRemove(), TeamSpeak3_Node_Client\permRemove(), TeamSpeak3_Node_Channel\permRemove(), TeamSpeak3_Node_Client\poke(), TeamSpeak3_Node_Abstract\prepare(), TeamSpeak3_Node_Channelgroup\privilegeKeyCreate(), TeamSpeak3_Node_Servergroup\privilegeKeyCreate(), TeamSpeak3_Node_Client\remServerGroup(), TeamSpeak3_Node_Channelgroup\rename(), TeamSpeak3_Node_Servergroup\rename(), TeamSpeak3_Node_Abstract\request(), request(), TeamSpeak3_Node_Channel\sendPluginCmd(), TeamSpeak3_Node_Client\setChannelGroup(), snapshotDeploy(), TeamSpeak3_Node_Channel\spacerGetAlign(), TeamSpeak3_Node_Channel\spacerGetType(), start(), stop(), TeamSpeak3_Node_Channel\subChannelList(), transferInitDownload(), and transferInitUpload().
|
inherited |
Returns the primary ID of the current node.
Definition at line 116 of file Abstract.php.
References TeamSpeak3_Node_Abstract\$nodeId.
Referenced by TeamSpeak3_Node_Client\ban(), channelDelete(), channelFileList(), TeamSpeak3_Node_Servergroup\clientAdd(), TeamSpeak3_Node_Servergroup\clientDel(), TeamSpeak3_Node_Channel\clientList(), TeamSpeak3_Node_Channelgroup\clientList(), TeamSpeak3_Node_Servergroup\clientList(), TeamSpeak3_Node_Channel\clientPermAssign(), TeamSpeak3_Node_Channel\clientPermList(), TeamSpeak3_Node_Channel\clientPermRemove(), TeamSpeak3_Node_Servergroup\copy(), TeamSpeak3_Node_Channelgroup\copy(), TeamSpeak3_Node_Channelgroup\delete(), TeamSpeak3_Node_Servergroup\delete(), TeamSpeak3_Node_Channel\delete(), delete(), TeamSpeak3_Node_Channel\dirCreate(), TeamSpeak3_Node_Client\fetchNodeInfo(), TeamSpeak3_Node_Channel\fetchNodeInfo(), TeamSpeak3_Node_Channelgroup\fetchNodeList(), TeamSpeak3_Node_Servergroup\fetchNodeList(), TeamSpeak3_Node_Channel\fetchNodeList(), TeamSpeak3_Node_Channel\fileDelete(), TeamSpeak3_Node_Channel\fileInfo(), TeamSpeak3_Node_Channel\fileList(), TeamSpeak3_Node_Channel\fileRename(), TeamSpeak3_Node_Channel\getLevel(), TeamSpeak3_Node_Channel\getPathway(), TeamSpeak3_Node_Channelgroup\getUniqueId(), TeamSpeak3_Node_Servergroup\getUniqueId(), TeamSpeak3_Node_Client\getUniqueId(), TeamSpeak3_Node_Channel\getUniqueId(), getUniqueId(), TeamSpeak3_Node_Client\kick(), TeamSpeak3_Node_Client\message(), TeamSpeak3_Node_Channel\message(), message(), TeamSpeak3_Node_Client\modify(), TeamSpeak3_Node_Channel\modify(), TeamSpeak3_Node_Client\move(), TeamSpeak3_Node_Channel\move(), TeamSpeak3_Node_Channelgroup\permAssign(), TeamSpeak3_Node_Servergroup\permAssign(), TeamSpeak3_Node_Channel\permAssign(), TeamSpeak3_Node_Channelgroup\permList(), TeamSpeak3_Node_Servergroup\permList(), TeamSpeak3_Node_Channel\permList(), TeamSpeak3_Node_Channelgroup\permRemove(), TeamSpeak3_Node_Servergroup\permRemove(), TeamSpeak3_Node_Channel\permRemove(), TeamSpeak3_Node_Client\poke(), TeamSpeak3_Node_Channelgroup\privilegeKeyCreate(), TeamSpeak3_Node_Servergroup\privilegeKeyCreate(), TeamSpeak3_Node_Channelgroup\rename(), TeamSpeak3_Node_Servergroup\rename(), request(), TeamSpeak3_Node_Client\sendPluginCmd(), TeamSpeak3_Node_Channel\sendPluginCmd(), sortGroupList(), TeamSpeak3_Node_Channel\spacerGetAlign(), TeamSpeak3_Node_Channel\spacerGetType(), start(), stop(), and TeamSpeak3_Node_Channel\subChannelList().
|
inherited |
Returns TRUE if the node icon has a local source.
| string | $key |
Definition at line 127 of file Abstract.php.
Referenced by TeamSpeak3_Node_Channelgroup\iconDownload(), TeamSpeak3_Node_Servergroup\iconDownload(), TeamSpeak3_Node_Client\iconDownload(), TeamSpeak3_Node_Channel\iconDownload(), and iconDownload().
|
inherited |
Returns the internal path of the node icon.
| string | $key |
Definition at line 138 of file Abstract.php.
Referenced by TeamSpeak3_Node_Abstract\getInfo(), TeamSpeak3_Node_Channelgroup\iconDownload(), TeamSpeak3_Node_Servergroup\iconDownload(), TeamSpeak3_Node_Client\iconDownload(), TeamSpeak3_Node_Channel\iconDownload(), and iconDownload().
|
inherited |
Returns a possible classname for the node which can be used as a HTML property.
| string | $prefix |
Definition at line 151 of file Abstract.php.
References TeamSpeak3_Helper_String\factory().
|
inherited |
Returns the HTML code to display a TeamSpeak 3 viewer.
| TeamSpeak3_Viewer_Interface | $viewer |
Definition at line 192 of file Abstract.php.
References TeamSpeak3_Viewer_Interface\fetchObject().
|
protectedinherited |
Filters given node list array using specified filter rules.
| array | $nodes | |
| array | $rules |
Definition at line 222 of file Abstract.php.
Referenced by channelGroupList(), channelList(), TeamSpeak3_Node_Channel\clientList(), clientList(), serverGroupList(), TeamSpeak3_Node_Host\serverList(), and TeamSpeak3_Node_Channel\subChannelList().
|
inherited |
Returns all information available on this node.
If $convert is enabled, some property values will be converted to human-readable values.
| boolean | $extend | |
| boolean | $convert |
Definition at line 264 of file Abstract.php.
References TeamSpeak3_Node_Abstract\$nodeInfo, TeamSpeak3_Helper_Convert\bytes(), TeamSpeak3_Helper_String\factory(), TeamSpeak3_Node_Abstract\fetchNodeInfo(), TeamSpeak3_Node_Abstract\iconGetName(), TeamSpeak3_Helper_Convert\seconds(), and TeamSpeak3_Helper_Convert\version().
|
inherited |
Returns the specified property or a pre-defined default value from the node info array.
| string | $property | |
| mixed | $default |
Definition at line 322 of file Abstract.php.
References TeamSpeak3_Node_Abstract\fetchNodeInfo(), and TeamSpeak3_Node_Abstract\offsetExists().
Referenced by sortClientList(), and sortGroupList().
|
inherited |
Returns a string representation of this node.
Definition at line 352 of file Abstract.php.
References TeamSpeak3_Node_Abstract\__toString().
|
inherited |
Returns an assoc array filled with current node info properties.
Definition at line 362 of file Abstract.php.
References TeamSpeak3_Node_Abstract\$nodeList.
Referenced by channelFileInfo().
|
inherited |
Called whenever we're using an unknown method.
| string | $name | |
| array | $args |
| TeamSpeak3_Node_Exception |
Definition at line 375 of file Abstract.php.
References TeamSpeak3_Node_Abstract\getParent().
|
protectedinherited |
Writes data to the internal storage array.
| string | $key | |
| mixed | $val |
Definition at line 392 of file Abstract.php.
Referenced by TeamSpeak3_Node_Host\login(), TeamSpeak3_Node_Host\serverSelect(), TeamSpeak3_Node_Host\serverSelectByPort(), TeamSpeak3_Node_Host\setExcludeQueryClients(), TeamSpeak3_Node_Host\setLoadClientlistFirst(), TeamSpeak3_Node_Host\setPredefinedQueryName(), and TeamSpeak3_Node_Host\setUseOfflineAsVirtual().
|
protectedinherited |
Returns data from the internal storage array.
| string | $key | |
| mixed | $default |
Definition at line 404 of file Abstract.php.
Referenced by TeamSpeak3_Node_Host\__wakeup().
|
protectedinherited |
Deletes data from the internal storage array.
| string | $key |
Definition at line 415 of file Abstract.php.
Referenced by TeamSpeak3_Node_Host\logout(), and TeamSpeak3_Node_Host\serverDeselect().
|
inherited |
|
protectedinherited |
Definition at line 449 of file Abstract.php.
Referenced by TeamSpeak3_Node_Client\modify(), TeamSpeak3_Node_Channel\modify(), TeamSpeak3_Node_Host\modify(), and modify().
|
protectedinherited |
Definition at line 457 of file Abstract.php.
References TeamSpeak3_Node_Abstract\fetchNodeList().
Referenced by TeamSpeak3_Node_Abstract\count(), TeamSpeak3_Node_Abstract\current(), TeamSpeak3_Node_Abstract\getChildren(), TeamSpeak3_Node_Abstract\hasChildren(), TeamSpeak3_Node_Abstract\hasNext(), TeamSpeak3_Node_Abstract\key(), TeamSpeak3_Node_Abstract\next(), TeamSpeak3_Node_Abstract\rewind(), and TeamSpeak3_Node_Abstract\valid().
|
protectedinherited |
Definition at line 468 of file Abstract.php.
Referenced by channelList(), channelListReset(), clientList(), clientListReset(), TeamSpeak3_Node_Host\serverList(), and TeamSpeak3_Node_Host\serverListReset().
|
inherited |
Definition at line 476 of file Abstract.php.
References TeamSpeak3_Node_Abstract\verifyNodeList().
Referenced by channelFileList(), channelGroupCopy(), TeamSpeak3_Node_Abstract\hasNext(), permRemoveAny(), and serverGroupCopy().
|
inherited |
Definition at line 486 of file Abstract.php.
References TeamSpeak3_Node_Abstract\verifyNodeList().
Referenced by channelClientPermAssign(), channelClientPermRemove(), channelGroupPermAssign(), channelGroupPermRemove(), channelPermAssign(), channelPermRemove(), clientCountDb(), clientPermAssign(), clientPermRemove(), TeamSpeak3_Node_Abstract\getChildren(), TeamSpeak3_Node_Abstract\hasChildren(), TeamSpeak3_Node_Host\permissionFind(), TeamSpeak3_Node_Host\selfPermCheck(), serverGroupPermAssign(), TeamSpeak3_Node_Host\serverGroupPermAutoAssign(), TeamSpeak3_Node_Host\serverGroupPermAutoRemove(), and serverGroupPermRemove().
|
inherited |
Definition at line 496 of file Abstract.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\verifyNodeList().
|
inherited |
Definition at line 506 of file Abstract.php.
References TeamSpeak3_Node_Abstract\current(), and TeamSpeak3_Node_Abstract\verifyNodeList().
|
inherited |
Definition at line 516 of file Abstract.php.
References TeamSpeak3_Node_Abstract\count(), TeamSpeak3_Node_Abstract\key(), and TeamSpeak3_Node_Abstract\verifyNodeList().
|
inherited |
Definition at line 526 of file Abstract.php.
References TeamSpeak3_Node_Abstract\verifyNodeList().
Referenced by TeamSpeak3_Node_Abstract\hasNext(), and TeamSpeak3_Node_Abstract\valid().
|
inherited |
Definition at line 536 of file Abstract.php.
References TeamSpeak3_Node_Abstract\key(), and TeamSpeak3_Node_Abstract\verifyNodeList().
|
inherited |
Definition at line 546 of file Abstract.php.
References TeamSpeak3_Node_Abstract\verifyNodeList().
|
inherited |
Definition at line 556 of file Abstract.php.
References TeamSpeak3_Node_Abstract\verifyNodeList().
|
inherited |
Definition at line 566 of file Abstract.php.
Referenced by TeamSpeak3_Node_Abstract\getProperty(), and TeamSpeak3_Node_Abstract\offsetGet().
|
inherited |
Definition at line 574 of file Abstract.php.
References TeamSpeak3_Node_Abstract\fetchNodeInfo(), and TeamSpeak3_Node_Abstract\offsetExists().
Referenced by TeamSpeak3_Node_Abstract\__get().
|
inherited |
|
inherited |
Definition at line 605 of file Abstract.php.
|
inherited |
Definition at line 613 of file Abstract.php.
References TeamSpeak3_Node_Abstract\offsetGet().
|
inherited |
Definition at line 621 of file Abstract.php.
References TeamSpeak3_Node_Abstract\offsetSet().
|
protected |
Definition at line 37 of file Server.php.
|
protected |
Definition at line 42 of file Server.php.
|
protected |
Definition at line 47 of file Server.php.
|
protected |
Definition at line 52 of file Server.php.
|
protectedinherited |
Definition at line 37 of file Abstract.php.
Referenced by TeamSpeak3_Node_Abstract\getParent().
|
protectedinherited |
Definition at line 42 of file Abstract.php.
Referenced by TeamSpeak3_Node_Channel\__construct(), TeamSpeak3_Node_Channelgroup\__construct(), TeamSpeak3_Node_Client\__construct(), TeamSpeak3_Node_Servergroup\__construct(), TeamSpeak3_Node_Host\__wakeup(), TeamSpeak3_Node_Host\fetchNodeList(), TeamSpeak3_Node_Host\serverCreate(), TeamSpeak3_Node_Host\serverGetByName(), TeamSpeak3_Node_Host\serverGetByUid(), and TeamSpeak3_Node_Host\serverList().
|
protectedinherited |
Definition at line 47 of file Abstract.php.
Referenced by TeamSpeak3_Node_Abstract\getId().
|
protectedinherited |
Definition at line 52 of file Abstract.php.
Referenced by TeamSpeak3_Node_Abstract\toArray().
|
protectedinherited |
Definition at line 57 of file Abstract.php.
Referenced by TeamSpeak3_Node_Abstract\getInfo().
|
protectedinherited |
Definition at line 62 of file Abstract.php.