mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 06:46:25 +02:00
Update received & scheduled
This commit is contained in:
parent
f609fc175f
commit
23892f5983
20 changed files with 338 additions and 142 deletions
|
@ -43,6 +43,17 @@ namespace models;
|
|||
|
||||
return isset($contacts[0]) ? $contacts[0] : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a contact for a user by a number
|
||||
* @param int $id_user : user id
|
||||
* @param string $number : Contact number
|
||||
* @return array
|
||||
*/
|
||||
public function get_by_number_and_user($number, $id_user)
|
||||
{
|
||||
return $this->_select_one('contact', ['number' => $number, 'id_user' => $id_user]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retourne une entrée par son numéro de tel.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue