*
* @return \CRM_Mailing_MailStore_Imap
*/
- function __construct($host, $username, $password, $ssl = TRUE, $folder = 'INBOX') {
+ public function __construct($host, $username, $password, $ssl = TRUE, $folder = 'INBOX') {
// default to INBOX if an empty string
if (!$folder) {
$folder = 'INBOX';
/**
* Expunge the messages marked for deletion, CRM-7356
*/
- function expunge() {
+ public function expunge() {
$this->_transport->expunge();
}
*
* @return void
*/
- function markIgnored($nr) {
+ public function markIgnored($nr) {
if ($this->_debug) {
print "setting $nr as seen and moving it to the ignored mailbox\n";
}
*
* @return void
*/
- function markProcessed($nr) {
+ public function markProcessed($nr) {
if ($this->_debug) {
print "setting $nr as seen and moving it to the processed mailbox\n";
}
$this->_transport->delete($nr);
}
}
-