| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentCommunity\App\Models; |
| 4 |
|
| 5 |
/** |
| 6 |
* Space Model - DB Model for Individual Space |
| 7 |
* |
| 8 |
* Database Model |
| 9 |
* |
| 10 |
* @package FluentCrm\App\Models |
| 11 |
* |
| 12 |
* @version 1.1.0 |
| 13 |
*/ |
| 14 |
class Space extends BaseSpace |
| 15 |
{ |
| 16 |
protected static $type = 'community'; |
| 17 |
|
| 18 |
public function defaultSettings() |
| 19 |
{ |
| 20 |
return [ |
| 21 |
'restricted_post_only' => 'no', |
| 22 |
'verified_post_only' => 'no', // yes / no |
| 23 |
'emoji' => '', |
| 24 |
'shape_svg' => '', |
| 25 |
'custom_lock_screen' => 'no', |
| 26 |
'can_request_join' => 'no', |
| 27 |
'layout_style' => 'timeline', |
| 28 |
'disable_layout_style' => 'no', |
| 29 |
'show_sidebar' => 'yes', |
| 30 |
'show_paywalls' => 'no', |
| 31 |
'og_image' => '', |
| 32 |
'links' => [], |
| 33 |
'document_library' => 'no', |
| 34 |
'document_access' => 'members_only', |
| 35 |
'media_gallery' => 'no', |
| 36 |
'media_access' => 'members_only', |
| 37 |
'disable_post_sort_by' => 'no', |
| 38 |
'default_post_sort_by' => '', |
| 39 |
'default_comment_sort_by' => '', |
| 40 |
'document_upload' => 'admin_only', |
| 41 |
'topic_required' => 'no', |
| 42 |
'hide_members_count' => 'no', // yes / no |
| 43 |
'onboard_redirect_url' => '', |
| 44 |
'members_page_status' => 'members_only', // members_only, everybody, logged_in, admin_only |
| 45 |
]; |
| 46 |
} |
| 47 |
} |
| 48 |
|