MySQL pab driver implementation (part 3)

This commit is contained in:
RainLoop Team 2013-12-03 04:08:42 +04:00
parent f1f7a84a3e
commit ad708be88a
8 changed files with 461 additions and 218 deletions

View file

@ -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();

View file

@ -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;