PageRenderTime 54ms CodeModel.GetById 27ms RepoModel.GetById 1ms app.codeStats 0ms

/docs/class-Mandrill_Users.html

https://bitbucket.org/davisshaver/mandrill-api-php
HTML | 433 lines | 298 code | 135 blank | 0 comment | 0 complexity | 421441c41a2eb0fd699f2efda310e244 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="generator" content="ApiGen 2.8.0" />
  6. <title>Class Mandrill_Users</title>
  7. <script type="text/javascript" src="resources/combined.js?394153670"></script>
  8. <script type="text/javascript" src="elementlist.js?2926172792"></script>
  9. <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
  10. </head>
  11. <body>
  12. <div id="left">
  13. <div id="menu">
  14. <a href="index.html" title="Overview"><span>Overview</span></a>
  15. <div id="groups">
  16. <h3>Namespaces</h3>
  17. <ul>
  18. <li class="active"><a href="namespace-None.html">None</a>
  19. </li>
  20. <li><a href="namespace-PHP.html">PHP</a>
  21. </li>
  22. </ul>
  23. </div>
  24. <hr />
  25. <div id="elements">
  26. <h3>Classes</h3>
  27. <ul>
  28. <li><a href="class-Mandrill.html">Mandrill</a></li>
  29. <li><a href="class-Mandrill_Inbound.html">Mandrill_Inbound</a></li>
  30. <li><a href="class-Mandrill_Internal.html">Mandrill_Internal</a></li>
  31. <li><a href="class-Mandrill_Messages.html">Mandrill_Messages</a></li>
  32. <li><a href="class-Mandrill_Rejects.html">Mandrill_Rejects</a></li>
  33. <li><a href="class-Mandrill_Senders.html">Mandrill_Senders</a></li>
  34. <li><a href="class-Mandrill_Tags.html">Mandrill_Tags</a></li>
  35. <li><a href="class-Mandrill_Templates.html">Mandrill_Templates</a></li>
  36. <li><a href="class-Mandrill_Urls.html">Mandrill_Urls</a></li>
  37. <li class="active"><a href="class-Mandrill_Users.html">Mandrill_Users</a></li>
  38. <li><a href="class-Mandrill_Webhooks.html">Mandrill_Webhooks</a></li>
  39. <li><a href="class-Mandrill_Whitelists.html">Mandrill_Whitelists</a></li>
  40. </ul>
  41. <h3>Exceptions</h3>
  42. <ul>
  43. <li><a href="class-Mandrill_Error.html">Mandrill_Error</a></li>
  44. <li><a href="class-Mandrill_HttpError.html">Mandrill_HttpError</a></li>
  45. <li><a href="class-Mandrill_Invalid_Key.html">Mandrill_Invalid_Key</a></li>
  46. <li><a href="class-Mandrill_Invalid_Reject.html">Mandrill_Invalid_Reject</a></li>
  47. <li><a href="class-Mandrill_Invalid_Tag_Name.html">Mandrill_Invalid_Tag_Name</a></li>
  48. <li><a href="class-Mandrill_Invalid_Template.html">Mandrill_Invalid_Template</a></li>
  49. <li><a href="class-Mandrill_Unknown_InboundDomain.html">Mandrill_Unknown_InboundDomain</a></li>
  50. <li><a href="class-Mandrill_Unknown_Sender.html">Mandrill_Unknown_Sender</a></li>
  51. <li><a href="class-Mandrill_Unknown_Template.html">Mandrill_Unknown_Template</a></li>
  52. <li><a href="class-Mandrill_Unknown_Url.html">Mandrill_Unknown_Url</a></li>
  53. <li><a href="class-Mandrill_Unknown_Webhook.html">Mandrill_Unknown_Webhook</a></li>
  54. <li><a href="class-Mandrill_ValidationError.html">Mandrill_ValidationError</a></li>
  55. </ul>
  56. </div>
  57. </div>
  58. </div>
  59. <div id="splitter"></div>
  60. <div id="right">
  61. <div id="rightInner">
  62. <form id="search">
  63. <input type="hidden" name="cx" value="" />
  64. <input type="hidden" name="ie" value="UTF-8" />
  65. <input type="text" name="q" class="text" />
  66. <input type="submit" value="Search" />
  67. </form>
  68. <div id="navigation">
  69. <ul>
  70. <li>
  71. <a href="index.html" title="Overview"><span>Overview</span></a>
  72. </li>
  73. <li>
  74. <a href="namespace-None.html" title="Summary of None"><span>Namespace</span></a>
  75. </li>
  76. <li class="active">
  77. <span>Class</span> </li>
  78. </ul>
  79. <ul>
  80. <li>
  81. <a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
  82. </li>
  83. </ul>
  84. <ul>
  85. </ul>
  86. </div>
  87. <div id="content" class="class">
  88. <h1>Class Mandrill_Users</h1>
  89. <div class="info">
  90. <b>Located at</b> <a href="source-class-Mandrill_Users.html#3-128" title="Go to source code">Mandrill/Users.php</a><br />
  91. </div>
  92. <table class="summary" id="methods">
  93. <caption>Methods summary</caption>
  94. <tr data-order="__construct" id="___construct">
  95. <td class="attributes"><code>
  96. public
  97. </code>
  98. </td>
  99. <td class="name"><div>
  100. <a class="anchor" href="#___construct">#</a>
  101. <code><a href="source-class-Mandrill_Users.html#4-6" title="Go to source code">__construct</a>( <span><code><a href="class-Mandrill.html">Mandrill</a></code> <var>$master</var></span> )</code>
  102. <div class="description short">
  103. </div>
  104. <div class="description detailed hidden">
  105. </div>
  106. </div></td>
  107. </tr>
  108. <tr data-order="info" id="_info">
  109. <td class="attributes"><code>
  110. public
  111. struct
  112. </code>
  113. </td>
  114. <td class="name"><div>
  115. <a class="anchor" href="#_info">#</a>
  116. <code><a href="source-class-Mandrill_Users.html#8-88" title="Go to source code">info</a>( )</code>
  117. <div class="description short">
  118. <p>Return the information about the API-connected user</p>
  119. </div>
  120. <div class="description detailed hidden">
  121. <p>Return the information about the API-connected user</p>
  122. <h4>Returns</h4>
  123. <div class="list">
  124. <code>struct</code><br>the user information including username, key, reputation, quota, and historical
  125. sending stats - username string the username of the user (used for SMTP
  126. authentication) - created_at string the date and time that the user's Mandrill
  127. account was created as a UTC string in YYYY-MM-DD HH:MM:SS format - public_id
  128. string a unique, permanent identifier for this user - reputation integer the
  129. reputation of the user on a scale from 0 to 100, with 75 generally being a
  130. "good" reputation - hourly_quota integer the maximum number of emails Mandrill
  131. will deliver for this user each hour. Any emails beyond that will be accepted
  132. and queued for later delivery. Users with higher reputations will have higher
  133. hourly quotas - backlog integer the number of emails that are queued for
  134. delivery due to exceeding your monthly or hourly quotas - stats struct an
  135. aggregate summary of the account's sending stats - today struct stats for this
  136. user so far today - sent integer the number of emails sent for this user so far
  137. today - hard_bounces integer the number of emails hard bounced for this user so
  138. far today - soft_bounces integer the number of emails soft bounced for this user
  139. so far today - rejects integer the number of emails rejected for sending this
  140. user so far today - complaints integer the number of spam complaints for this
  141. user so far today - unsubs integer the number of unsubscribes for this user so
  142. far today - opens integer the number of times emails have been opened for this
  143. user so far today - unique_opens integer the number of unique opens for emails
  144. sent for this user so far today - clicks integer the number of URLs that have
  145. been clicked for this user so far today - unique_clicks integer the number of
  146. unique clicks for emails sent for this user so far today - last<sub>7</sub>_days
  147. struct stats for this user in the last 7 days - sent integer the number of
  148. emails sent for this user in the last 7 days - hard_bounces integer the number
  149. of emails hard bounced for this user in the last 7 days - soft_bounces integer
  150. the number of emails soft bounced for this user in the last 7 days - rejects
  151. integer the number of emails rejected for sending this user in the last 7 days -
  152. complaints integer the number of spam complaints for this user in the last 7
  153. days - unsubs integer the number of unsubscribes for this user in the last 7
  154. days - opens integer the number of times emails have been opened for this user
  155. in the last 7 days - unique_opens integer the number of unique opens for emails
  156. sent for this user in the last 7 days - clicks integer the number of URLs that
  157. have been clicked for this user in the last 7 days - unique_clicks integer the
  158. number of unique clicks for emails sent for this user in the last 7 days -
  159. last<sub>30</sub>_days struct stats for this user in the last 30 days - sent
  160. integer the number of emails sent for this user in the last 30 days -
  161. hard_bounces integer the number of emails hard bounced for this user in the last
  162. 30 days - soft_bounces integer the number of emails soft bounced for this user
  163. in the last 30 days - rejects integer the number of emails rejected for sending
  164. this user in the last 30 days - complaints integer the number of spam complaints
  165. for this user in the last 30 days - unsubs integer the number of unsubscribes
  166. for this user in the last 30 days - opens integer the number of times emails
  167. have been opened for this user in the last 30 days - unique_opens integer the
  168. number of unique opens for emails sent for this user in the last 30 days -
  169. clicks integer the number of URLs that have been clicked for this user in the
  170. last 30 days - unique_clicks integer the number of unique clicks for emails sent
  171. for this user in the last 30 days - last<sub>60</sub>_days struct stats for this
  172. user in the last 60 days - sent integer the number of emails sent for this user
  173. in the last 60 days - hard_bounces integer the number of emails hard bounced for
  174. this user in the last 60 days - soft_bounces integer the number of emails soft
  175. bounced for this user in the last 60 days - rejects integer the number of emails
  176. rejected for sending this user in the last 60 days - complaints integer the
  177. number of spam complaints for this user in the last 60 days - unsubs integer the
  178. number of unsubscribes for this user in the last 60 days - opens integer the
  179. number of times emails have been opened for this user in the last 60 days -
  180. unique_opens integer the number of unique opens for emails sent for this user in
  181. the last 60 days - clicks integer the number of URLs that have been clicked for
  182. this user in the last 60 days - unique_clicks integer the number of unique
  183. clicks for emails sent for this user in the last 60 days -
  184. last<sub>90</sub>_days struct stats for this user in the last 90 days - sent
  185. integer the number of emails sent for this user in the last 90 days -
  186. hard_bounces integer the number of emails hard bounced for this user in the last
  187. 90 days - soft_bounces integer the number of emails soft bounced for this user
  188. in the last 90 days - rejects integer the number of emails rejected for sending
  189. this user in the last 90 days - complaints integer the number of spam complaints
  190. for this user in the last 90 days - unsubs integer the number of unsubscribes
  191. for this user in the last 90 days - opens integer the number of times emails
  192. have been opened for this user in the last 90 days - unique_opens integer the
  193. number of unique opens for emails sent for this user in the last 90 days -
  194. clicks integer the number of URLs that have been clicked for this user in the
  195. last 90 days - unique_clicks integer the number of unique clicks for emails sent
  196. for this user in the last 90 days - all_time struct stats for the lifetime of
  197. the user's account - sent integer the number of emails sent in the lifetime of
  198. the user's account - hard_bounces integer the number of emails hard bounced in
  199. the lifetime of the user's account - soft_bounces integer the number of emails
  200. soft bounced in the lifetime of the user's account - rejects integer the number
  201. of emails rejected for sending this user so far today - complaints integer the
  202. number of spam complaints in the lifetime of the user's account - unsubs integer
  203. the number of unsubscribes in the lifetime of the user's account - opens integer
  204. the number of times emails have been opened in the lifetime of the user's
  205. account - unique_opens integer the number of unique opens for emails sent in the
  206. lifetime of the user's account - clicks integer the number of URLs that have
  207. been clicked in the lifetime of the user's account - unique_clicks integer the
  208. number of unique clicks for emails sent in the lifetime of the user's account<br />
  209. </div>
  210. </div>
  211. </div></td>
  212. </tr>
  213. <tr data-order="ping" id="_ping">
  214. <td class="attributes"><code>
  215. public
  216. string
  217. </code>
  218. </td>
  219. <td class="name"><div>
  220. <a class="anchor" href="#_ping">#</a>
  221. <code><a href="source-class-Mandrill_Users.html#90-97" title="Go to source code">ping</a>( )</code>
  222. <div class="description short">
  223. <p>Validate an API key and respond to a ping</p>
  224. </div>
  225. <div class="description detailed hidden">
  226. <p>Validate an API key and respond to a ping</p>
  227. <h4>Returns</h4>
  228. <div class="list">
  229. <code>string</code><br>the string "PONG!"<br />
  230. </div>
  231. </div>
  232. </div></td>
  233. </tr>
  234. <tr data-order="ping2" id="_ping2">
  235. <td class="attributes"><code>
  236. public
  237. struct
  238. </code>
  239. </td>
  240. <td class="name"><div>
  241. <a class="anchor" href="#_ping2">#</a>
  242. <code><a href="source-class-Mandrill_Users.html#99-106" title="Go to source code">ping2</a>( )</code>
  243. <div class="description short">
  244. <p>Validate an API key and respond to a ping (anal JSON parser version)</p>
  245. </div>
  246. <div class="description detailed hidden">
  247. <p>Validate an API key and respond to a ping (anal JSON parser version)</p>
  248. <h4>Returns</h4>
  249. <div class="list">
  250. <code>struct</code><br>a struct with one key "PING" with a static value "PONG!"<br />
  251. </div>
  252. </div>
  253. </div></td>
  254. </tr>
  255. <tr data-order="senders" id="_senders">
  256. <td class="attributes"><code>
  257. public
  258. array
  259. </code>
  260. </td>
  261. <td class="name"><div>
  262. <a class="anchor" href="#_senders">#</a>
  263. <code><a href="source-class-Mandrill_Users.html#108-126" title="Go to source code">senders</a>( )</code>
  264. <div class="description short">
  265. <p>Return the senders that have tried to use this account, both verified and
  266. unverified</p>
  267. </div>
  268. <div class="description detailed hidden">
  269. <p>Return the senders that have tried to use this account, both verified and
  270. unverified</p>
  271. <h4>Returns</h4>
  272. <div class="list">
  273. <code>array</code><br>an array of sender data, one for each sending addresses used by the account -
  274. return[] struct the information on each sending address in the account - address
  275. string the sender's email address - created_at string the date and time that the
  276. sender was first seen by Mandrill as a UTC date string in YYYY-MM-DD HH:MM:SS
  277. format - sent integer the total number of messages sent by this sender -
  278. hard_bounces integer the total number of hard bounces by messages by this sender
  279. - soft_bounces integer the total number of soft bounces by messages by this
  280. sender - rejects integer the total number of rejected messages by this sender -
  281. complaints integer the total number of spam complaints received for messages by
  282. this sender - unsubs integer the total number of unsubscribe requests received
  283. for messages by this sender - opens integer the total number of times messages
  284. by this sender have been opened - clicks integer the total number of times
  285. tracked URLs in messages by this sender have been clicked<br />
  286. </div>
  287. </div>
  288. </div></td>
  289. </tr>
  290. </table>
  291. </div>
  292. <div id="footer">
  293. API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
  294. </div>
  295. </div>
  296. </div>
  297. </body>
  298. </html>