src/Repository.php
public function readUser($id) {
        $model = $this->readObject($id, 'user');
        $model->url = $this->cfg->wwwroot;
        $model->fullname = $this->fullname($model);
        if (isset($model->password)){
             unset($model->password);
        }
        if (isset($model->secret)){
             unset($model->secret);
        }
        if (isset($model->lastip)){
             unset($model->lastip);
        }
        return $model;
    }
public function readUser($id) {
        $model = $this->readObject($id, 'user');
        $model->url = $this->cfg->wwwroot;
        $model->fullname = $this->fullname($model);
        if (isset($model->password)){
             unset($model->password);
        }
        if (isset($model->secret)){
             unset($model->secret);
        }
        if (isset($model->lastip)){
             unset($model->lastip);
        }
        return $model;
    }
Reads a user from the store with the given id.
@param String $id
@return PhpObj