PHP Class app\models\BeatmapDiscussionPost

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
beatmapDiscussion ( )
beatmapsetDiscussion ( )
generateLogResolveChange ( $user, $resolved )
getMessageAttribute ( $value )
hasValidMessage ( )
isFirstPost ( )
isValid ( ) * Called before saving. Callback definition in App\Providers\AppServiceProviders.
restore ( )
scopeWithoutDeleted ( $query )
setMessageAttribute ( $value )
softDelete ( $deletedBy )
user ( )

Method Details

beatmapDiscussion() public method

public beatmapDiscussion ( )

beatmapsetDiscussion() public method

generateLogResolveChange() public static method

public static generateLogResolveChange ( $user, $resolved )

getMessageAttribute() public method

public getMessageAttribute ( $value )

hasValidMessage() public method

public hasValidMessage ( )

isFirstPost() public method

public isFirstPost ( )

isValid() public method

* Called before saving. Callback definition in App\Providers\AppServiceProviders.
public isValid ( )

restore() public method

public restore ( )

scopeWithoutDeleted() public method

public scopeWithoutDeleted ( $query )

setMessageAttribute() public method

public setMessageAttribute ( $value )

softDelete() public method

public softDelete ( $deletedBy )

user() public method

public user ( )

Property Details

$casts protected property

protected $casts

$dates protected property

protected $dates

$guarded protected property

protected $guarded

$touches protected property

protected $touches