PHP Class app\models\Contest

Inheritance: extends Illuminate\Database\Eloquent\Model
Datei anzeigen Open project: ppy/osu-web Class Usage Examples

Protected Properties

Property Type Description
$casts
$dates

Public Methods

Method 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 method

currentDescription() public method

public currentDescription ( )

currentPhaseDateRange() public method

currentPhaseEndDate() public method

public currentPhaseEndDate ( )

defaultJson() public method

public defaultJson ( $user = null )

entries() public method

public entries ( )

getEntryShapeAttribute() public method

isSubmissionOpen() public method

public isSubmissionOpen ( )

isVotingOpen() public method

public isVotingOpen ( )

isVotingStarted() public method

public isVotingStarted ( )

setEntryShapeAttribute() public method

public setEntryShapeAttribute ( $shape )

state() public method

public state ( )

userEntries() public method

public userEntries ( $user = null )

vote() public method

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

voteAggregates() public method

public voteAggregates ( )

votes() public method

public votes ( )

votesForUser() public method

public votesForUser ( $user = null )

Property Details

$casts protected_oe property

protected $casts

$dates protected_oe property

protected $dates