X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/727459886e63cdaf938bc5bf6c5659e7525c852a..764dbe45b22d409208b2f7deb4c5c6c344dcb85a:/src/lib/Usuario.php?ds=sidebyside diff --git a/src/lib/Usuario.php b/src/lib/Usuario.php index 17fc236..bf18d9e 100644 --- a/src/lib/Usuario.php +++ b/src/lib/Usuario.php @@ -28,12 +28,14 @@ class Usuario var $_id; var $_nombre; var $_apellido; + var $_pass; var $_email; function Usuario($id) { $this->_id = $id; $d = file_users_get($id); + $this->_pass = $d[1]; $this->_email = $d[2]; if ($this->esAsesor()) $d = file_ase_get($id); else $d = file_int_get($id); @@ -46,6 +48,11 @@ class Usuario return $this->_id; } + function getPassword() + { + return $this->_pass; + } + function getNombre() { return $this->_nombre;