mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
v1.2.7.414
This commit is contained in:
parent
7eb31a6ef1
commit
5c1e7bc676
436 changed files with 502 additions and 393 deletions
|
|
@ -0,0 +1,108 @@
|
|||
<?php
|
||||
|
||||
namespace MailSo\Mail;
|
||||
|
||||
/**
|
||||
* @category MailSo
|
||||
* @package Mail
|
||||
*/
|
||||
class MessageCollection extends \MailSo\Base\Collection
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $FolderHash;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $MessageCount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $MessageUnseenCount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $MessageResultCount;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $FolderName;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $Search;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $UidNext;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $NewMessages;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $LastCollapsedThreadUids;
|
||||
|
||||
/**
|
||||
* @access protected
|
||||
*/
|
||||
protected function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->Clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \MailSo\Mail\MessageCollection
|
||||
*/
|
||||
public static function NewInstance()
|
||||
{
|
||||
return new self();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \MailSo\Mail\MessageCollection
|
||||
*/
|
||||
public function Clear()
|
||||
{
|
||||
parent::Clear();
|
||||
|
||||
$this->FolderHash = '';
|
||||
|
||||
$this->MessageCount = 0;
|
||||
$this->MessageUnseenCount = 0;
|
||||
$this->MessageResultCount = 0;
|
||||
|
||||
$this->FolderName = '';
|
||||
$this->Offset = 0;
|
||||
$this->Limit = 0;
|
||||
$this->Search = '';
|
||||
$this->UidNext = '';
|
||||
$this->NewMessages = array();
|
||||
|
||||
$this->LastCollapsedThreadUids = array();
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue