This commit is contained in:
Paula Quispe
2017-09-28 12:28:55 -04:00
committed by davidcallizaya
parent 69f26c6eee
commit 8ef2eb692d
2 changed files with 106 additions and 56 deletions

View File

@@ -110,6 +110,8 @@ class User
'PREF_DEFAULT_CASES_MENUSELECTED' => 'PM_EDIT_USER_PROFILE_DEFAULT_CASES_MENU_OPTIONS'
);
private $guestUser = '00000000000000000000000000000002';
/**
* Constructor of the class
*/
@@ -124,6 +126,16 @@ class User
}
}
/**
* This function get the guest user defined
*
* @return string guestUser, uid related to this user
*/
public function getGuestUser()
{
return $this->guestUser;
}
/**
* @return array
*/