Update received & scheduled

This commit is contained in:
osaajani 2019-11-12 17:37:20 +01:00
parent f609fc175f
commit 23892f5983
20 changed files with 338 additions and 142 deletions

View file

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