mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-05 06:22:52 +08:00
21 lines
412 B
PHP
21 lines
412 B
PHP
<?php
|
|
|
|
class ContactsExampleSuggestions implements \RainLoop\Providers\Suggestions\ISuggestions
|
|
{
|
|
/**
|
|
* @param \RainLoop\Model\Account $oAccount
|
|
* @param string $sQuery
|
|
* @param int $iLimit = 20
|
|
*
|
|
* @return array
|
|
*/
|
|
public function Process($oAccount, $sQuery, $iLimit = 20)
|
|
{
|
|
$aResult = array(
|
|
array($oAccount->Email(), ''),
|
|
array('email@domain.com', 'name')
|
|
);
|
|
|
|
return $aResult;
|
|
}
|
|
}
|