Zm_Server is a class which allows to manage Zimbra servers via SOAP
You may create, modify, rename, delete and get the attributes of a Zimbra server using this class
For the usage examples of all class methods check the source code of test.php
| package |
ZimbraSoapPhp |
|---|
createServer(string $name, array $attrs = array()) : array
stringa server name
arrayan optional array containing the server attributes to be set
arrayan array with the new server's info
deleteServer(string $idOrNameServer, string $type = "auto") : array
stringserver id or server name
stringvalue of the server (auto, name, id)
arrayinformations
getAllServers() : array
arrayinformations
getServerId(string $name) : string
stringa server name
stringa server id
getServerOptions(string $idOrNameServer, string $type = "auto") : array
stringserver id or server name
stringvalue of the server (auto, name, id)
array
modifyServer(string $idOrNameServer, array $attrs = array(), string $type = "auto") : array
stringserver id or server name
arrayan array containing the server attributes to be set
stringvalue of the server (auto, name, id)
arrayinformations
serverExists(string $idOrNameServer, string $type = "auto") : boolean
stringserver id or server name
stringvalue of the server (auto, name, id)
booleanexists