<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
*
* @return \CRM_Mailing_MailStore_Localdir
*/
- function __construct($dir) {
+ public function __construct($dir) {
$this->_dir = $dir;
$this->_ignored = $this->maildir(implode(DIRECTORY_SEPARATOR, array('CiviMail.ignored', date('Y'), date('m'), date('d'))));
*
* @return array array of ezcMail objects
*/
- function fetchNext($count = 0) {
+ public function fetchNext($count = 0) {
$mails = array();
$path = rtrim($this->_dir, DIRECTORY_SEPARATOR);
* @throws Exception
* @return void
*/
- function markIgnored($file) {
+ public function markIgnored($file) {
if ($this->_debug) {
print "moving $file to ignored folder\n";
}
* @throws Exception
* @return void
*/
- function markProcessed($file) {
+ public function markProcessed($file) {
if ($this->_debug) {
print "moving $file to processed folder\n";
}
}
}
}
-