mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Update received & scheduled
This commit is contained in:
parent
f609fc175f
commit
23892f5983
20 changed files with 338 additions and 142 deletions
|
@ -64,6 +64,19 @@ namespace controllers\internals;
|
|||
//Recupération des contactes
|
||||
return $this->model_contact->get_by_number($number);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 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)
|
||||
{
|
||||
//Recupération des contactes
|
||||
return $this->model_contact->get_by_number_and_user($number, $id_user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Cette fonction retourne un contact par son name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue