X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/7efc4c45c53ccd8e0e39755403f94cfd7869a05c..bed250979ba669924aad62719f57ad49b5a3b339:/src/lib/Usuario.php?ds=inline diff --git a/src/lib/Usuario.php b/src/lib/Usuario.php index 43df6f9..6bf1142 100644 --- a/src/lib/Usuario.php +++ b/src/lib/Usuario.php @@ -22,15 +22,16 @@ require_once 'lib/file.users.php'; class Usuario { // Attributes - /** - * XXX - * @access public - */ var $_id; + var $nombre; + var $apellido; + var $email; function Usuario($id) { $this->_id = $id; + $u = file_users_get($id); + $this->email = $u[2]; } // Operations