docs/api/Opencart.System.Library.Cart.User.html
Class User
Located at system\library\cart\user.php
| Methods |
|---|
| ` |
public
` | `__construct(Registry $registry)`
Constructor
Constructor
| # | | `
public
` | `login(string $username, string $password): bool`
Login
Login
| # | | `
public
` | `logout(): void`
Logout
Logout
| # | | `
public
` | `hasPermission(string $key, string $value): bool`
hasPermission
hasPermission
| # | | `
public
` | `isLogged(): bool`
isLogged
isLogged
| # | | `
public
` | `getId(): int`
getId
getId
| # | | `
public
` | `getUserName(): string`
getUserName
getUserName
| # | | `
public
` | `getFirstName(): string`
getFirstName
getFirstName
| # | | `
public
` | `getLastName(): string`
getLastName
getLastName
| # | | `
public
` | `getEmail(): string`
getEmail
getEmail
| # | | `
public
` | `getGroupId(): int`
getGroupId
getGroupId
| # |
OpenCart API API documentation generated by ApiGen dev-master