Add transfer of smss

This commit is contained in:
osaajani 2020-01-08 14:14:40 +01:00
parent b42c2490ac
commit 31d2739ccb
4 changed files with 55 additions and 1 deletions

View file

@ -16,6 +16,17 @@ namespace models;
*/
class User extends \descartes\Model
{
/**
* Find a user by his id
* @param string $id : User id
* @return mixed array
*/
public function get ($id)
{
return $this->_select_one('user', ['id' => $id]);
}
/**
* Find a user using his email
* @param string $email : User email