snappymail/rainloop/v/0.0.0/app/libraries/MailSo/Mail/MessageCollection.php
RainLoop Team 4cc2207513 Uploading and preparing the repository to the dev version.
Original unminified source code (dev folder - js, css, less) (fixes #6)
Grunt build system
Multiple identities correction (fixes #9)
Compose html editor (fixes #12)
New general settings - Loading Description
New warning about default admin password
Split general and login screen settings
2013-11-16 02:21:12 +04:00

108 lines
1.3 KiB
PHP

<?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;
}
}