PHP 클래스 Phosphorum\Badges\Badge\Virtuoso

More than 5 accepted answers in specific categories
상속: extends Phosphorum\Badges\BadgeBase
파일 보기 프로젝트 열기: phalcon/forum

보호된 프로퍼티들

프로퍼티 타입 설명
$description
$name
$query

공개 메소드들

메소드 설명
add ( Users $user, array $extra = null ) Add the badge to the user
canHave ( Users $user ) : boolean Check whether the user can have the badge
getExpertQuery ( Users $user )
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

getExpertQuery() 공개 메소드

public getExpertQuery ( Users $user )
$user Phosphorum\Models\Users

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

$query 보호되어 있는 프로퍼티

protected $query