mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +03:00
MySQL pab driver implementation (part 3)
This commit is contained in:
parent
f1f7a84a3e
commit
ad708be88a
8 changed files with 461 additions and 218 deletions
|
|
@ -14,16 +14,6 @@ class Contact
|
|||
*/
|
||||
public $IdUser;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $DisplayName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $DisplayEmail;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
|
@ -42,12 +32,7 @@ class Contact
|
|||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $Created;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $Updated;
|
||||
public $Changed;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
|
|
@ -68,11 +53,8 @@ class Contact
|
|||
{
|
||||
$this->IdContact = 0;
|
||||
$this->IdUser = 0;
|
||||
$this->DisplayName = '';
|
||||
$this->DisplayEmail = '';
|
||||
$this->DisplayInList = '';
|
||||
$this->Type = \RainLoop\Providers\PersonalAddressBook\Enumerations\ContactType::DEFAULT_;
|
||||
$this->IsShare = false;
|
||||
$this->CanBeChanged = false;
|
||||
$this->Changed = \time();
|
||||
$this->TagsIds = array();
|
||||
|
|
|
|||
|
|
@ -6,6 +6,11 @@ use RainLoop\Providers\PersonalAddressBook\Enumerations\PropertyType;
|
|||
|
||||
class Property
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $IdProperty;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
@ -48,6 +53,7 @@ class Property
|
|||
|
||||
public function Clear()
|
||||
{
|
||||
$this->IdProperty = 0;
|
||||
$this->IdContact = 0;
|
||||
$this->IdUser = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue