Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
TinyAuth
Auth
AuthUserTrait
id
TinyAuth\Auth\AuthUserTrait::id PHP Method
AuthUserTrait Trait Documentation
Exibir arquivo
Open project: dereuromark/cakephp-tinyauth
id()
public
method
This can be used anywhere to check if a user is logged in.
public
id
( ) :
mixed
return
mixed
User id if existent, null otherwise.
public function id() { $field = $this->config('idColumn'); return $this->user($field); }
AuthUserTrait
hasRole
hasRoles
id
isMe
roles
user