Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
TinyAuth
Auth
AuthUserTrait
id
TinyAuth\Auth\AuthUserTrait::id PHP 메소드
AuthUserTrait 2 문서
파일 보기
프로젝트 열기: dereuromark/cakephp-tinyauth
id()
공개
메소드
This can be used anywhere to check if a user is logged in.
public
id
( ) :
mixed
리턴
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