Toggle navigation
Hot Examples
RU
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
Показать файл
Открыть проект
Защищенные свойства (Protected)
Свойство
Тип
Описание
$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