mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Add transfer of smss
This commit is contained in:
parent
b42c2490ac
commit
31d2739ccb
4 changed files with 55 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue