Property | Type | Description | |
---|---|---|---|
$timestamps |
Property | Type | Description | |
---|---|---|---|
$casts | |||
$dateFormat | |||
$dates | |||
$guarded | |||
$primaryKey | |||
$table |
Method | Description | |
---|---|---|
addPost ( $poster, $body ) | ||
cover ( ) | ||
createNew ( $forum, $params, $poll = null ) | ||
deleteWithDependencies ( ) | ||
featureVotes ( ) | ||
forum ( ) | ||
getPollStartAttribute ( $value ) | ||
isDoublePostBy ( |
||
isFeatureTopic ( ) | ||
isIssue ( ) | ||
isLocked ( ) | ||
isPinned ( ) | ||
issues ( ) | ||
lock ( $lock = true ) | ||
logs ( ) | ||
markRead ( $user, $markTime ) | ||
moveTo ( $destinationForum ) | ||
nthPost ( $n ) | ||
pin ( $pin ) | ||
poll ( $poll = null ) | ||
pollEnd ( ) | ||
pollOptions ( ) | ||
pollTitleHTML ( ) | ||
pollVotes ( ) | ||
postPosition ( $postId ) | ||
posts ( ) | ||
postsCount ( ) | ||
postsPosition ( $sortedPosts ) | ||
refreshCache ( ) | ||
removePost ( $post, $user = null ) | ||
scopeNormal ( $query ) | ||
scopePinned ( $query ) | ||
scopePresetSort ( $query, $sort ) | ||
scopeRecent ( $query, $params = null ) | ||
scopeWatchedByUser ( $query, $user ) | ||
scopeWithReplies ( $query, $withReplies ) | ||
setCover ( $path, $user ) | ||
setFirstPostCache ( ) | ||
setLastPostCache ( ) | ||
setPollTitleAttribute ( $value ) | ||
setPostsCountCache ( ) | ||
titleNormalized ( ) | ||
userTracks ( ) | ||
vote ( ) |