PHP 클래스 App\Models\Forum\Post

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

공개 프로퍼티들

프로퍼티 타입 설명
$timestamps

보호된 프로퍼티들

프로퍼티 타입 설명
$casts
$dateFormat
$dates
$guarded
$primaryKey
$table

공개 메소드들

메소드 설명
edit ( $body, $user )
forum ( )
getBodyHTMLAttribute ( )
getBodyRawAttribute ( )
getPostPositionAttribute ( )
lastEditor ( )
lastEditorNormalized ( )
lastUnreadByUser ( $topic, $user )
normalizeUser ( $user )
scopeLast ( $query )
setPostTextAttribute ( $value )
topic ( )
user ( )
userNormalized ( )

메소드 상세

edit() 공개 메소드

public edit ( $body, $user )

forum() 공개 메소드

public forum ( )

getBodyHTMLAttribute() 공개 메소드

getBodyRawAttribute() 공개 메소드

public getBodyRawAttribute ( )

getPostPositionAttribute() 공개 메소드

lastEditor() 공개 메소드

public lastEditor ( )

lastEditorNormalized() 공개 메소드

lastUnreadByUser() 공개 정적인 메소드

public static lastUnreadByUser ( $topic, $user )

normalizeUser() 공개 메소드

public normalizeUser ( $user )

scopeLast() 공개 메소드

public scopeLast ( $query )

setPostTextAttribute() 공개 메소드

public setPostTextAttribute ( $value )

topic() 공개 메소드

public topic ( )

user() 공개 메소드

public user ( )

userNormalized() 공개 메소드

public userNormalized ( )

프로퍼티 상세

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

protected $casts

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

protected $dateFormat

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

protected $dates

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

protected $guarded

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

protected $primaryKey

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

protected $table

$timestamps 공개적으로 프로퍼티

public $timestamps