public static function getUser($user_id)
    {
        $sql = new Pluf_SQL('login=%s', array($user_id));
        return Pluf::factory('User')->getOne($sql->gen());
    }
public static function getUser($user_id)
    {
        $sql = new Pluf_SQL('login=%s', array($user_id));
        return Pluf::factory('User')->getOne($sql->gen());
    }
public static function getUser ( $ user_id ) { $ sql = new Pluf_SQL ( 'login=%s' , array ( $ user_id ) ) ; return Pluf :: factory ( 'User' ) -> getOne ( $ sql -> gen ( ) ) ; }
Given a user id, retrieve it.

Here we get the against the model database.
Given a user id retrieve it .