PHP 클래스 app\models\Contest

상속: extends Illuminate\Database\Eloquent\Model
파일 보기 프로젝트 열기: ppy/osu-web 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$casts
$dates

공개 메소드들

메소드 설명
cachedVoteAggregates ( )
currentDescription ( )
currentPhaseDateRange ( )
currentPhaseEndDate ( )
defaultJson ( $user = null )
entries ( )
getEntryShapeAttribute ( )
isSubmissionOpen ( )
isVotingOpen ( )
isVotingStarted ( )
setEntryShapeAttribute ( $shape )
state ( )
userEntries ( $user = null )
vote ( User $user, ContestEntry $entry )
voteAggregates ( )
votes ( )
votesForUser ( $user = null )

메소드 상세

cachedVoteAggregates() 공개 메소드

currentDescription() 공개 메소드

public currentDescription ( )

currentPhaseDateRange() 공개 메소드

currentPhaseEndDate() 공개 메소드

public currentPhaseEndDate ( )

defaultJson() 공개 메소드

public defaultJson ( $user = null )

entries() 공개 메소드

public entries ( )

getEntryShapeAttribute() 공개 메소드

isSubmissionOpen() 공개 메소드

public isSubmissionOpen ( )

isVotingOpen() 공개 메소드

public isVotingOpen ( )

isVotingStarted() 공개 메소드

public isVotingStarted ( )

setEntryShapeAttribute() 공개 메소드

public setEntryShapeAttribute ( $shape )

state() 공개 메소드

public state ( )

userEntries() 공개 메소드

public userEntries ( $user = null )

vote() 공개 메소드

public vote ( User $user, ContestEntry $entry )
$user User
$entry ContestEntry

voteAggregates() 공개 메소드

public voteAggregates ( )

votes() 공개 메소드

public votes ( )

votesForUser() 공개 메소드

public votesForUser ( $user = null )

프로퍼티 상세

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

protected $casts

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

protected $dates