Smiling Souls

Steeped in the delicious tea like leaves of anthroposophy for the evolving soul.

Mail_IMAP::alerts()

bool alerts([bool $handler = TRUE[, str $separator = "
n"]])

Wrapper method for imap_alerts(). Gets the internal c-client alert stack.

If the $handler argument is TRUE, the c-client alert stack is iterated and trigger_error() is called for each alert, if $handler is FALSE, the c-client alert stack array is returned impoded, each alert separated by the characters specified in the $separator argument, which is an XHTML line break and newline character by default.

If no alerts are present in the c-client alert stack, Mail_IMAP::alerts() returns FALSE. If $handler is TRUE and alerts are present, Mail_IMAP::alerts() returns TRUE.

Method summary:

param bool $handler (optional) See above.
param str $separator (optional) See above.
return bool
access public
see imap_alerts()

Comments

There are no comments posted at this time.

Leave a Comment

Simple HTML is allowed: <code>, <b>, <i>, <u>, <var>, <strong>, <em>, <blockquote>, <ul>, <ol>, <li>, <p> (no attributes). All spacing and line breaks in your comment will be preserved.

* All comments are moderated and are subject to approval.
Your comment will appear once it has been approved.
Posting multiple times will not expedite the approval process.

Comments are closed at this time.

© Copyright 2014 Hot Toddy, All Rights Reserved.