# fluent-community/2.7.7/app/Models/Space.php

FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS &amp; Online Courses, version 2.7.7. 47 lines.

- Page: https://pluginprobe.com/plugins/fluent-community/2.7.7/code/app/Models/Space.php
- Raw: https://pluginprobe.com/plugins/fluent-community/2.7.7/raw/app/Models/Space.php
- Modified: 2026-07-08T15:52:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-community/2.7.7/code/app/Models/Space.php#L10-L20`.

```php
<?php

namespace FluentCommunity\App\Models;

/**
 *  Space Model - DB Model for Individual Space
 *
 *  Database Model
 *
 * @package FluentCrm\App\Models
 *
 * @version 1.1.0
 */
class Space extends BaseSpace
{
    protected static $type = 'community';

    public function defaultSettings()
    {
        return [
            'restricted_post_only'    => 'no',
            'emoji'                   => '',
            'shape_svg'               => '',
            'custom_lock_screen'      => 'no',
            'can_request_join'        => 'no',
            'layout_style'            => 'timeline',
            'disable_layout_style'    => 'no',
            'show_sidebar'            => 'yes',
            'show_paywalls'           => 'no',
            'og_image'                => '',
            'links'                   => [],
            'document_library'        => 'no',
            'document_access'         => 'members_only',
            'media_gallery'           => 'no',
            'media_access'            => 'members_only',
            'disable_post_sort_by'    => 'no',
            'default_post_sort_by'    => '',
            'default_comment_sort_by' => '',
            'document_upload'         => 'admin_only',
            'topic_required'          => 'no',
            'hide_members_count'      => 'no', // yes / no
            'onboard_redirect_url'    => '',
            'members_page_status'     => 'members_only', // members_only, everybody, logged_in, admin_only
        ];
    }
}

```
