PHP Class app\models\Contest

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: ppy/osu-web Class Usage Examples

Protected Properties

Свойство Type Description
$casts
$dates

Méthodes publiques

Méthode Description
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 )

Method Details

cachedVoteAggregates() public méthode

currentDescription() public méthode

public currentDescription ( )

currentPhaseDateRange() public méthode

currentPhaseEndDate() public méthode

public currentPhaseEndDate ( )

defaultJson() public méthode

public defaultJson ( $user = null )

entries() public méthode

public entries ( )

getEntryShapeAttribute() public méthode

isSubmissionOpen() public méthode

public isSubmissionOpen ( )

isVotingOpen() public méthode

public isVotingOpen ( )

isVotingStarted() public méthode

public isVotingStarted ( )

setEntryShapeAttribute() public méthode

public setEntryShapeAttribute ( $shape )

state() public méthode

public state ( )

userEntries() public méthode

public userEntries ( $user = null )

vote() public méthode

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

voteAggregates() public méthode

public voteAggregates ( )

votes() public méthode

public votes ( )

votesForUser() public méthode

public votesForUser ( $user = null )

Property Details

$casts protected_oe property

protected $casts

$dates protected_oe property

protected $dates