| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
- <meta charset="utf-8"/>
- <title> ZimbraSoapPhp » \Zm_Server
- </title>
- <meta name="author" content=""/>
- <meta name="description" content=""/>
- <link href="../css/template.css" rel="stylesheet" media="all"/>
-
- <!--[if lt IE 9]>
- <script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
- <![endif]-->
- <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
- <script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
- <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script>
- <script src="../js/bootstrap.js" type="text/javascript"></script>
- <script src="../js/template.js" type="text/javascript"></script>
- <script src="../js/prettify/prettify.min.js" type="text/javascript"></script>
-
- <link rel="shortcut icon" href="../img/favicon.ico"/>
- <link rel="apple-touch-icon" href="../img/apple-touch-icon.png"/>
- <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png"/>
- <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png"/>
- </head>
- <body>
- <div class="navbar navbar-fixed-top">
- <div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span> <span class="icon-bar"></span>
- <span class="icon-bar"></span> </a>
- <a class="brand" href="../index.html">ZimbraSoapPhp</a>
- <div class="nav-collapse">
- <ul class="nav">
- <li class="dropdown">
- <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
- API Documentation <b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- </ul>
- </li>
- <li class="dropdown" id="charts-menu">
- <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
- Charts <b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- <li>
- <a href="../graph_class.html">
- <i class="icon-list-alt"></i> Class hierarchy diagram
- </a>
- </li>
- </ul>
- </li>
- <li class="dropdown" id="reports-menu">
- <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
- Reports <b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- <li>
- <a href="../errors.html">
- <i class="icon-list-alt"></i> Errors
- </a>
- </li>
- <li>
- <a href="../markers.html">
- <i class="icon-list-alt"></i> Markers
- </a>
- </li>
- <li>
- <a href="../deprecated.html">
- <i class="icon-list-alt"></i> Deprecated
- </a>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div class="go_to_top">
- <a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>
- </div>
- </div>
-
- <div id="___" class="container">
- <noscript>
- <div class="alert alert-warning">
- Javascript is disabled; several features are only available if Javascript is enabled.
- </div>
- </noscript>
-
- <style>
- .deprecated h2 {
- text-decoration: line-through;
- }
- </style>
- <div class="row">
- <div class="span4">
- <div class="btn-group view pull-right" data-toggle="buttons-radio">
- <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button>
- <button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
- </div>
- <div class="btn-group visibility" data-toggle="buttons-checkbox">
- <button class="btn public active" title="Show public elements">Public</button>
- <button class="btn protected" title="Show protected elements">Protected</button>
- <button class="btn private" title="Show private elements">Private</button>
- <button class="btn inherited active" title="Show inherited elements">Inherited</button>
- </div>
- <ul class="side-nav nav nav-list">
- <li class="nav-header">
- <i class="icon-custom icon-method"></i> Methods
- <ul>
- <li class="method public">
- <a href="#method___construct" title="__construct :: Constructor">
- <span class="description">Constructor</span><pre>__construct</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_createServer" title="createServer :: createServer">
- <span class="description">createServer</span><pre>createServer</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_deleteServer" title="deleteServer :: deleteServer">
- <span class="description">deleteServer</span><pre>deleteServer</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_getAllServers" title="getAllServers :: getAllServers">
- <span class="description">getAllServers</span><pre>getAllServers</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_getServerId" title="getServerId :: getServerId">
- <span class="description">getServerId</span><pre>getServerId</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_getServerOptions" title="getServerOptions :: getServerOptions">
- <span class="description">getServerOptions</span><pre>getServerOptions</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_modifyServer" title="modifyServer :: modifyServer">
- <span class="description">modifyServer</span><pre>modifyServer</pre>
- </a>
- </li>
- <li class="method public">
- <a href="#method_serverExists" title="serverExists :: serverExists">
- <span class="description">serverExists</span><pre>serverExists</pre>
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-header protected">» Protected
- <ul>
- </ul>
- </li>
- <li class="nav-header private">» Private
- <ul>
- </ul>
- </li>
- <li class="nav-header">
- <i class="icon-custom icon-constant"></i> Constants
- <ul>
- </ul>
- </li>
- </ul>
- </div>
- <div class="span8">
- <div class="element class">
- <h1>Zm_Server</h1>
- <small style="display: block; text-align: right">
- </small>
- <p class="short_description">Zm_Server is a class which allows to manage Zimbra servers via SOAP</p>
- <div class="details">
- <div class="long_description">
- <p>You may create, modify, rename, delete and get the attributes of a Zimbra server using this class</p>
- <p>For the usage examples of all class methods check the source code of test.php</p>
- </div>
- <table class="table table-bordered">
- <tr>
- <th>
- package
- </th>
- <td>
-
- <p>ZimbraSoapPhp</p>
- </td>
- </tr>
- </table>
- <h3><i class="icon-custom icon-method"></i> Methods</h3>
- <a id="method___construct"></a>
- <div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
- <h2>Constructor</h2>
- <pre>__construct(\Zm_Auth $auth) </pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- <tr>
- <th>
-
- </th>
- <td>
- </td>
- </tr>
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$auth</h4>
- <code><a href="../classes/Zm_Auth.html">\Zm_Auth</a></code><p><p>soap authentication</p></p>
- </div>
-
- </div>
- </div>
- </div>
- <a id="method_createServer"></a>
- <div class="element clickable method public method_createServer" data-toggle="collapse" data-target=".method_createServer .collapse">
- <h2>createServer</h2>
- <pre>createServer(string $name, array $attrs = array()) : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$name</h4>
- <code>string</code><p><p>a server name</p></p>
- </div>
- <div class="subelement argument">
- <h4>$attrs</h4>
- <code>array</code><p><p>an optional array containing the server attributes to be set</p></p>
- </div>
-
- <h3>Response</h3>
- <code>array</code><p><p>an array with the new server's info</p></p>
- </div>
- </div>
- </div>
- <a id="method_deleteServer"></a>
- <div class="element clickable method public method_deleteServer" data-toggle="collapse" data-target=".method_deleteServer .collapse">
- <h2>deleteServer</h2>
- <pre>deleteServer(string $idOrNameServer, string $type = "auto") : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$idOrNameServer</h4>
- <code>string</code><p><p>server id or server name</p></p>
- </div>
- <div class="subelement argument">
- <h4>$type</h4>
- <code>string</code><p><p>value of the server (auto, name, id)</p></p>
- </div>
-
- <h3>Response</h3>
- <code>array</code><p><p>informations</p></p>
- </div>
- </div>
- </div>
- <a id="method_getAllServers"></a>
- <div class="element clickable method public method_getAllServers" data-toggle="collapse" data-target=".method_getAllServers .collapse">
- <h2>getAllServers</h2>
- <pre>getAllServers() : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- <tr>
- <th>
-
- </th>
- <td>
- </td>
- </tr>
- </table>
-
- <h3>Response</h3>
- <code>array</code><p><p>informations</p></p>
- </div>
- </div>
- </div>
- <a id="method_getServerId"></a>
- <div class="element clickable method public method_getServerId" data-toggle="collapse" data-target=".method_getServerId .collapse">
- <h2>getServerId</h2>
- <pre>getServerId(string $name) : string</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$name</h4>
- <code>string</code><p><p>a server name</p></p>
- </div>
-
- <h3>Response</h3>
- <code>string</code><p><p>a server id</p></p>
- </div>
- </div>
- </div>
- <a id="method_getServerOptions"></a>
- <div class="element clickable method public method_getServerOptions" data-toggle="collapse" data-target=".method_getServerOptions .collapse">
- <h2>getServerOptions</h2>
- <pre>getServerOptions(string $idOrNameServer, string $type = "auto") : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$idOrNameServer</h4>
- <code>string</code><p><p>server id or server name</p></p>
- </div>
- <div class="subelement argument">
- <h4>$type</h4>
- <code>string</code><p><p>value of the server (auto, name, id)</p></p>
- </div>
-
- <h3>Response</h3>
- <code>array</code><p></p>
- </div>
- </div>
- </div>
- <a id="method_modifyServer"></a>
- <div class="element clickable method public method_modifyServer" data-toggle="collapse" data-target=".method_modifyServer .collapse">
- <h2>modifyServer</h2>
- <pre>modifyServer(string $idOrNameServer, array $attrs = array(), string $type = "auto") : array</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$idOrNameServer</h4>
- <code>string</code><p><p>server id or server name</p></p>
- </div>
- <div class="subelement argument">
- <h4>$attrs</h4>
- <code>array</code><p><p>an array containing the server attributes to be set</p></p>
- </div>
- <div class="subelement argument">
- <h4>$type</h4>
- <code>string</code><p><p>value of the server (auto, name, id)</p></p>
- </div>
-
- <h3>Response</h3>
- <code>array</code><p><p>informations</p></p>
- </div>
- </div>
- </div>
- <a id="method_serverExists"></a>
- <div class="element clickable method public method_serverExists" data-toggle="collapse" data-target=".method_serverExists .collapse">
- <h2>serverExists</h2>
- <pre>serverExists(string $idOrNameServer, string $type = "auto") : boolean</pre>
- <div class="labels">
- </div>
-
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- </table>
- <h3>Arguments</h3>
- <div class="subelement argument">
- <h4>$idOrNameServer</h4>
- <code>string</code><p><p>server id or server name</p></p>
- </div>
- <div class="subelement argument">
- <h4>$type</h4>
- <code>string</code><p><p>value of the server (auto, name, id)</p></p>
- </div>
-
- <h3>Response</h3>
- <code>boolean</code><p><p>exists</p></p>
- </div>
- </div>
- </div>
-
-
- <h3><i class="icon-custom icon-property"></i> Properties</h3>
- <a id="property_auth"> </a>
- <div class="element clickable property private property_auth" data-toggle="collapse" data-target=".property_auth .collapse">
- <h2>$auth</h2>
- <pre>auth : \Zm_Auth</pre>
- <div class="labels">
- </div>
- <div class="row collapse">
- <div class="detail-description">
- <div class="long_description"></div>
- <table class="table">
- <tr>
- <th>
- var
- </th>
- <td>
- <p>soap authentication</p>
- </td>
- </tr>
- </table>
- <h3>Type(s)</h3>
- <code><a href="../classes/Zm_Auth.html">\Zm_Auth</a></code>
- </div>
- </div>
- </div>
- </div>
- </div>
- <a id="\Zm_Server"></a>
- <ul class="breadcrumb">
- <li><a href="../index.html"><i class="icon-custom icon-class"></i></a></li>
-
-
- <li><span class="divider">\</span><a href="../namespaces/default.html">\</a></li>
- <li class="active"><span class="divider">\</span><a href="../classes/Zm_Server.html">Zm_Server</a></li>
- </ul>
- </div>
- </div>
- </div>
- <footer class="span12">
- Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
- <a href="http://glyphicons.com/">Glyphicons</a>.<br/>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
- generated on Tue, 26 Sep 2017 11:01:05 +0200.<br/>
- </footer>
- </body>
- </html>
|