Default.html 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  12. <link rel="stylesheet" href="css/template.css">
  13. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  14. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  15. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  16. <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
  17. <script src="js/search.js"></script>
  18. <script defer src="js/searchIndex.js"></script>
  19. </head>
  20. <body id="top">
  21. <header class="phpdocumentor-header phpdocumentor-section">
  22. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  23. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  24. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  25. <i class="fas fa-bars"></i>
  26. </label>
  27. <section data-search-form class="phpdocumentor-search">
  28. <label>
  29. <span class="visually-hidden">Search for</span>
  30. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  31. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  32. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  33. </svg>
  34. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  35. </label>
  36. </section>
  37. <nav class="phpdocumentor-topnav">
  38. <ul class="phpdocumentor-topnav__menu">
  39. </ul>
  40. </nav>
  41. </header>
  42. <main class="phpdocumentor">
  43. <div class="phpdocumentor-section">
  44. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  45. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  46. Menu
  47. </label>
  48. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  49. <section class="phpdocumentor-sidebar__category">
  50. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  51. <h3 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/default.html"><abbr title="\">Global</abbr></a></h3>
  52. </section>
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  55. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  56. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  57. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  58. </section>
  59. <section class="phpdocumentor-sidebar__category">
  60. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  61. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  62. </section>
  63. </aside>
  64. <div class="phpdocumentor-column -eight phpdocumentor-content">
  65. <ul class="phpdocumentor-breadcrumbs">
  66. </ul>
  67. <article class="phpdocumentor-element -package">
  68. <h2 class="phpdocumentor-content__title">Default</h2>
  69. <h3 id="toc">
  70. Table of Contents
  71. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  72. </h3>
  73. <dl class="phpdocumentor-table-of-contents">
  74. <dt class="phpdocumentor-table-of-contents__entry -function -">
  75. <a href="namespaces/default.html#function_recursiveFindAll">recursiveFindAll()</a>
  76. <span>
  77. &nbsp;: array&lt;string|int, mixed&gt; </span>
  78. </dt>
  79. <dd>Helper function to find values of a named key in a multidimensional arrays or objects</dd>
  80. <dt class="phpdocumentor-table-of-contents__entry -function -">
  81. <a href="namespaces/default.html#function_zimbraSingle_MetaData">zimbraSingle_MetaData()</a>
  82. <span>
  83. &nbsp;: array&lt;string|int, mixed&gt; </span>
  84. </dt>
  85. <dd>Define module related meta data.</dd>
  86. <dt class="phpdocumentor-table-of-contents__entry -function -">
  87. <a href="namespaces/default.html#function_zimbraSingle_TestConnection">zimbraSingle_TestConnection()</a>
  88. <span>
  89. &nbsp;: array&lt;string|int, mixed&gt; </span>
  90. </dt>
  91. <dd>Test connection to a Zimbra server with the given server parameters.</dd>
  92. <dt class="phpdocumentor-table-of-contents__entry -function -">
  93. <a href="namespaces/default.html#function_zimbraSingle_ClientArea">zimbraSingle_ClientArea()</a>
  94. <span>
  95. &nbsp;: array&lt;string|int, mixed&gt; </span>
  96. </dt>
  97. <dd>Client area output logic handling.</dd>
  98. <dt class="phpdocumentor-table-of-contents__entry -function -">
  99. <a href="namespaces/default.html#function_zimbraSingle_UsageUpdate">zimbraSingle_UsageUpdate()</a>
  100. <span>
  101. &nbsp;: mixed </span>
  102. </dt>
  103. <dd>Usage Update</dd>
  104. <dt class="phpdocumentor-table-of-contents__entry -function -">
  105. <a href="namespaces/default.html#function_zimbraSingle_ChangePassword">zimbraSingle_ChangePassword()</a>
  106. <span>
  107. &nbsp;: string </span>
  108. </dt>
  109. <dd>Change the password for a Zimbra account.</dd>
  110. <dt class="phpdocumentor-table-of-contents__entry -function -">
  111. <a href="namespaces/default.html#function_zimbraSingle_CreateAccount">zimbraSingle_CreateAccount()</a>
  112. <span>
  113. &nbsp;: string </span>
  114. </dt>
  115. <dd>Provision a new instance of a Zimbra account.</dd>
  116. <dt class="phpdocumentor-table-of-contents__entry -function -">
  117. <a href="namespaces/default.html#function_zimbraSingle_SuspendAccount">zimbraSingle_SuspendAccount()</a>
  118. <span>
  119. &nbsp;: string </span>
  120. </dt>
  121. <dd>Set a Zimbra account to status locked.</dd>
  122. <dt class="phpdocumentor-table-of-contents__entry -function -">
  123. <a href="namespaces/default.html#function_zimbraSingle_UnsuspendAccount">zimbraSingle_UnsuspendAccount()</a>
  124. <span>
  125. &nbsp;: string </span>
  126. </dt>
  127. <dd>Set a Zimbra account to status active.</dd>
  128. <dt class="phpdocumentor-table-of-contents__entry -function -">
  129. <a href="namespaces/default.html#function_zimbraSingle_TerminateAccount">zimbraSingle_TerminateAccount()</a>
  130. <span>
  131. &nbsp;: string </span>
  132. </dt>
  133. <dd>Removes a Zimbra account.</dd>
  134. <dt class="phpdocumentor-table-of-contents__entry -function -">
  135. <a href="namespaces/default.html#function_zimbraSingle_ChangePackage">zimbraSingle_ChangePackage()</a>
  136. <span>
  137. &nbsp;: string </span>
  138. </dt>
  139. <dd>Set a new class of service for a Zimbra account.</dd>
  140. <dt class="phpdocumentor-table-of-contents__entry -function -">
  141. <a href="namespaces/default.html#function_zimbraSingle_ConfigOptions">zimbraSingle_ConfigOptions()</a>
  142. <span>
  143. &nbsp;: array&lt;string|int, mixed&gt; </span>
  144. </dt>
  145. <dd>Define Zimbra product configuration options.</dd>
  146. </dl>
  147. <section class="phpdocumentor-functions">
  148. <h3 class="phpdocumentor-elements__header" id="functions">
  149. Functions
  150. <a href="packages/Default.html#functions" class="headerlink"><i class="fas fa-link"></i></a>
  151. </h3>
  152. <article class="phpdocumentor-element -function - ">
  153. <h4 class="phpdocumentor-element__name" id="function_recursiveFindAll">
  154. recursiveFindAll()
  155. <a href="namespaces/default.html#function_recursiveFindAll" class="headerlink"><i class="fas fa-link"></i></a>
  156. </h4>
  157. <aside class="phpdocumentor-element-found-in">
  158. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  159. :
  160. <span class="phpdocumentor-element-found-in__line">35</span>
  161. </aside>
  162. <p class="phpdocumentor-summary">Helper function to find values of a named key in a multidimensional arrays or objects</p>
  163. <code class="phpdocumentor-code phpdocumentor-signature ">
  164. <span class="phpdocumentor-signature__visibility"></span>
  165. <span class="phpdocumentor-signature__name">recursiveFindAll</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$haystack</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$needle</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  166. <section class="phpdocumentor-description"></section>
  167. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  168. <dl class="phpdocumentor-argument-list">
  169. <dt class="phpdocumentor-argument-list__entry">
  170. <span class="phpdocumentor-signature__argument__name">$haystack</span>
  171. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  172. </dt>
  173. <dd class="phpdocumentor-argument-list__definition">
  174. <section class="phpdocumentor-description"><p>mixed data</p>
  175. </section>
  176. </dd>
  177. <dt class="phpdocumentor-argument-list__entry">
  178. <span class="phpdocumentor-signature__argument__name">$needle</span>
  179. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  180. </dt>
  181. <dd class="phpdocumentor-argument-list__definition">
  182. <section class="phpdocumentor-description"><p>key to search for values</p>
  183. </section>
  184. </dd>
  185. </dl>
  186. </article>
  187. <article class="phpdocumentor-element -function - ">
  188. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_MetaData">
  189. zimbraSingle_MetaData()
  190. <a href="namespaces/default.html#function_zimbraSingle_MetaData" class="headerlink"><i class="fas fa-link"></i></a>
  191. </h4>
  192. <aside class="phpdocumentor-element-found-in">
  193. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  194. :
  195. <span class="phpdocumentor-element-found-in__line">61</span>
  196. </aside>
  197. <p class="phpdocumentor-summary">Define module related meta data.</p>
  198. <code class="phpdocumentor-code phpdocumentor-signature ">
  199. <span class="phpdocumentor-signature__visibility"></span>
  200. <span class="phpdocumentor-signature__name">zimbraSingle_MetaData</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  201. <section class="phpdocumentor-description"><p>Values returned here are used to determine module related abilities and
  202. settings.</p>
  203. </section>
  204. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  205. Tags
  206. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  207. </h5>
  208. <dl class="phpdocumentor-tag-list">
  209. <dt class="phpdocumentor-tag-list__entry">
  210. <span class="phpdocumentor-tag__name">see</span>
  211. </dt>
  212. <dd class="phpdocumentor-tag-list__definition">
  213. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/meta-data-params/"><abbr title="https://developers.whmcs.com/provisioning-modules/meta-data-params/">https://developers.whmcs.com/provisioning-modules/meta-data-params/</abbr></a></span>
  214. <section class="phpdocumentor-description"></section>
  215. </dd>
  216. </dl>
  217. </article>
  218. <article class="phpdocumentor-element -function - ">
  219. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_TestConnection">
  220. zimbraSingle_TestConnection()
  221. <a href="namespaces/default.html#function_zimbraSingle_TestConnection" class="headerlink"><i class="fas fa-link"></i></a>
  222. </h4>
  223. <aside class="phpdocumentor-element-found-in">
  224. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  225. :
  226. <span class="phpdocumentor-element-found-in__line">91</span>
  227. </aside>
  228. <p class="phpdocumentor-summary">Test connection to a Zimbra server with the given server parameters.</p>
  229. <code class="phpdocumentor-code phpdocumentor-signature ">
  230. <span class="phpdocumentor-signature__visibility"></span>
  231. <span class="phpdocumentor-signature__name">zimbraSingle_TestConnection</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  232. <section class="phpdocumentor-description"><p>Allows an admin user to verify that an API connection can be
  233. successfully made with the given configuration parameters for a
  234. server.</p>
  235. <p>When defined in a module, a Test Connection button will appear
  236. alongside the Server Type dropdown when adding or editing an
  237. existing server.</p>
  238. </section>
  239. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  240. <dl class="phpdocumentor-argument-list">
  241. <dt class="phpdocumentor-argument-list__entry">
  242. <span class="phpdocumentor-signature__argument__name">$params</span>
  243. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  244. </dt>
  245. <dd class="phpdocumentor-argument-list__definition">
  246. <section class="phpdocumentor-description"><p>common module parameters</p>
  247. </section>
  248. </dd>
  249. </dl>
  250. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  251. Tags
  252. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  253. </h5>
  254. <dl class="phpdocumentor-tag-list">
  255. <dt class="phpdocumentor-tag-list__entry">
  256. <span class="phpdocumentor-tag__name">see</span>
  257. </dt>
  258. <dd class="phpdocumentor-tag-list__definition">
  259. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/module-parameters/"><abbr title="https://developers.whmcs.com/provisioning-modules/module-parameters/">https://developers.whmcs.com/provisioning-modules/module-parameters/</abbr></a></span>
  260. <section class="phpdocumentor-description"></section>
  261. </dd>
  262. </dl>
  263. </article>
  264. <article class="phpdocumentor-element -function - ">
  265. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_ClientArea">
  266. zimbraSingle_ClientArea()
  267. <a href="namespaces/default.html#function_zimbraSingle_ClientArea" class="headerlink"><i class="fas fa-link"></i></a>
  268. </h4>
  269. <aside class="phpdocumentor-element-found-in">
  270. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  271. :
  272. <span class="phpdocumentor-element-found-in__line">144</span>
  273. </aside>
  274. <p class="phpdocumentor-summary">Client area output logic handling.</p>
  275. <code class="phpdocumentor-code phpdocumentor-signature ">
  276. <span class="phpdocumentor-signature__visibility"></span>
  277. <span class="phpdocumentor-signature__name">zimbraSingle_ClientArea</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  278. <section class="phpdocumentor-description"><p>This function is used to define module specific client area output. It should
  279. return an array consisting of a template file and optional additional
  280. template variables to make available to that template.</p>
  281. <p>The template file you return can be one of two types:</p>
  282. <ul>
  283. <li>
  284. <p>tabOverviewModuleOutputTemplate - The output of the template provided here
  285. will be displayed as part of the default product/service client area
  286. product overview page.</p>
  287. </li>
  288. <li>
  289. <p>tabOverviewReplacementTemplate - Alternatively using this option allows you
  290. to entirely take control of the product/service overview page within the
  291. client area.</p>
  292. </li>
  293. </ul>
  294. <p>Whichever option you choose, extra template variables are defined in the same
  295. way. This demonstrates the use of the full replacement.</p>
  296. <p>Please Note: Using tabOverviewReplacementTemplate means you should display
  297. the standard information such as pricing and billing details in your custom
  298. template or they will not be visible to the end user.</p>
  299. </section>
  300. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  301. <dl class="phpdocumentor-argument-list">
  302. <dt class="phpdocumentor-argument-list__entry">
  303. <span class="phpdocumentor-signature__argument__name">$params</span>
  304. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  305. </dt>
  306. <dd class="phpdocumentor-argument-list__definition">
  307. <section class="phpdocumentor-description"><p>common module parameters</p>
  308. </section>
  309. </dd>
  310. </dl>
  311. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  312. Tags
  313. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  314. </h5>
  315. <dl class="phpdocumentor-tag-list">
  316. <dt class="phpdocumentor-tag-list__entry">
  317. <span class="phpdocumentor-tag__name">see</span>
  318. </dt>
  319. <dd class="phpdocumentor-tag-list__definition">
  320. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/module-parameters/"><abbr title="https://developers.whmcs.com/provisioning-modules/module-parameters/">https://developers.whmcs.com/provisioning-modules/module-parameters/</abbr></a></span>
  321. <section class="phpdocumentor-description"></section>
  322. </dd>
  323. </dl>
  324. </article>
  325. <article class="phpdocumentor-element -function - ">
  326. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_UsageUpdate">
  327. zimbraSingle_UsageUpdate()
  328. <a href="namespaces/default.html#function_zimbraSingle_UsageUpdate" class="headerlink"><i class="fas fa-link"></i></a>
  329. </h4>
  330. <aside class="phpdocumentor-element-found-in">
  331. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  332. :
  333. <span class="phpdocumentor-element-found-in__line">188</span>
  334. </aside>
  335. <p class="phpdocumentor-summary">Usage Update</p>
  336. <code class="phpdocumentor-code phpdocumentor-signature ">
  337. <span class="phpdocumentor-signature__visibility"></span>
  338. <span class="phpdocumentor-signature__name">zimbraSingle_UsageUpdate</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  339. <section class="phpdocumentor-description"><p>Important: Runs daily per server not per product
  340. Run Manually: /admin/reports.php?report=disk_usage_summary&amp;action=updatestats</p>
  341. </section>
  342. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  343. <dl class="phpdocumentor-argument-list">
  344. <dt class="phpdocumentor-argument-list__entry">
  345. <span class="phpdocumentor-signature__argument__name">$params</span>
  346. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  347. </dt>
  348. <dd class="phpdocumentor-argument-list__definition">
  349. <section class="phpdocumentor-description"><p>common module parameters</p>
  350. </section>
  351. </dd>
  352. </dl>
  353. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  354. Tags
  355. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  356. </h5>
  357. <dl class="phpdocumentor-tag-list">
  358. <dt class="phpdocumentor-tag-list__entry">
  359. <span class="phpdocumentor-tag__name">see</span>
  360. </dt>
  361. <dd class="phpdocumentor-tag-list__definition">
  362. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/usage-update/"><abbr title="https://developers.whmcs.com/provisioning-modules/usage-update/">https://developers.whmcs.com/provisioning-modules/usage-update/</abbr></a></span>
  363. <section class="phpdocumentor-description"></section>
  364. </dd>
  365. </dl>
  366. </article>
  367. <article class="phpdocumentor-element -function - ">
  368. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_ChangePassword">
  369. zimbraSingle_ChangePassword()
  370. <a href="namespaces/default.html#function_zimbraSingle_ChangePassword" class="headerlink"><i class="fas fa-link"></i></a>
  371. </h4>
  372. <aside class="phpdocumentor-element-found-in">
  373. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  374. :
  375. <span class="phpdocumentor-element-found-in__line">269</span>
  376. </aside>
  377. <p class="phpdocumentor-summary">Change the password for a Zimbra account.</p>
  378. <code class="phpdocumentor-code phpdocumentor-signature ">
  379. <span class="phpdocumentor-signature__visibility"></span>
  380. <span class="phpdocumentor-signature__name">zimbraSingle_ChangePassword</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  381. <section class="phpdocumentor-description"><p>Called when a password change is requested. This can occur either due to a
  382. client requesting it via the client area or an admin requesting it from the
  383. admin side.</p>
  384. <p>This option is only available to client end users when the product is in an
  385. active status.</p>
  386. </section>
  387. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  388. <dl class="phpdocumentor-argument-list">
  389. <dt class="phpdocumentor-argument-list__entry">
  390. <span class="phpdocumentor-signature__argument__name">$params</span>
  391. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  392. </dt>
  393. <dd class="phpdocumentor-argument-list__definition">
  394. <section class="phpdocumentor-description"><p>common module parameters</p>
  395. </section>
  396. </dd>
  397. </dl>
  398. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  399. Tags
  400. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  401. </h5>
  402. <dl class="phpdocumentor-tag-list">
  403. <dt class="phpdocumentor-tag-list__entry">
  404. <span class="phpdocumentor-tag__name">see</span>
  405. </dt>
  406. <dd class="phpdocumentor-tag-list__definition">
  407. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/module-parameters/"><abbr title="https://developers.whmcs.com/provisioning-modules/module-parameters/">https://developers.whmcs.com/provisioning-modules/module-parameters/</abbr></a></span>
  408. <section class="phpdocumentor-description"></section>
  409. </dd>
  410. </dl>
  411. </article>
  412. <article class="phpdocumentor-element -function - ">
  413. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_CreateAccount">
  414. zimbraSingle_CreateAccount()
  415. <a href="namespaces/default.html#function_zimbraSingle_CreateAccount" class="headerlink"><i class="fas fa-link"></i></a>
  416. </h4>
  417. <aside class="phpdocumentor-element-found-in">
  418. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  419. :
  420. <span class="phpdocumentor-element-found-in__line">314</span>
  421. </aside>
  422. <p class="phpdocumentor-summary">Provision a new instance of a Zimbra account.</p>
  423. <code class="phpdocumentor-code phpdocumentor-signature ">
  424. <span class="phpdocumentor-signature__visibility"></span>
  425. <span class="phpdocumentor-signature__name">zimbraSingle_CreateAccount</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  426. <section class="phpdocumentor-description"><p>Attempt to provision a new Zimbra mail account. This is
  427. called any time provisioning is requested inside of WHMCS. Depending upon the
  428. configuration, this can be any of:</p>
  429. <ul>
  430. <li>When a new order is placed</li>
  431. <li>When an invoice for a new order is paid</li>
  432. <li>Upon manual request by an admin user</li>
  433. </ul>
  434. </section>
  435. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  436. <dl class="phpdocumentor-argument-list">
  437. <dt class="phpdocumentor-argument-list__entry">
  438. <span class="phpdocumentor-signature__argument__name">$params</span>
  439. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  440. </dt>
  441. <dd class="phpdocumentor-argument-list__definition">
  442. <section class="phpdocumentor-description"><p>common module parameters</p>
  443. </section>
  444. </dd>
  445. </dl>
  446. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  447. Tags
  448. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  449. </h5>
  450. <dl class="phpdocumentor-tag-list">
  451. <dt class="phpdocumentor-tag-list__entry">
  452. <span class="phpdocumentor-tag__name">see</span>
  453. </dt>
  454. <dd class="phpdocumentor-tag-list__definition">
  455. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/module-parameters/"><abbr title="https://developers.whmcs.com/provisioning-modules/module-parameters/">https://developers.whmcs.com/provisioning-modules/module-parameters/</abbr></a></span>
  456. <section class="phpdocumentor-description"></section>
  457. </dd>
  458. </dl>
  459. </article>
  460. <article class="phpdocumentor-element -function - ">
  461. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_SuspendAccount">
  462. zimbraSingle_SuspendAccount()
  463. <a href="namespaces/default.html#function_zimbraSingle_SuspendAccount" class="headerlink"><i class="fas fa-link"></i></a>
  464. </h4>
  465. <aside class="phpdocumentor-element-found-in">
  466. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  467. :
  468. <span class="phpdocumentor-element-found-in__line">419</span>
  469. </aside>
  470. <p class="phpdocumentor-summary">Set a Zimbra account to status locked.</p>
  471. <code class="phpdocumentor-code phpdocumentor-signature ">
  472. <span class="phpdocumentor-signature__visibility"></span>
  473. <span class="phpdocumentor-signature__name">zimbraSingle_SuspendAccount</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  474. <section class="phpdocumentor-description"><p>Called when a suspension is requested. This is invoked automatically by WHMCS
  475. when a product becomes overdue on payment or can be called manually by admin
  476. user.</p>
  477. </section>
  478. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  479. <dl class="phpdocumentor-argument-list">
  480. <dt class="phpdocumentor-argument-list__entry">
  481. <span class="phpdocumentor-signature__argument__name">$params</span>
  482. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  483. </dt>
  484. <dd class="phpdocumentor-argument-list__definition">
  485. <section class="phpdocumentor-description"><p>common module parameters</p>
  486. </section>
  487. </dd>
  488. </dl>
  489. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  490. Tags
  491. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  492. </h5>
  493. <dl class="phpdocumentor-tag-list">
  494. <dt class="phpdocumentor-tag-list__entry">
  495. <span class="phpdocumentor-tag__name">see</span>
  496. </dt>
  497. <dd class="phpdocumentor-tag-list__definition">
  498. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/module-parameters/"><abbr title="https://developers.whmcs.com/provisioning-modules/module-parameters/">https://developers.whmcs.com/provisioning-modules/module-parameters/</abbr></a></span>
  499. <section class="phpdocumentor-description"></section>
  500. </dd>
  501. </dl>
  502. </article>
  503. <article class="phpdocumentor-element -function - ">
  504. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_UnsuspendAccount">
  505. zimbraSingle_UnsuspendAccount()
  506. <a href="namespaces/default.html#function_zimbraSingle_UnsuspendAccount" class="headerlink"><i class="fas fa-link"></i></a>
  507. </h4>
  508. <aside class="phpdocumentor-element-found-in">
  509. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  510. :
  511. <span class="phpdocumentor-element-found-in__line">461</span>
  512. </aside>
  513. <p class="phpdocumentor-summary">Set a Zimbra account to status active.</p>
  514. <code class="phpdocumentor-code phpdocumentor-signature ">
  515. <span class="phpdocumentor-signature__visibility"></span>
  516. <span class="phpdocumentor-signature__name">zimbraSingle_UnsuspendAccount</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  517. <section class="phpdocumentor-description"><p>Called when an un-suspension is requested. This is invoked
  518. automatically upon payment of an overdue invoice for a product, or
  519. can be called manually by admin user.</p>
  520. </section>
  521. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  522. <dl class="phpdocumentor-argument-list">
  523. <dt class="phpdocumentor-argument-list__entry">
  524. <span class="phpdocumentor-signature__argument__name">$params</span>
  525. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  526. </dt>
  527. <dd class="phpdocumentor-argument-list__definition">
  528. <section class="phpdocumentor-description"><p>common module parameters</p>
  529. </section>
  530. </dd>
  531. </dl>
  532. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  533. Tags
  534. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  535. </h5>
  536. <dl class="phpdocumentor-tag-list">
  537. <dt class="phpdocumentor-tag-list__entry">
  538. <span class="phpdocumentor-tag__name">see</span>
  539. </dt>
  540. <dd class="phpdocumentor-tag-list__definition">
  541. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/module-parameters/"><abbr title="https://developers.whmcs.com/provisioning-modules/module-parameters/">https://developers.whmcs.com/provisioning-modules/module-parameters/</abbr></a></span>
  542. <section class="phpdocumentor-description"></section>
  543. </dd>
  544. </dl>
  545. </article>
  546. <article class="phpdocumentor-element -function - ">
  547. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_TerminateAccount">
  548. zimbraSingle_TerminateAccount()
  549. <a href="namespaces/default.html#function_zimbraSingle_TerminateAccount" class="headerlink"><i class="fas fa-link"></i></a>
  550. </h4>
  551. <aside class="phpdocumentor-element-found-in">
  552. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  553. :
  554. <span class="phpdocumentor-element-found-in__line">502</span>
  555. </aside>
  556. <p class="phpdocumentor-summary">Removes a Zimbra account.</p>
  557. <code class="phpdocumentor-code phpdocumentor-signature ">
  558. <span class="phpdocumentor-signature__visibility"></span>
  559. <span class="phpdocumentor-signature__name">zimbraSingle_TerminateAccount</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  560. <section class="phpdocumentor-description"><p>Called when a termination is requested. This can be invoked automatically for
  561. overdue products if enabled, or requested manually by an admin user.</p>
  562. </section>
  563. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  564. <dl class="phpdocumentor-argument-list">
  565. <dt class="phpdocumentor-argument-list__entry">
  566. <span class="phpdocumentor-signature__argument__name">$params</span>
  567. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  568. </dt>
  569. <dd class="phpdocumentor-argument-list__definition">
  570. <section class="phpdocumentor-description"><p>common module parameters</p>
  571. </section>
  572. </dd>
  573. </dl>
  574. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  575. Tags
  576. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  577. </h5>
  578. <dl class="phpdocumentor-tag-list">
  579. <dt class="phpdocumentor-tag-list__entry">
  580. <span class="phpdocumentor-tag__name">see</span>
  581. </dt>
  582. <dd class="phpdocumentor-tag-list__definition">
  583. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/module-parameters/"><abbr title="https://developers.whmcs.com/provisioning-modules/module-parameters/">https://developers.whmcs.com/provisioning-modules/module-parameters/</abbr></a></span>
  584. <section class="phpdocumentor-description"></section>
  585. </dd>
  586. </dl>
  587. </article>
  588. <article class="phpdocumentor-element -function - ">
  589. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_ChangePackage">
  590. zimbraSingle_ChangePackage()
  591. <a href="namespaces/default.html#function_zimbraSingle_ChangePackage" class="headerlink"><i class="fas fa-link"></i></a>
  592. </h4>
  593. <aside class="phpdocumentor-element-found-in">
  594. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  595. :
  596. <span class="phpdocumentor-element-found-in__line">561</span>
  597. </aside>
  598. <p class="phpdocumentor-summary">Set a new class of service for a Zimbra account.</p>
  599. <code class="phpdocumentor-code phpdocumentor-signature ">
  600. <span class="phpdocumentor-signature__visibility"></span>
  601. <span class="phpdocumentor-signature__name">zimbraSingle_ChangePackage</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  602. <section class="phpdocumentor-description"><p>Called to apply a change of the class of service. It
  603. is called to provision upgrade or downgrade orders, as well as being
  604. able to be invoked manually by an admin user.</p>
  605. <p>This same function is called for upgrades and downgrades of both
  606. products and configurable options.</p>
  607. </section>
  608. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  609. <dl class="phpdocumentor-argument-list">
  610. <dt class="phpdocumentor-argument-list__entry">
  611. <span class="phpdocumentor-signature__argument__name">$params</span>
  612. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  613. </dt>
  614. <dd class="phpdocumentor-argument-list__definition">
  615. <section class="phpdocumentor-description"><p>common module parameters</p>
  616. </section>
  617. </dd>
  618. </dl>
  619. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  620. Tags
  621. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  622. </h5>
  623. <dl class="phpdocumentor-tag-list">
  624. <dt class="phpdocumentor-tag-list__entry">
  625. <span class="phpdocumentor-tag__name">see</span>
  626. </dt>
  627. <dd class="phpdocumentor-tag-list__definition">
  628. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/module-parameters/"><abbr title="https://developers.whmcs.com/provisioning-modules/module-parameters/">https://developers.whmcs.com/provisioning-modules/module-parameters/</abbr></a></span>
  629. <section class="phpdocumentor-description"></section>
  630. </dd>
  631. </dl>
  632. </article>
  633. <article class="phpdocumentor-element -function - ">
  634. <h4 class="phpdocumentor-element__name" id="function_zimbraSingle_ConfigOptions">
  635. zimbraSingle_ConfigOptions()
  636. <a href="namespaces/default.html#function_zimbraSingle_ConfigOptions" class="headerlink"><i class="fas fa-link"></i></a>
  637. </h4>
  638. <aside class="phpdocumentor-element-found-in">
  639. <abbr class="phpdocumentor-element-found-in__file" title="zimbraSingle.php"><a href="files/zimbrasingle.html"><abbr title="zimbraSingle.php">zimbraSingle.php</abbr></a></abbr>
  640. :
  641. <span class="phpdocumentor-element-found-in__line">600</span>
  642. </aside>
  643. <p class="phpdocumentor-summary">Define Zimbra product configuration options.</p>
  644. <code class="phpdocumentor-code phpdocumentor-signature ">
  645. <span class="phpdocumentor-signature__visibility"></span>
  646. <span class="phpdocumentor-signature__name">zimbraSingle_ConfigOptions</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  647. <section class="phpdocumentor-description"><p>Gather classes of service and available mail domains from the Zinbra server.
  648. Calls a function to create all necessary customfields for the order form using the selected values.</p>
  649. </section>
  650. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  651. <dl class="phpdocumentor-argument-list">
  652. <dt class="phpdocumentor-argument-list__entry">
  653. <span class="phpdocumentor-signature__argument__name">$params</span>
  654. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  655. </dt>
  656. <dd class="phpdocumentor-argument-list__definition">
  657. </dd>
  658. </dl>
  659. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  660. Tags
  661. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  662. </h5>
  663. <dl class="phpdocumentor-tag-list">
  664. <dt class="phpdocumentor-tag-list__entry">
  665. <span class="phpdocumentor-tag__name">see</span>
  666. </dt>
  667. <dd class="phpdocumentor-tag-list__definition">
  668. <span class="phpdocumentor-tag-link"><a href="https://developers.whmcs.com/provisioning-modules/config-options/"><abbr title="https://developers.whmcs.com/provisioning-modules/config-options/">https://developers.whmcs.com/provisioning-modules/config-options/</abbr></a></span>
  669. <section class="phpdocumentor-description"></section>
  670. </dd>
  671. </dl>
  672. </article>
  673. </section>
  674. </article>
  675. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  676. <section class="phpdocumentor-search-results__dialog">
  677. <header class="phpdocumentor-search-results__header">
  678. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  679. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  680. </header>
  681. <section class="phpdocumentor-search-results__body">
  682. <ul class="phpdocumentor-search-results__entries"></ul>
  683. </section>
  684. </section>
  685. </section>
  686. </div>
  687. </div>
  688. <a href="packages/Default.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  689. </main>
  690. <script>
  691. cssVars({});
  692. </script>
  693. </body>
  694. </html>