Property | Type | Description | |
---|---|---|---|
$timestamps |
Property | Type | Description | |
---|---|---|---|
$casts | |||
$dateFormat | |||
$dates | |||
$guarded | |||
$primaryKey | |||
$table |
Method | Description | |
---|---|---|
allSubforums ( $forum_ids = null, $new_forum_ids = null ) | ||
category ( ) | ||
categoryId ( ) | ||
categorySlug ( ) | ||
cover ( ) | ||
currentDepth ( ) | ||
getForumParentsAttribute ( string $value ) : array | Returns array which keys are id of this forum's parents and values are their names and types. Sorted from topmost parent to immediate parent. | |
isFeatureForum ( ) | feature forum shall have extra features like sorting and voting | |
isOpen ( ) | ||
lastTopic ( $recursive = true ) | ||
parentForum ( ) | ||
refreshCache ( ) | ||
scopeMoveDestination ( $query ) | ||
setForumParentsAttribute ( $value ) | ||
setLastPostCache ( ) | ||
setPostsCountCache ( ) | ||
setTopicsCountCache ( ) | ||
subforums ( ) | ||
topics ( ) |
public getForumParentsAttribute ( string $value ) : array | ||
$value | string | |
return | array |
public isFeatureForum ( ) |