|
const | TABLE = Adherent::TABLE |
|
const | PK = 'login_adh' |
|
const | ACCESS_PUBLIC = -1 |
|
const | ACCESS_USER = 0 |
|
const | ACCESS_MANAGER = 1 |
|
const | ACCESS_STAFF = 2 |
|
const | ACCESS_ADMIN = 3 |
|
const | ACCESS_SUPERADMIN = 4 |
|
|
string | $login |
|
string | $name |
|
string | $surname |
|
bool | $admin = false |
|
int | $id |
|
string | $lang |
|
bool | $logged = false |
|
bool | $active = false |
|
bool | $superadmin = false |
|
bool | $staff = false |
|
bool | $uptodate = false |
|
array | $managed_groups = [] |
|
bool | $cron = false |
|
Default authentication class for galette
- Author
- Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be
◆ __construct()
Galette\Core\Login::__construct |
( |
Db |
$zdb, |
|
|
I18n |
$i18n |
|
) |
| |
Instanciate object
- Parameters
-
◆ impersonate()
Galette\Core\Login::impersonate |
( |
int |
$id | ) |
|
Impersonate user
- Parameters
-
- Returns
- bool
◆ isImpersonated()
Galette\Core\Login::isImpersonated |
( |
| ) |
|
Is impersonated
- Returns
- bool
◆ logAdmin()
Galette\Core\Login::logAdmin |
( |
string |
$login, |
|
|
Preferences |
$preferences |
|
) |
| |
◆ logCron()
Galette\Core\Login::logCron |
( |
string |
$name, |
|
|
Preferences |
$preferences |
|
) |
| |
◆ logIn()
Galette\Core\Login::logIn |
( |
string |
$user, |
|
|
string |
$passe |
|
) |
| |
◆ loginExists()
Galette\Core\Login::loginExists |
( |
string |
$user | ) |
|
◆ logOut()
Galette\Core\Login::logOut |
( |
| ) |
|
◆ setId()
Galette\Core\Login::setId |
( |
int |
$id | ) |
|
Set id
- Parameters
-
- Returns
- $this
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/galette-apidoc/checkouts/develop/galette/lib/Galette/Core/Login.php