mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-06 14:04:24 +08:00
4cc2207513
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
68 lines
No EOL
1.4 KiB
PHP
68 lines
No EOL
1.4 KiB
PHP
<?php
|
|
|
|
namespace RainLoop\Providers\Contacts;
|
|
|
|
interface ContactsInterface
|
|
{
|
|
/**
|
|
* @param \RainLoop\Account $oAccount
|
|
* @param int $iIdContact
|
|
*
|
|
* @return $oContact|null
|
|
*/
|
|
public function GetContactById($oAccount, $iIdContact);
|
|
|
|
/**
|
|
* @param \RainLoop\Account $oAccount
|
|
* @param int $iOffset = 0
|
|
* @param int $iLimit = 20
|
|
* @param string $sSearch = ''
|
|
*
|
|
* @return array
|
|
*/
|
|
public function GetContacts($oAccount, $iOffset = 0, $iLimit = 20, $sSearch = '');
|
|
|
|
/**
|
|
* @param \RainLoop\Account $oAccount
|
|
*
|
|
* @return array
|
|
*/
|
|
public function GetContactsImageHashes($oAccount);
|
|
|
|
/**
|
|
* @param \RainLoop\Account $oAccount
|
|
* @param \RainLoop\Providers\Contacts\Classes\Contact $oContact
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function CreateContact($oAccount, &$oContact);
|
|
|
|
/**
|
|
* @param \RainLoop\Account $oAccount
|
|
* @param \RainLoop\Providers\Contacts\Classes\Contact $oContact
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function UpdateContact($oAccount, &$oContact);
|
|
|
|
/**
|
|
* @param \RainLoop\Account $oAccount
|
|
* @param array $aContactIds
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function DeleteContacts($oAccount, $aContactIds);
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function IsSupported();
|
|
|
|
/**
|
|
* @param \RainLoop\Account $oAccount
|
|
* @param array $aContactIds
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function IncFrec($oAccount, $aContactIds);
|
|
} |