PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 1.21
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v1.21
2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 1.45 All 41 releases
fluent-boards / app / Models / Team.php

Team.php in FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration 1.21, at app/Models/Team.php

30 lines 590 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentBoards\App\Models;
4
5 use FluentBoards\Framework\Database\Orm\Relations\BelongsTo;
6
7 class Team extends Model
8 {
9 protected $table = 'fbs_teams';
10
11 protected $guarded = ['id'];
12
13 public function setSettingsAttribute($settings)
14 {
15 $this->attributes['settings'] = \maybe_serialize($settings);
16 }
17
18 public function getSettingsAttribute($settings)
19 {
20 return \maybe_unserialize($settings);
21 }
22
23 /**
24 * @return BelongsTo
25 */
26 public function parent()
27 {
28 return $this->belongsTo(Team::class, 'parent_id');
29 }
30 }