PHP Class app\models\BeatmapDiscussion

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

Protected Properties

Property Type Description
$casts
$dates
$guarded
$touches

Public Methods

Method Description
beatmap ( )
beatmapDiscussionPosts ( )
beatmapDiscussionVotes ( )
beatmapset ( )
beatmapsetDiscussion ( )
getMessageTypeAttribute ( $value )
hasValidBeatmap ( )
hasValidMessageType ( )
hasValidTimestamp ( )
isValid ( ) * Called before saving. The callback definition is located in App\Providers\AppServiceProvider. Don't ask me why it's there; ask Laravel.
restore ( )
scopeWithoutDeleted ( $query )
setMessageTypeAttribute ( $value )
softDelete ( $deletedBy )
user ( )
vote ( $params )
votesSummary ( )

Method Details

beatmap() public method

public beatmap ( )

beatmapDiscussionPosts() public method

beatmapDiscussionVotes() public method

beatmapset() public method

public beatmapset ( )

beatmapsetDiscussion() public method

getMessageTypeAttribute() public method

public getMessageTypeAttribute ( $value )

hasValidBeatmap() public method

public hasValidBeatmap ( )

hasValidMessageType() public method

public hasValidMessageType ( )

hasValidTimestamp() public method

public hasValidTimestamp ( )

isValid() public method

* Called before saving. The callback definition is located in App\Providers\AppServiceProvider. Don't ask me why it's there; ask Laravel.
public isValid ( )

restore() public method

public restore ( )

scopeWithoutDeleted() public method

public scopeWithoutDeleted ( $query )

setMessageTypeAttribute() public method

public setMessageTypeAttribute ( $value )

softDelete() public method

public softDelete ( $deletedBy )

user() public method

public user ( )

vote() public method

public vote ( $params )

votesSummary() public method

public votesSummary ( )

Property Details

$casts protected property

protected $casts

$dates protected property

protected $dates

$guarded protected property

protected $guarded

$touches protected property

protected $touches