Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Phosphorum
Badges
Badge
FamousQuestion
PHP 클래스 Phosphorum\Badges\Badge\FamousQuestion
Asked a question with more than 10000 views
상속:
extends
Phosphorum\Badges\BadgeBase
파일 보기
프로젝트 열기: phalcon/forum
보호된 프로퍼티들
프로퍼티
타입
설명
$description
$name
공개 메소드들
메소드
설명
add
(
Users
$user
,
array
$extra
= null )
Add the badge to the user
canHave
(
Users
$user
) :
boolean
Check whether the user can have the badge
has
(
Users
$user
) :
boolean
Check whether the user already have this badge
메소드 상세
add()
공개
메소드
Add the badge to the user
public
add
(
Users
$user
,
array
$extra
= null )
$user
Phosphorum\Models\Users
$extra
array
canHave()
공개
메소드
Check whether the user can have the badge
public
canHave
(
Users
$user
) :
boolean
$user
Phosphorum\Models\Users
리턴
boolean
has()
공개
메소드
Check whether the user already have this badge
public
has
(
Users
$user
) :
boolean
$user
Phosphorum\Models\Users
리턴
boolean
프로퍼티 상세
$description
보호되어 있는 프로퍼티
protected
$description
$name
보호되어 있는 프로퍼티
protected
$name