- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
private function loginSuccessHandler (e : LoginEvent) : void
{
...
if (this.loggedInUser != null)
{
this.applicationView.showLoggedInUserInfo("Welcome " + this.loggedInUser.email);
}
else
{
this.applicationView.showLoggedInUserInfo("No logged in user");
}
}
private function get loggedInUser () : User
{
return this.usersModel.loggedInUser;
}
private function get usersModel () : IUsersModel
{
return UsersModel.instance;
}
Комментарии (0) RSS
Добавить комментарий